Login into the Offline PC as:
User = online
Password = beamtest
Download data from SLAC:
- go tohttps://confluence.slac.stanford.edu/display/BeamTest/Home(SLAC confluence page)
- go into "Operations" part of the page, and click into Data Monitoring
- click on GetDataof the required RUN
- from the Root Files column save the merit and svac ntuples
- click on merit/svacwith the right button of the mouse and save the files in:
/home/online/OfflineMonitor/data/slac/standard_name_merit.root
_svac.root
(recon-v1r030603p4_700000684_merit_merit.root and
svacTuple-v1r030603p4_700000684_svac_svac.root)
- go back to the confluence page, go down in the Data Analysis part, in the
line Data Access click on Summary of Run Types to get for the given run numer:
Energy (in MeV)
Particle type (01=electron, 02=positrons, 03=pi-, 04=pi+, 06=protons, 00=tagged gammas)
x position (in mm only the integer part)
theta (in deg)
magnetic field (not available at the moment)
Creates a link to the downloaded data with the correct name:
Go to the directory
- /home/online/OfflineMonitor/data
- creates the link:
ln --s slac/recon-v1r030603p4_700000684_merit_merit.root "new file name_merit.root"
ln --s slac/svacTuple-v1r030603p4_700000684_svac_svac.root "new file name_BTtuple.root"
new file name is:
runnumber(5 digits)energy(6 digits)theta(2 digits)particle type(2 digits)magnetic filed(3 digits)xposition(3 digits)
Example for the run downloaded (700000684):
706840010000001000120
The link will be:
ln --s slac/recon-v1r030603p4_700000684_merit_merit.root 706840010000001000120_merit.root
ln --s slac/svacTuple-v1r030603p4_700000684_svac_svac.root 706840010000001000120_BTtuple.root
Open the file RunIi.C in /home/online/OfflineMonitor/
and put the encrypted name as
main("706840010000001000120");
run the macro
root > .x RunIt.C
at the beginning check the output messages in the root window
run numer, energy, angle .... number of events in the file merit
It will open a ghostview window showing results:
- if MC data for that run configuration exist, histograms are compared to the corresponding MC
- otherwise only data distributions are shown
Results are saved in output/Histos.........
output/Report...........