Difference between revisions of "Analysis How-to"
From HallCWiki
Jump to navigationJump to search (New page: == Short Analysis Instructions == ssh cdaq@cdaql1 # connect to analysis machine go_kpp # sources environment and goes to correct folder ./run_hms.sh # runs short HMS ...) |
|||
Line 1: | Line 1: | ||
== Short Analysis Instructions == | == Short Analysis Instructions == | ||
− | ssh cdaq@cdaql1 # connect to analysis machine | + | $ ssh cdaq@cdaql1 # connect to the online analysis machine |
− | go_kpp # sources environment and goes to correct folder | + | $ go_kpp # sources environment and goes to correct folder |
− | ./run_hms.sh # runs short HMS online analysis of the latest run | + | $ ./run_hms.sh # runs short HMS online analysis of the latest run and opens onlineGUI |
− | ./run_shms.sh # runs short SHMS online analysis of the latest run | + | $ ./run_shms.sh # runs short SHMS online analysis of the latest run and opens onlineGUI |
+ | == Detailed Analysis Instructions == | ||
+ | |||
+ | * Connect to the online analysis machine: | ||
+ | $ ssh cdaq@cdaql1 | ||
+ | |||
+ | * Source environment and go to analysis folder: | ||
+ | $ cd hallc-online/hcana | ||
+ | $ source setup.csh | ||
+ | $ cd ../hallc_replay | ||
+ | $ source setup.csh | ||
+ | |||
+ | * Run HMS analysis: | ||
+ | ** -q : exit analyzer after running | ||
+ | ** <runNum> : run number | ||
+ | ** <numEvents> : number of events to analyze; 50000 for short, -1 for full replay | ||
+ | $ ./hcana -q "SCRIPTS/HMS/replay_hms.C(<runNum>, <numEvents>)" | ||
+ | |||
+ | * Run SHMS analysis: | ||
+ | ** -q : exit analyzer after running | ||
+ | ** <runNum> : run number | ||
+ | ** <numEvents> : number of events to analyze; 50000 for short, -1 for full replay | ||
+ | $ ./hcana -q "SCRIPTS/SHMS/replay_shms.C(<runNum>, <numEvents>)" | ||
+ | |||
+ | * Open HMS onlineGUI: | ||
+ | ** -f : which config file to load | ||
+ | ** -r : which run to display | ||
+ | ** <runNum> : run number | ||
+ | $ cd onlineGUI | ||
+ | $ ./online -f Config/HMS/GEN/hallc_onlana.cfg -r <runNum> | ||
+ | $ cd .. | ||
+ | |||
+ | * Open SHMS onlineGUI: | ||
+ | ** -f : which config file to load | ||
+ | ** -r : which run to display | ||
+ | ** <runNum> : run number | ||
+ | $ cd onlineGUI | ||
+ | $ ./online -f Config/SHMS/GEN/hallc_onlana.cfg -r <runNum> | ||
+ | $ cd .. | ||
== Detailed Analysis Instructions == | == Detailed Analysis Instructions == | ||
fixme | fixme |
Revision as of 13:53, 3 March 2017
Short Analysis Instructions
$ ssh cdaq@cdaql1 # connect to the online analysis machine $ go_kpp # sources environment and goes to correct folder $ ./run_hms.sh # runs short HMS online analysis of the latest run and opens onlineGUI $ ./run_shms.sh # runs short SHMS online analysis of the latest run and opens onlineGUI
Detailed Analysis Instructions
- Connect to the online analysis machine:
$ ssh cdaq@cdaql1
- Source environment and go to analysis folder:
$ cd hallc-online/hcana $ source setup.csh $ cd ../hallc_replay $ source setup.csh
- Run HMS analysis:
- -q : exit analyzer after running
- <runNum> : run number
- <numEvents> : number of events to analyze; 50000 for short, -1 for full replay
$ ./hcana -q "SCRIPTS/HMS/replay_hms.C(<runNum>, <numEvents>)"
- Run SHMS analysis:
- -q : exit analyzer after running
- <runNum> : run number
- <numEvents> : number of events to analyze; 50000 for short, -1 for full replay
$ ./hcana -q "SCRIPTS/SHMS/replay_shms.C(<runNum>, <numEvents>)"
- Open HMS onlineGUI:
- -f : which config file to load
- -r : which run to display
- <runNum> : run number
$ cd onlineGUI $ ./online -f Config/HMS/GEN/hallc_onlana.cfg -r <runNum> $ cd ..
- Open SHMS onlineGUI:
- -f : which config file to load
- -r : which run to display
- <runNum> : run number
$ cd onlineGUI $ ./online -f Config/SHMS/GEN/hallc_onlana.cfg -r <runNum> $ cd ..
Detailed Analysis Instructions
fixme