Difference between revisions of "Analysis How-to"
From HallCWiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
+ | |||
+ | |||
== Short Analysis Instructions == | == Short Analysis Instructions == | ||
Line 6: | Line 8: | ||
* Source environment and go to analysis folder: | * Source environment and go to analysis folder: | ||
$ go_analysis | $ go_analysis | ||
+ | |||
+ | * Check if the kinematics for the run are up to date | ||
+ | $ emacs DBASE/HMS/STD/standard.kinematics | ||
+ | |||
+ | If | ||
* Run online analysis after 50k events have been collected | * Run online analysis after 50k events have been collected |
Revision as of 01:10, 13 January 2018
Short Analysis Instructions
- Connect to online analysis machine:
$ ssh cdaq@cdaql1
- Source environment and go to analysis folder:
$ go_analysis
- Check if the kinematics for the run are up to date
$ emacs DBASE/HMS/STD/standard.kinematics
If
- Run online analysis after 50k events have been collected
- Run online analysis:
- onlineGUI will pop-up automatically
- <runNum> : run number; will analyze last run if omitted
$ ./run_hms.sh <runNum> $ ./run_shms.sh <runNum>
- Run full online analysis after the run has been completed
- Run full analysis:
- A `pdf` and `root` file will be saved under `HISTOGRAMS`
- <runNum> : run number; will analyze last run if omitted
$ ./full_hms.sh <runNum> $ ./full_shms.sh <runNum>
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/PRODUCTION/replay_production_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/PRODUCTION/replay_production_shms.C(<runNum>, <numEvents>)"
- Open HMS onlineGUI:
- need to run HMS analysis for 50000 events before this
- -f : which config file to load
- -r : which run to display
- <runNum> : run number
$ cd onlineGUI $ ./online -f CONFIG/HMS/PRODUCTION/hms_production.cfg -r <runNum> $ cd ..
- Open SHMS onlineGUI:
- need to run SHMS analysis for 50000 events before this
- -f : which config file to load
- -r : which run to display
- <runNum> : run number
$ cd onlineGUI $ ./online -f CONFIG/SHMS/PRODUCTION/shms_production.cfg -r <runNum> $ cd ..