![]() |
eventAnalysis
7.0-49-g0ac7482
|
Running Analyses
The RunEventAnalysis.exe executable runs the default modules when invoked with a Recon filename and an -o outputfile.root option. RunEventAnalysis.exe –help gives the following help options:
Documentation for the individual modules is available: ND::TBasicHeaderModule, ND::TTruthVerticesModule, ND::TTruthTrajectoriesModule, ND::TP0DReconModule, ND::TTrackerECALReconModule, ND::TTrackerReconModule
Output
Each module will create a separate tree, in directories representing the type of information they contain. The above example would create a file with trees as follows:
Directory Tree //HeaderDir Header //TruthDir Vertices //TruthDir Trajectories //ReconDir P0D //ReconDir Tracker //ReconDir TrackerECAL
The tree names come from the Name of the module (as in TNamed::fName).
The modules themselves are also saved, in the directory //TruthDir/Modules
and so on.
Adding Modules
Writing modules is a rather specialised topic, for experts of the information being distilled, so please feel free to talk to me Yoshi .Uch ida@i mper ial.a c.uk
, and I can help you get started.
If working on your own, it is best to start by copying the files TTruthVerticesModule.cxx, TTruthVerticesModule.hxx and TTruthVerticesModule_LinkDef.h, renaming them, and changing all occurrences of the class name.