Online monitor (works offline, for RAW data in $HARPO_DATA_DIR
)
$ monitorRun.sh RUNNO
Data reconstruction for cosmic rays:
$ $HARPO_SCRIPT_DIR/processRun.sh -r RUNNO -n NEVTS -c
Data reconstruction for beam:
$ $HARPO_SCRIPT_DIR/processRun.sh -r RUNNO -n NEVTS -b
Check the data with:
$ hrecomonitor $HARPO_RECO_DIR/runRUNNO_reco.root
Simulation of cosmic rays:
$ $HARPO_SCRIPT_DIR/runSim.sh -r RUNNO -n NEVTS -c
Check the data with:
$ hrecomonitor $HARPO_SIM_DIR/runCosmicsRUNNO_reco.root
Simulation of from list of pairs (e.g. /net/llrdata1.in2p3.fr/data/DATA/data.harpo/2012/Sim/nuclvgff11p100e5.root
):
$ $HARPO_SCRIPT_DIR/runSim.sh -r RUNNO -n NEVTS -f FILENAME
Check the data with:
$ hrecomonitor $HARPO_SIM_DIR/FILENAME_reco.root
In summary, on the examples of cosmic run 2008, beam run 1279:
monitorRun.sh 2008 $HARPO_SCRIPT_DIR/processRun.sh -r 2008 -n 10 -c hrecomonitor $HARPO_RECO_DIR/run2008_reco.root $HARPO_SCRIPT_DIR/processRun.sh -r 1279 -n 10 -b hrecomonitor $HARPO_RECO_DIR/run1279_reco.root $HARPO_SCRIPT_DIR/runSim.sh -r 10000 -n 10 -R 10 -c hrecomonitor $HARPO_SIM_DIR/runCosmics10000_reco.root $HARPO_SCRIPT_DIR/runSim.sh -r 10001 -n 10 -R 10 -f /net/llrdata1.in2p3.fr/data/DATA/data.harpo/2012/Sim/nuclvgff11p100e5.root hrecomonitor $HARPO_SIM_DIR/nuclvgff11p100e5_reco.root
To check if your installation is correct, you can run the example (HarpoAnalyseTemplate
) with:
On RAW data (if the environment variable HARPO_DATA_DIR
points to a directory containing the RAW data)
$ $HARPO_SCRIPT_DIR/runRawData.sh harpoanalysis -a HarpoAnalyseTemplate RUNNO -c HarpoReconstruction.cfg
On ROOT data:
$ harpoanalysis -a HarpoAnalyseTemplate --root -c HarpoReconstruction.cfg runRUNNO_raw.root
You can save RAW data in a ROOT file
$ runRawData.sh harpoanalysis -a HarpoAnalyseWriter RUNNO -o runRUNNO_raw.root
We have a MySQL database containing run information. It can be accessed through the RunConfig
class.
The macro harpoGetRunList
can provide a list of runs satisfying some conditions described with MySQL syntax:
$ harpoGetRunList "Ephoton = 72" 1262 1263 1264 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287