![]() |
eventAnalysis
7.0-49-g0ac7482
|
The eventAnalysis module responsible for saving information about the True Particles in an event from MC. More...
#include <TTruthTrajectoriesModule.hxx>
Classes | |
class | TTruthTrajectory |
Contains the truth information associated with a particle from Monte Carlo simulations. More... | |
class | TTruthTrajectoryPoint |
Contains the truth information for points along the particle trajectories generated during Monte Carlo simulations. More... | |
Public Member Functions | |
TTruthTrajectoriesModule (const char *name="Trajectories", const char *title="True Trajectory information") | |
virtual | ~TTruthTrajectoriesModule () |
virtual Bool_t | Configure (std::string &option) |
Method for setting behaviour of module. More... | |
virtual void | FillConfigTree (TTree *) |
virtual bool | FillTree (ND::TND280Event &) |
Called for each event, this method is the master method for retrieving and filling the Truth Trajectories information. More... | |
Int_t | GetBufferSize () |
ROOT output parameters, usually no need to touch. More... | |
std::string const | GetCVSID () const |
std::string const | GetCVSTagName () const |
std::string const | GetDescription () const |
std::string const | GetDirectoryName () const |
Returns the name of the directory which the output of a particular module will be saved in. More... | |
Int_t | GetMaximumNumberTrajectoriesPerEvent () const |
Getter for maximum number of trajectories saveable per event. More... | |
Double_t | GetMinimumTrajectoryLengthToSave () const |
Getter for trajectory length save condition. More... | |
char const * | GetName () |
TTree const * | GetOutputTree () const |
The output tree. More... | |
Int_t | GetSplitLevel () |
ROOT output parameters, usually no need to touch. More... | |
char const * | GetTitle () |
virtual EType | GetTreeType () const |
Returns the type of tree, header, truth, or recon. More... | |
void | Initialize (TTree *tree) |
virtual void | InitializeBranches () |
Creates the necessary tree and branches for saving the Truth Trajectories information. More... | |
virtual Bool_t | IsEnabled () const |
Whether the module is enable or not. More... | |
virtual Bool_t | IsEnabledByDefault () const |
This method returns true - the module is always enabled by defult. More... | |
virtual bool | IsFullEventWorthSaving (ND::TND280Event &event) |
Whether the module thinks it is worth saving the entire oaEvent event tree entry for this event. More... | |
virtual Bool_t | IsUsedForPreselection () const |
Whether the module should call IsFullEventWorthSaving() function for each event, to decide if the full oaEvent info for that event should be saved in the output. More... | |
void | KillOutputTree () |
virtual void | Print () |
Prints a simple message describing the module. More... | |
virtual bool | Process (ND::TND280Event &event) |
Gets the run and event IDs and calls FillTree with the event, and then actually calls fOutputTree->Fill. More... | |
virtual Bool_t | ProcessFirstEvent (ND::TND280Event &) |
Called for the first event This method checks whether this event is a real-data event an if so throws an ND::EDataFile(). More... | |
virtual void | SayAvailableOpts (std::string indent="") |
Subclasses should override this to let a user know what options are available. More... | |
void | SetBufferSize (Int_t buffersize) |
ROOT output parameters, usually no need to touch. More... | |
virtual void | SetDisabled () |
Disables the module. More... | |
virtual void | SetEnabled (Bool_t isenabled=true) |
Sets whether the module is enabled. More... | |
void | SetInputDirectory (std::string dir) |
void | SetMaximumNumberTrajectoriesPerEvent (UInt_t n) |
Setter for maximum number of trajectories saveable per event. More... | |
void | SetMinimumTrajectoryLengthToSave (Double_t mm) |
Getter for trajectory length save condition. [mm]. More... | |
void | SetNameTitle (char const *name, char const *title) |
void | SetSaveOnlyP0DTrackerECALTrajectories (const Bool_t &yesorno=true) |
Controls whether just P0D/Tracker/ECal trajectories should be saved. More... | |
void | SetSaveParentChain (const Bool_t &yesorno=true) |
Controls whether a trajectory that would ordinarily be saved will also save all its parent trajectories. More... | |
void | SetSplitLevel (Int_t splitlevel) |
ROOT output parameters, usually no need to touch. More... | |
virtual void | SetUsedForPreselection (Bool_t isused=true) |
Sets whether the module should call IsFullEventWorthSaving() function for each event, to decide if the full oaEvent info for that event should be saved in the output. More... | |
Public Attributes | |
Int_t | fNTraj |
Total number of trajectories saved from the event. More... | |
Int_t | fNTrajBaryon |
Number of Charged Baryon Trajectories saved from the event. More... | |
Int_t | fNTrajLepton |
Number of Charged Lepton trajectories saved from the event. More... | |
Int_t | fNTrajMeson |
Number of Charged Meson Trajectories saved from the event. More... | |
Int_t | fNTrajOther |
Number of Any Other Trajectories saved from the event. More... | |
Int_t | fNTrajOtherCharged |
Number of Other Charged Trajectories saved from the event. More... | |
Int_t | fNTrajOtherNeutral |
Number of Other Neutral Trajectories saved from the event. More... | |
Int_t | fNTrajPhoton |
Number of Photon Trajectories saved from the event. More... | |
TClonesArray * | fTrajectories |
Clones array of ND::TTruthTrajectoriesModule::TTruthTrajectory sorted in ascending ID order. More... | |
Protected Types | |
enum | EType { kHeader = 0, kTruth, kRecon, kLowLevel, kNTypes } |
Protected Member Functions | |
virtual void | InitializeModule () |
Initialize Module, override if necessary. More... | |
Protected Attributes | |
Int_t | fBufferSize |
Buffer Size for TBranch. More... | |
std::string | fCVSID |
Defined if an official tagged version. More... | |
std::string | fCVSTagName |
Defined if an official tagged version. More... | |
std::string | fDescription |
A longish descrition of the analysis. More... | |
Int_t | fEventID |
Bool_t | fFilledConfigTree |
std::string | fInputDirectory |
An input directory where analysis modules can search for extra files. More... | |
Bool_t | fIsEnabled |
Bool_t | fIsMC |
Bool_t | fIsUsedForPreselection |
std::string | fName |
TTree * | fOutputTree |
Int_t | fPreselected |
Int_t | fRunID |
Int_t | fSplitLevel |
Split Level for TBranch. More... | |
Int_t | fSubrunID |
std::string | fTitle |
Private Member Functions | |
void | FillSaveList (ND::THandle< ND::TG4TrajectoryContainer > trajectories) |
Fills a std::set (fSaveList) with the ID of every trajectory which should be saved for the current event. More... | |
void | FillTraces (ND::TG4Trajectory *const traj, ND::TTruthTrajectoriesModule::TTruthTrajectory *trajToFill) |
Fills vectors of entry/exit positions and momenta of the trajectory for every subdetector traversed. More... | |
void | FillTrajectoryPoints (ND::TG4Trajectory *const traj, ND::TTruthTrajectoriesModule::TTruthTrajectory *trajToFill) |
Fills the vector of trajectory points. More... | |
eventAnalysisEnums::EParticleCategory | GetCategory (const ND::TG4Trajectory *const traj) |
Determines the EParticleCategory to which a trajectory belongs. More... | |
bool | GetIsActive (const ND::TG4TrajectoryPoint &point, eventAnalysisEnums::ESubdetector det) const |
Determines if a TG4TrajectoryPoint is in the active region of the specified subdetector. More... | |
bool | SaveTraj (ND::TG4Trajectory *const traj) const |
Returns true if a trajectory needs to be saved, and false oterwise. More... | |
Private Attributes | |
UInt_t | fMaxNTrajectories |
The maximum number of trajectories that can be saved from a single event. More... | |
Double_t | fMinLength |
Minimum Length of Trajectories that will be saved in mm. More... | |
std::set< Int_t > | fSaveList |
List of the trajectory IDs which are to be saved from the current event. More... | |
Bool_t | fSaveOnlyP0DTrackerECALTrajectories |
Whether to save all trajectories, or only those which intersect the P0D, Tracker or ECals. More... | |
Bool_t | fSaveParentChain |
Whether saving a trajectory should also trigger the saving of all the trajectories in its parent chain. More... | |
The eventAnalysis module responsible for saving information about the True Particles in an event from MC.
It saves a tree called "Trajectories" in the "TruthDir" directory of eventAnalysis files. The tree contains integers indicating how many trajectories were in the event, and a TClonesArray "Trajectories" which contains a TTruthTrajectory for every particle in the event which passed the module's criteria to be saved.
Definition at line 42 of file TTruthTrajectoriesModule.hxx.
|
protectedinherited |
Enumerator | |
---|---|
kHeader | |
kTruth | |
kRecon | |
kLowLevel | |
kNTypes |
Definition at line 54 of file TAnalysisModuleBase.hxx.
ND::TTruthTrajectoriesModule::TTruthTrajectoriesModule | ( | const char * | name = "Trajectories" , |
const char * | title = "True Trajectory information" |
||
) |
Definition at line 20 of file TTruthTrajectoriesModule.cxx.
References CVSID, CVSTAG, ND::TAnalysisModuleBase::fCVSID, ND::TAnalysisModuleBase::fCVSTagName, ND::TAnalysisModuleBase::fDescription, ND::TAnalysisModuleBase::fIsEnabled, and ND::TAnalysisModuleBase::SetNameTitle().
|
virtual |
Definition at line 43 of file TTruthTrajectoriesModule.cxx.
|
virtual |
Method for setting behaviour of module.
Currently implemented options are: "saveall" - Save every trajectory longer than the minimum length regardless of where it occurred
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 47 of file TTruthTrajectoriesModule.cxx.
|
virtualinherited |
Reimplemented in ND::TGlobalReconModule, ND::TReconPerformanceEvalModule, ND::TTrackerReconModule, ND::TBeamSummaryDataModule, ND::TRooTrackerVtxModuleBase, ND::TGRooTrackerVtxModule, and ND::TNRooTrackerVtxModule.
Definition at line 52 of file TAnalysisModuleBase.cxx.
References CVSID.
Referenced by ND::TRooTrackerVtxModuleBase::FillConfigTree(), ND::TBeamSummaryDataModule::FillConfigTree(), ND::TTrackerReconModule::FillConfigTree(), ND::TReconPerformanceEvalModule::FillConfigTree(), ND::TGlobalReconModule::FillConfigTree(), and ND::TAnalysisLoop::Finalize().
|
private |
Fills a std::set (fSaveList) with the ID of every trajectory which should be saved for the current event.
Definition at line 83 of file TTruthTrajectoriesModule.cxx.
|
private |
Fills vectors of entry/exit positions and momenta of the trajectory for every subdetector traversed.
Definition at line 364 of file TTruthTrajectoriesModule.cxx.
References eventAnalysisEnums::DetectorName(), eventAnalysisEnums::kNSubdetectors, eventAnalysisEnums::PathToSubdetector(), ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceEntranceMomentum, ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceEntrancePosition, ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceExitMomentum, ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceExitPosition, ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceInActive, and ND::TTruthTrajectoriesModule::TTruthTrajectory::TraceSubdetectors.
|
private |
Fills the vector of trajectory points.
The criteria used should be controlled in the parameters file.
Definition at line 278 of file TTruthTrajectoriesModule.cxx.
References ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::MomentumX, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::MomentumY, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::MomentumZ, ND::TTruthTrajectoriesModule::TTruthTrajectory::Points, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::PositionT, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::PositionX, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::PositionY, ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::PositionZ, and ND::TTruthTrajectoriesModule::TTruthTrajectoryPoint::ProcessType.
|
virtual |
Called for each event, this method is the master method for retrieving and filling the Truth Trajectories information.
Implements ND::TAnalysisModuleBase.
Definition at line 126 of file TTruthTrajectoriesModule.cxx.
References ND::TTruthTrajectoriesModule::TTruthTrajectory::Category, ND::TTruthTrajectoriesModule::TTruthTrajectory::Charge, ND::TTruthTrajectoriesModule::TTruthTrajectory::FinalPosition, ND::TTruthTrajectoriesModule::TTruthTrajectory::ID, ND::TTruthTrajectoriesModule::TTruthTrajectory::InitMomentum, ND::TTruthTrajectoriesModule::TTruthTrajectory::InitPosition, ND::TTruthTrajectoriesModule::TTruthTrajectory::Mass, ND::TTruthTrajectoriesModule::TTruthTrajectory::Name, ND::TTruthTrajectoriesModule::TTruthTrajectory::ParentID, ND::TTruthTrajectoriesModule::TTruthTrajectory::PDG, and ND::TTruthTrajectoriesModule::TTruthTrajectory::PrimaryID.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 123 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fBufferSize.
|
private |
Determines the EParticleCategory to which a trajectory belongs.
Definition at line 578 of file TTruthTrajectoriesModule.cxx.
References eventAnalysisEnums::kChargedBaryon, eventAnalysisEnums::kChargedLepton, eventAnalysisEnums::kChargedMeson, eventAnalysisEnums::kOtherCharged, eventAnalysisEnums::kOtherNeutral, eventAnalysisEnums::kPhoton, and eventAnalysisEnums::PDGInfoToCategory().
|
inherited |
Definition at line 136 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fCVSID.
|
inherited |
Definition at line 135 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fCVSTagName.
|
inherited |
Definition at line 134 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fDescription.
|
inherited |
Returns the name of the directory which the output of a particular module will be saved in.
Definition at line 22 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::Initialize().
|
private |
Determines if a TG4TrajectoryPoint is in the active region of the specified subdetector.
Only implemented properly for TPC/FGD.
Definition at line 496 of file TTruthTrajectoriesModule.cxx.
References eventAnalysisEnums::kBrlECalBottom, eventAnalysisEnums::kBrlECalLeft, eventAnalysisEnums::kBrlECalRight, eventAnalysisEnums::kBrlECalTop, eventAnalysisEnums::kDsECal, eventAnalysisEnums::kFGD1, eventAnalysisEnums::kFGD2, eventAnalysisEnums::kP0D, eventAnalysisEnums::kP0DECalBottom, eventAnalysisEnums::kP0DECalLeft, eventAnalysisEnums::kP0DECalRight, eventAnalysisEnums::kP0DECalTop, eventAnalysisEnums::kTPC1, eventAnalysisEnums::kTPC2, and eventAnalysisEnums::kTPC3.
Int_t ND::TTruthTrajectoriesModule::GetMaximumNumberTrajectoriesPerEvent | ( | ) | const |
Getter for maximum number of trajectories saveable per event.
Definition at line 71 of file TTruthTrajectoriesModule.hxx.
References fMaxNTrajectories.
Double_t ND::TTruthTrajectoriesModule::GetMinimumTrajectoryLengthToSave | ( | ) | const |
Getter for trajectory length save condition.
Definition at line 68 of file TTruthTrajectoriesModule.hxx.
References fMinLength.
|
inherited |
Definition at line 114 of file TAnalysisModuleBase.cxx.
Referenced by ND::TTrackerReconModule::FillConfigTree(), ND::TGlobalReconModule::FillConfigTree(), ND::TTrackerECALReconModule::OutputManager::FillHoughTransformInformation(), ND::TAnalysisLoop::Finalize(), ND::TAnalysisLoop::Initialize(), and ND::TAnalysisLoop::operator()().
|
inherited |
The output tree.
Definition at line 139 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fOutputTree.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 129 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fSplitLevel.
|
inherited |
Definition at line 118 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::Initialize().
|
virtualinherited |
Returns the type of tree, header, truth, or recon.
This is overridden in the derived base classes such as TAnalysisReconModuleBase, so users do not need to override it explicitly
Implements ND::TAnalysisModuleBase.
Definition at line 17 of file TAnalysisTruthModuleBase.hxx.
References ND::TAnalysisModuleBase::kTruth.
|
inherited |
Definition at line 37 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::Initialize().
|
virtual |
Creates the necessary tree and branches for saving the Truth Trajectories information.
Implements ND::TAnalysisModuleBase.
Definition at line 56 of file TTruthTrajectoriesModule.cxx.
|
protectedvirtualinherited |
Initialize Module, override if necessary.
Reimplemented in ND::TP0DReconModule, ND::TTrackerECALReconModule::OutputManager, ND::TGlobalReconModule, ND::TSFGReconModule, ND::TReconPerformanceEvalModule, ND::TTrackerReconModule, ND::TSmrdReconModule, ND::TP0DECALReconModule, ND::TTRExReconModule, ND::TBeamSummaryDataModule, and ND::TECALTestbeamModule.
Definition at line 164 of file TAnalysisModuleBase.hxx.
|
virtualinherited |
Whether the module is enable or not.
Definition at line 84 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fIsEnabled.
Referenced by ND::TAnalysisLoop::Initialize(), and ND::TAnalysisLoop::operator()().
|
virtual |
This method returns true - the module is always enabled by defult.
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 53 of file TTruthTrajectoriesModule.hxx.
|
virtualinherited |
Whether the module thinks it is worth saving the entire oaEvent event tree entry for this event.
eventAnalysis can be used for event pre-selection in this way. Activated with the –oaEvent-preselection=<moduleclass>> command- line argument
Reimplemented in ND::TTrackerECALReconModule::OutputManager, ND::TReconPerformanceEvalModule, and ND::TTRExReconModule.
Definition at line 90 of file TAnalysisModuleBase.cxx.
|
virtualinherited |
Whether the module should call IsFullEventWorthSaving() function for each event, to decide if the full oaEvent info for that event should be saved in the output.
Definition at line 93 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fIsUsedForPreselection.
Referenced by ND::TAnalysisLoop::Initialize(), and ND::TAnalysisLoop::operator()().
|
inherited |
Definition at line 140 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fOutputTree.
|
virtualinherited |
Prints a simple message describing the module.
Should be overridden for more detail
Definition at line 99 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::Initialize().
|
virtualinherited |
Gets the run and event IDs and calls FillTree with the event, and then actually calls fOutputTree->Fill.
Definition at line 77 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::operator()().
|
virtual |
Called for the first event This method checks whether this event is a real-data event an if so throws an ND::EDataFile().
Otherwise it returns true.
Implements ND::TAnalysisModuleBase.
Definition at line 75 of file TTruthTrajectoriesModule.cxx.
|
private |
Returns true if a trajectory needs to be saved, and false oterwise.
Definition at line 230 of file TTruthTrajectoriesModule.cxx.
|
virtualinherited |
Subclasses should override this to let a user know what options are available.
Reimplemented in ND::TTrackerECALReconModule::OutputManager, ND::TGlobalReconModule, ND::TTagsModule, and ND::TBasicHeaderModule.
Definition at line 156 of file TAnalysisModuleBase.hxx.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 126 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fBufferSize.
|
virtualinherited |
Disables the module.
Is called when an exception is thrown inside the module.
Definition at line 74 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::SetEnabled().
Referenced by ND::TAnalysisLoop::Initialize(), and ND::TAnalysisLoop::operator()().
|
virtualinherited |
Sets whether the module is enabled.
This only refer to modules which have been included for consideration by being instantiated in TAnalysisLoop.cxx or similar.
Definition at line 70 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fIsEnabled.
Referenced by ND::TAnalysisLoop::Initialize(), ND::TAnalysisModuleBase::SetDisabled(), and ND::TAnalysisLoop::SetOption().
|
inherited |
Definition at line 158 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fInputDirectory.
void ND::TTruthTrajectoriesModule::SetMaximumNumberTrajectoriesPerEvent | ( | UInt_t | n | ) |
Setter for maximum number of trajectories saveable per event.
Definition at line 79 of file TTruthTrajectoriesModule.hxx.
References fMaxNTrajectories.
void ND::TTruthTrajectoriesModule::SetMinimumTrajectoryLengthToSave | ( | Double_t | mm | ) |
Getter for trajectory length save condition. [mm].
Definition at line 76 of file TTruthTrajectoriesModule.hxx.
References fMinLength.
|
inherited |
Definition at line 108 of file TAnalysisModuleBase.cxx.
Referenced by ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TBasicHeaderModule::TBasicHeaderModule(), ND::TBeamSummaryDataModule::TBeamSummaryDataModule(), ND::TECALTestbeamModule::TECALTestbeamModule(), ND::TFgdOnlyModule::TFgdOnlyModule(), ND::TGeometrySummaryModule::TGeometrySummaryModule(), ND::TGlobalReconModule::TGlobalReconModule(), ND::TGRooTrackerVtxModule::TGRooTrackerVtxModule(), ND::TLowLevelInfoModule::TLowLevelInfoModule(), ND::TNRooTrackerVtxModule::TNRooTrackerVtxModule(), ND::TP0DECALReconModule::TP0DECALReconModule(), ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule(), ND::TSFGReconModule::TSFGReconModule(), ND::TSmrdReconModule::TSmrdReconModule(), ND::TTagsModule::TTagsModule(), ND::TTrackerReconModule::TTrackerReconModule(), ND::TTRExReconModule::TTRExReconModule(), TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
void ND::TTruthTrajectoriesModule::SetSaveOnlyP0DTrackerECALTrajectories | ( | const Bool_t & | yesorno = true | ) |
Controls whether just P0D/Tracker/ECal trajectories should be saved.
Definition at line 88 of file TTruthTrajectoriesModule.hxx.
References fSaveOnlyP0DTrackerECALTrajectories.
void ND::TTruthTrajectoriesModule::SetSaveParentChain | ( | const Bool_t & | yesorno = true | ) |
Controls whether a trajectory that would ordinarily be saved will also save all its parent trajectories.
Definition at line 83 of file TTruthTrajectoriesModule.hxx.
References fSaveParentChain.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 132 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fSplitLevel.
Referenced by ND::TTrackerReconModule::InitializeBranches(), ND::TGlobalReconModule::InitializeBranches(), and ND::TP0DECALReconModule::TP0DECALReconModule().
|
virtualinherited |
Sets whether the module should call IsFullEventWorthSaving() function for each event, to decide if the full oaEvent info for that event should be saved in the output.
Definition at line 79 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fIsUsedForPreselection.
Referenced by ND::TAnalysisLoop::SetOption().
|
protectedinherited |
Buffer Size for TBranch.
Has a default value that can be changed per module.
Definition at line 184 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetBufferSize(), ND::TFgdOnlyModule::InitializeBranches(), ND::TSmrdReconModule::InitializeBranches(), ND::TTrackerReconModule::InitializeBranches(), ND::TSFGReconModule::InitializeBranches(), ND::TGlobalReconModule::InitializeBranches(), ND::TTrackerECALReconModule::OutputManager::InitializeBranches(), and ND::TAnalysisModuleBase::SetBufferSize().
|
protectedinherited |
Defined if an official tagged version.
Definition at line 192 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetCVSID(), ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TBasicHeaderModule::TBasicHeaderModule(), ND::TBeamSummaryDataModule::TBeamSummaryDataModule(), ND::TECALTestbeamModule::TECALTestbeamModule(), ND::TFgdOnlyModule::TFgdOnlyModule(), ND::TGeometrySummaryModule::TGeometrySummaryModule(), ND::TGlobalReconModule::TGlobalReconModule(), ND::TP0DECALReconModule::TP0DECALReconModule(), ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule(), ND::TSFGReconModule::TSFGReconModule(), ND::TSmrdReconModule::TSmrdReconModule(), ND::TTagsModule::TTagsModule(), ND::TTrackerReconModule::TTrackerReconModule(), ND::TTRExReconModule::TTRExReconModule(), TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
|
protectedinherited |
Defined if an official tagged version.
Definition at line 190 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetCVSTagName(), ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TBasicHeaderModule::TBasicHeaderModule(), ND::TBeamSummaryDataModule::TBeamSummaryDataModule(), ND::TECALTestbeamModule::TECALTestbeamModule(), ND::TFgdOnlyModule::TFgdOnlyModule(), ND::TGeometrySummaryModule::TGeometrySummaryModule(), ND::TGlobalReconModule::TGlobalReconModule(), ND::TP0DECALReconModule::TP0DECALReconModule(), ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule(), ND::TSFGReconModule::TSFGReconModule(), ND::TSmrdReconModule::TSmrdReconModule(), ND::TTagsModule::TTagsModule(), ND::TTrackerReconModule::TTrackerReconModule(), ND::TTRExReconModule::TTRExReconModule(), TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
|
protectedinherited |
A longish descrition of the analysis.
Definition at line 188 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetDescription(), ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TBasicHeaderModule::TBasicHeaderModule(), ND::TBeamSummaryDataModule::TBeamSummaryDataModule(), ND::TECALTestbeamModule::TECALTestbeamModule(), ND::TFgdOnlyModule::TFgdOnlyModule(), ND::TGeometrySummaryModule::TGeometrySummaryModule(), ND::TGlobalReconModule::TGlobalReconModule(), ND::TGRooTrackerVtxModule::TGRooTrackerVtxModule(), ND::TLowLevelInfoModule::TLowLevelInfoModule(), ND::TNRooTrackerVtxModule::TNRooTrackerVtxModule(), ND::TP0DECALReconModule::TP0DECALReconModule(), ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule(), ND::TSFGReconModule::TSFGReconModule(), ND::TSmrdReconModule::TSmrdReconModule(), ND::TTagsModule::TTagsModule(), ND::TTrackerReconModule::TTrackerReconModule(), ND::TTRExReconModule::TTRExReconModule(), TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
|
protectedinherited |
Definition at line 198 of file TAnalysisModuleBase.hxx.
|
protectedinherited |
Definition at line 174 of file TAnalysisModuleBase.hxx.
Referenced by ND::TTrackerReconModule::FillConfigTree(), and ND::TGlobalReconModule::FillConfigTree().
|
protectedinherited |
An input directory where analysis modules can search for extra files.
Definition at line 201 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::SetInputDirectory().
|
protectedinherited |
Definition at line 176 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::IsEnabled(), ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TAnalysisModuleBase::SetEnabled(), ND::TBasicHeaderModule::TBasicHeaderModule(), ND::TBeamSummaryDataModule::TBeamSummaryDataModule(), ND::TECALTestbeamModule::TECALTestbeamModule(), ND::TFgdOnlyModule::TFgdOnlyModule(), ND::TGeometrySummaryModule::TGeometrySummaryModule(), ND::TGlobalReconModule::TGlobalReconModule(), ND::TGRooTrackerVtxModule::TGRooTrackerVtxModule(), ND::TLowLevelInfoModule::TLowLevelInfoModule(), ND::TNRooTrackerVtxModule::TNRooTrackerVtxModule(), ND::TP0DECALReconModule::TP0DECALReconModule(), ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule(), ND::TSFGReconModule::TSFGReconModule(), ND::TSmrdReconModule::TSmrdReconModule(), ND::TTagsModule::TTagsModule(), ND::TTrackerReconModule::TTrackerReconModule(), ND::TTRExReconModule::TTRExReconModule(), TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
|
protectedinherited |
Definition at line 206 of file TAnalysisModuleBase.hxx.
Referenced by ND::TTrackerECALReconModule::OutputManager::FillECalIsoVertexingInformation(), ND::TTrackerECALReconModule::OutputManager::FillHoughTransformInformation(), ND::TTrackerECALReconModule::OutputManager::FillTree(), ND::TGlobalReconModule::FillVertexInfo(), ND::TTrackerECALReconModule::OutputManager::OutputManager(), ND::TTrackerECALReconModule::OutputManager::ProcessFinalContainer(), and ND::TTrackerECALReconModule::OutputManager::ProcessOtherContainer().
|
protectedinherited |
Definition at line 178 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::IsUsedForPreselection(), and ND::TAnalysisModuleBase::SetUsedForPreselection().
|
private |
The maximum number of trajectories that can be saved from a single event.
Initialised by the constructor.
Definition at line 132 of file TTruthTrajectoriesModule.hxx.
Referenced by GetMaximumNumberTrajectoriesPerEvent(), and SetMaximumNumberTrajectoriesPerEvent().
|
private |
Minimum Length of Trajectories that will be saved in mm.
All primary particles will be saved regardless of this.
Definition at line 136 of file TTruthTrajectoriesModule.hxx.
Referenced by GetMinimumTrajectoryLengthToSave(), and SetMinimumTrajectoryLengthToSave().
|
protectedinherited |
Definition at line 203 of file TAnalysisModuleBase.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTraj |
Total number of trajectories saved from the event.
Definition at line 151 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajBaryon |
Number of Charged Baryon Trajectories saved from the event.
Definition at line 157 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajLepton |
Number of Charged Lepton trajectories saved from the event.
Definition at line 154 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajMeson |
Number of Charged Meson Trajectories saved from the event.
Definition at line 160 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajOther |
Number of Any Other Trajectories saved from the event.
Definition at line 172 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajOtherCharged |
Number of Other Charged Trajectories saved from the event.
[branch]
Definition at line 166 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajOtherNeutral |
Number of Other Neutral Trajectories saved from the event.
Definition at line 169 of file TTruthTrajectoriesModule.hxx.
Int_t ND::TTruthTrajectoriesModule::fNTrajPhoton |
Number of Photon Trajectories saved from the event.
Definition at line 163 of file TTruthTrajectoriesModule.hxx.
|
protectedinherited |
Definition at line 180 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetOutputTree(), ND::TFgdOnlyModule::InitializeBranches(), ND::TSmrdReconModule::InitializeBranches(), ND::TTrackerReconModule::InitializeBranches(), ND::TSFGReconModule::InitializeBranches(), ND::TGlobalReconModule::InitializeBranches(), ND::TTrackerECALReconModule::OutputManager::InitializeBranches(), and ND::TAnalysisModuleBase::KillOutputTree().
|
protectedinherited |
Definition at line 199 of file TAnalysisModuleBase.hxx.
|
protectedinherited |
Definition at line 196 of file TAnalysisModuleBase.hxx.
|
private |
List of the trajectory IDs which are to be saved from the current event.
Definition at line 147 of file TTruthTrajectoriesModule.hxx.
|
private |
Whether to save all trajectories, or only those which intersect the P0D, Tracker or ECals.
Definition at line 140 of file TTruthTrajectoriesModule.hxx.
Referenced by SetSaveOnlyP0DTrackerECALTrajectories().
|
private |
Whether saving a trajectory should also trigger the saving of all the trajectories in its parent chain.
Definition at line 144 of file TTruthTrajectoriesModule.hxx.
Referenced by SetSaveParentChain().
|
protectedinherited |
Split Level for TBranch.
Definition at line 186 of file TAnalysisModuleBase.hxx.
Referenced by ND::TAnalysisModuleBase::GetSplitLevel(), ND::TFgdOnlyModule::InitializeBranches(), ND::TSmrdReconModule::InitializeBranches(), ND::TTrackerReconModule::InitializeBranches(), ND::TSFGReconModule::InitializeBranches(), ND::TGlobalReconModule::InitializeBranches(), ND::TTrackerECALReconModule::OutputManager::InitializeBranches(), and ND::TAnalysisModuleBase::SetSplitLevel().
|
protectedinherited |
Definition at line 197 of file TAnalysisModuleBase.hxx.
|
protectedinherited |
Definition at line 204 of file TAnalysisModuleBase.hxx.
TClonesArray* ND::TTruthTrajectoriesModule::fTrajectories |
Clones array of ND::TTruthTrajectoriesModule::TTruthTrajectory sorted in ascending ID order.
Definition at line 176 of file TTruthTrajectoriesModule.hxx.