![]() |
eventAnalysis
7.0-49-g0ac7482
|
Used to fill a TTree of summary information for the P0D reconstruction algorithms. More...
#include <TP0DReconModule.hxx>
Classes | |
struct | ObjectID |
An internal Id and object type for each Reconstruction object. More... | |
class | TP0DAlgoRes |
Used to summarise the various reconstruction algorithm results that p0dRecon employs. More... | |
class | TP0DCluster |
Contains a summary of the reconstruction information in a TReconCluster. Contains a summary of the reconstruction information in a TReconTrack. More... | |
class | TP0DHit |
class | TP0DNode |
Contains a summary of the reconstruction information in a TSingleHit. More... | |
class | TP0DParticle |
A summary of the reconstruction information in a TReconPID. More... | |
class | TP0DShower |
Contains a summary of the reconstruction information in a TReconShower. More... | |
class | TP0DTrack |
Contains a summary of the reconstruction information in a TReconNode. More... | |
class | TP0DVertex |
Contains a summary of the reconstruction information in a TReconVertex. More... | |
Public Member Functions | |
TP0DReconModule (const char *name="P0D", const char *title="P0D Recon Module") | |
virtual | ~TP0DReconModule () |
virtual Bool_t | Configure (std::string &option) |
A function that allows the module to be configured from an external class without any dependencies. More... | |
virtual void | FillConfigTree (TTree *) |
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... | |
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 Bool_t | IsEnabled () const |
Whether the module is enable or not. More... | |
virtual Bool_t | IsEnabledByDefault () const |
Is the module is enabled by default. 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 &) |
Is called after the first event is loaded in. 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 | SetNameTitle (char const *name, char const *title) |
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 | |
TClonesArray * | fAlgoResults |
The TP0DAlgoRes vector of Algorithm Results. More... | |
TClonesArray * | fClusters |
The TP0DCluster vector of clusters. More... | |
TClonesArray * | fHits |
The TP0DHit vector of hits. More... | |
Short_t | fNAlgoResults |
The number of Algorithm Results. More... | |
Short_t | fNClusters |
The number of clusters. More... | |
Short_t | fNHits |
The number of hits that are saved. More... | |
Short_t | fNNodes |
The number of track nodes. More... | |
TClonesArray * | fNodes |
The TP0DNode vector of nodes. More... | |
Short_t | fNParticles |
The number of particles. More... | |
Short_t | fNShowers |
The number of showers. More... | |
Short_t | fNTracks |
The number of tracks. More... | |
Short_t | fNVertices |
The number of added vertices. More... | |
TClonesArray * | fParticles |
The TP0DParticle vector of particles. More... | |
TClonesArray * | fShowers |
The TP0DShower vector of showers. More... | |
TClonesArray * | fTracks |
The TP0DTrack vector of tracks. More... | |
TClonesArray * | fVertices |
The TP0DVertex vector of vertices. More... | |
Protected Types | |
enum | EType { kHeader = 0, kTruth, kRecon, kLowLevel, kNTypes } |
Protected Member Functions | |
short | CountValidDimensions (TVector3 posVar) |
virtual short | FillAlgorithmResult (const ND::THandle< ND::TAlgorithmResult >, short) |
template<class T > | |
void | FillBaseObject (T basePtr, ND::THandle< ND::TReconBase > baseObject, bool saveHits) |
virtual ObjectID | FillClusterObject (const ND::THandle< ND::TReconCluster >, bool saveHits) |
short | FillHit (const ND::THandle< ND::THit >) |
virtual short | FillNode (const ND::THandle< ND::TReconNode >, bool saveHits) |
virtual ObjectID | FillParticleObject (const ND::THandle< ND::TReconPID >, bool saveHits) |
virtual ObjectID | FillReconObject (const ND::THandle< ND::TReconBase >, bool saveHits) |
virtual ObjectID | FillShowerObject (const ND::THandle< ND::TReconShower >, bool saveHits) |
virtual ObjectID | FillTrackObject (const ND::THandle< ND::TReconTrack >, bool saveHits) |
virtual bool | FillTree (ND::TND280Event &) |
Fill all the stuff that goes in the output tree. More... | |
virtual ObjectID | FillVertexObject (const ND::THandle< ND::TReconVertex >, bool saveHits) |
short | GetCycle (const ND::THandle< ND::THitSelection >) |
virtual std::map< int, std::pair< int, float > > | HitTruthInfo (const ND::THandle< ND::THitSelection >) |
virtual std::vector< int > | HitTruthPrimaryInfo (const ND::THandle< ND::THitSelection >) |
virtual void | InitializeBranches () |
Initialize Branches. Don't do anything else in this function. More... | |
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 Attributes | |
std::vector< TPRegexp > | fRejectAlgoResultList |
If an incoming TAlgorithmResult's name matches a pattern within this vector it will not be summarised and stored. More... | |
std::map< UInt_t, short > | fTempHitMap |
Scratch space to keep track of already summarised THits. More... | |
Used to fill a TTree of summary information for the P0D reconstruction algorithms.
Definition at line 39 of file TP0DReconModule.hxx.
|
protectedinherited |
Enumerator | |
---|---|
kHeader | |
kTruth | |
kRecon | |
kLowLevel | |
kNTypes |
Definition at line 54 of file TAnalysisModuleBase.hxx.
ND::TP0DReconModule::TP0DReconModule | ( | const char * | name = "P0D" , |
const char * | title = "P0D Recon Module" |
||
) |
Definition at line 77 of file TP0DReconModule.cxx.
|
virtual |
Definition at line 125 of file TP0DReconModule.cxx.
|
virtualinherited |
A function that allows the module to be configured from an external class without any dependencies.
Should be overridden with a function that responds to the string option, and returns true if configuration succedded. Used in TAnalysisLoop.cxx (and RunEventAnalysis.exe) for options of the form: -O TTruthTrajectoriesModule=SaveAll
Reimplemented in ND::TTrackerECALReconModule::OutputManager, ND::TGlobalReconModule, ND::TBeamSummaryDataModule, ND::TTruthTrajectoriesModule, ND::TBasicHeaderModule, and ND::TTagsModule.
Definition at line 17 of file TAnalysisModuleBase.cxx.
|
protected |
Definition at line 1215 of file TP0DReconModule.cxx.
|
protectedvirtual |
Definition at line 331 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DAlgoRes::AlgoResults, ND::TP0DReconModule::TP0DAlgoRes::AlgorithmName, ND::TP0DReconModule::TP0DAlgoRes::Clusters, ND::TP0DReconModule::TP0DAlgoRes::FullName, ND::TP0DReconModule::TP0DAlgoRes::Hits, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DAlgoRes::Parent, ND::TP0DReconModule::TP0DAlgoRes::Particles, ND::TP0DReconModule::TP0DAlgoRes::Showers, ND::TP0DReconModule::TP0DAlgoRes::Tracks, ND::TP0DReconModule::ObjectID::type, ND::TP0DReconModule::TP0DAlgoRes::UnusedHitCluster, ND::TP0DReconModule::TP0DAlgoRes::UsedHitCluster, and ND::TP0DReconModule::TP0DAlgoRes::Vertices.
|
protected |
Definition at line 228 of file TP0DReconModule.cxx.
References FillHit(), FillNode(), FillReconObject(), GetCycle(), ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::ObjectID::kCluster, ND::TP0DReconModule::ObjectID::kParticle, ND::TP0DReconModule::ObjectID::kShower, ND::TP0DReconModule::ObjectID::kTrack, ND::TP0DReconModule::ObjectID::kVertex, and ND::TP0DReconModule::ObjectID::type.
|
protectedvirtual |
Definition at line 917 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DCluster::arraySize, ND::TP0DReconModule::TP0DCluster::EDeposit, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DCluster::Moments, ND::TP0DReconModule::TP0DCluster::NFiducialHits, ND::TP0DReconModule::TP0DCluster::Position, ND::TP0DReconModule::TP0DCluster::PosVariance, ND::TP0DReconModule::TP0DCluster::Truth_ChargeShare, ND::TP0DReconModule::TP0DCluster::Truth_HitCount, ND::TP0DReconModule::TP0DCluster::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DCluster::Truth_TrajIDs, ND::TP0DReconModule::ObjectID::type, and ND::TP0DReconModule::TP0DCluster::ValidDimensions.
|
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().
|
protected |
Definition at line 1059 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DHit::ChanID, ND::TP0DReconModule::TP0DHit::Charge, ND::TP0DReconModule::TP0DHit::GeomID, eventAnalysisEnums::kP0D, and ND::TP0DReconModule::TP0DHit::Time.
Referenced by FillBaseObject().
|
protectedvirtual |
Definition at line 975 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DNode::Direction, ND::TP0DReconModule::TP0DNode::DirVariance, ND::TP0DReconModule::TP0DNode::EDeposit, ND::TP0DReconModule::TP0DNode::Hits, ND::TP0DReconModule::TP0DNode::Position, ND::TP0DReconModule::TP0DNode::PosVariance, ND::TP0DReconModule::TP0DNode::Truth_ChargeShare, ND::TP0DReconModule::TP0DNode::Truth_HitCount, ND::TP0DReconModule::TP0DNode::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DNode::Truth_TrajIDs, and ND::TP0DReconModule::TP0DNode::ValidDimensions.
Referenced by FillBaseObject().
|
protectedvirtual |
Definition at line 560 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DParticle::Charge, ND::TP0DReconModule::TP0DParticle::Direction, ND::TP0DReconModule::TP0DParticle::DirVariance, ND::TP0DReconModule::TP0DParticle::EndDeposit, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DParticle::integerPIDNames, ND::TP0DReconModule::TP0DParticle::integerPIDValues, ND::TP0DReconModule::TP0DParticle::Momentum, ND::TP0DReconModule::TP0DParticle::NDOF, ND::TP0DReconModule::TP0DParticle::PID, ND::TP0DReconModule::TP0DParticle::PID_weight, ND::TP0DReconModule::TP0DParticle::Position, ND::TP0DReconModule::TP0DParticle::PosVariance, ND::TP0DReconModule::TP0DParticle::Quality, ND::TP0DReconModule::TP0DParticle::realPIDNames, ND::TP0DReconModule::TP0DParticle::realPIDValues, ND::TP0DReconModule::TP0DParticle::SideDeposit, ND::TP0DReconModule::TP0DParticle::Status, ND::TP0DReconModule::TP0DParticle::Truth_ChargeShare, ND::TP0DReconModule::TP0DParticle::Truth_HitCount, ND::TP0DReconModule::TP0DParticle::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DParticle::Truth_TrajIDs, ND::TP0DReconModule::ObjectID::type, and ND::TP0DReconModule::TP0DParticle::ValidDimensions.
|
protectedvirtual |
Definition at line 476 of file TP0DReconModule.cxx.
Referenced by FillBaseObject().
|
protectedvirtual |
Definition at line 787 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DShower::Clusters, ND::TP0DReconModule::TP0DShower::Cone, ND::TP0DReconModule::TP0DShower::Direction, ND::TP0DReconModule::TP0DShower::DirVariance, ND::TP0DReconModule::TP0DShower::EDeposit, ND::TP0DReconModule::TP0DShower::EndDeposit, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DShower::Length, ND::TP0DReconModule::TP0DShower::NDOF, ND::TP0DReconModule::TP0DShower::Position, ND::TP0DReconModule::TP0DShower::PosVariance, ND::TP0DReconModule::TP0DShower::Quality, ND::TP0DReconModule::TP0DShower::SideDeposit, ND::TP0DReconModule::TP0DShower::Status, ND::TP0DReconModule::TP0DShower::Truth_ChargeShare, ND::TP0DReconModule::TP0DShower::Truth_HitCount, ND::TP0DReconModule::TP0DShower::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DShower::Truth_TrajIDs, ND::TP0DReconModule::ObjectID::type, ND::TP0DReconModule::TP0DShower::ValidDimensions, and ND::TP0DReconModule::TP0DShower::Width.
|
protectedvirtual |
Definition at line 695 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DTrack::Direction, ND::TP0DReconModule::TP0DTrack::DirVariance, ND::TP0DReconModule::TP0DTrack::EDeposit, ND::TP0DReconModule::TP0DTrack::EndDeposit, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DTrack::Length, ND::TP0DReconModule::TP0DTrack::NDOF, ND::TP0DReconModule::TP0DTrack::Position, ND::TP0DReconModule::TP0DTrack::PosVariance, ND::TP0DReconModule::TP0DTrack::Quality, ND::TP0DReconModule::TP0DTrack::SideDeposit, ND::TP0DReconModule::TP0DTrack::Status, ND::TP0DReconModule::TP0DTrack::Truth_ChargeShare, ND::TP0DReconModule::TP0DTrack::Truth_HitCount, ND::TP0DReconModule::TP0DTrack::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DTrack::Truth_TrajIDs, ND::TP0DReconModule::ObjectID::type, and ND::TP0DReconModule::TP0DTrack::ValidDimensions.
|
protectedvirtual |
Fill all the stuff that goes in the output tree.
Return true if everything went well. Otherwise, the module may be disabled! (return definition changed Apr 2009!)
Implements ND::TAnalysisModuleBase.
Definition at line 190 of file TP0DReconModule.cxx.
|
protectedvirtual |
Definition at line 509 of file TP0DReconModule.cxx.
References ND::TP0DReconModule::TP0DVertex::Fiducial, ND::TP0DReconModule::ObjectID::id, ND::TP0DReconModule::TP0DVertex::NDOF, ND::TP0DReconModule::TP0DVertex::Position, ND::TP0DReconModule::TP0DVertex::PosVariance, ND::TP0DReconModule::TP0DVertex::Quality, ND::TP0DReconModule::TP0DVertex::Status, ND::TP0DReconModule::TP0DVertex::Truth_ChargeShare, ND::TP0DReconModule::TP0DVertex::Truth_HitCount, ND::TP0DReconModule::TP0DVertex::Truth_PrimaryTrajIDs, ND::TP0DReconModule::TP0DVertex::Truth_TrajIDs, ND::TP0DReconModule::ObjectID::type, and ND::TP0DReconModule::TP0DVertex::ValidDimensions.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 123 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fBufferSize.
|
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.
|
protected |
Definition at line 1183 of file TP0DReconModule.cxx.
References eventAnalysisEnums::kP0D.
Referenced by FillBaseObject().
|
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().
|
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().
|
virtual |
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
Reimplemented from ND::TAnalysisReconModuleBase.
Definition at line 1158 of file TP0DReconModule.hxx.
References ND::TAnalysisModuleBase::kRecon.
|
protectedvirtual |
Definition at line 1095 of file TP0DReconModule.cxx.
|
protectedvirtual |
Definition at line 1154 of file TP0DReconModule.cxx.
|
inherited |
Definition at line 37 of file TAnalysisModuleBase.cxx.
Referenced by ND::TAnalysisLoop::Initialize().
|
protectedvirtual |
Initialize Branches. Don't do anything else in this function.
Implements ND::TAnalysisModuleBase.
Definition at line 134 of file TP0DReconModule.cxx.
|
protectedvirtual |
Initialize Module, override if necessary.
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 132 of file TP0DReconModule.cxx.
|
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()().
|
virtualinherited |
Is the module is enabled by default.
Default is to enable module. To set to disable override this method in the derived module.
Reimplemented in ND::TReconPerformanceEvalModule, ND::TSmrdReconModule, ND::TBeamSummaryDataModule, ND::TGeometrySummaryModule, ND::TTruthTrajectoriesModule, ND::TTruthVerticesModule, ND::TBasicDataQualityModule, ND::TLowLevelInfoModule, ND::TRooTrackerVtxModuleBase, ND::TECALTestbeamModule, ND::TTagsModule, and ND::TBasicHeaderModule.
Definition at line 88 of file TAnalysisModuleBase.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 |
Is called after the first event is loaded in.
This is a good time to save persistent quantities in the module's data members, which will be retrievable from the eventAnalysis output file. Not intended for filling in the tree with the first event, as Process() will also be called.
Implements ND::TAnalysisModuleBase.
Definition at line 127 of file TP0DReconModule.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.
|
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(), ND::TTruthTrajectoriesModule::TTruthTrajectoriesModule(), and ND::TTruthVerticesModule::TTruthVerticesModule().
|
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().
TClonesArray* ND::TP0DReconModule::fAlgoResults |
The TP0DAlgoRes vector of Algorithm Results.
Definition at line 1218 of file TP0DReconModule.hxx.
|
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().
TClonesArray* ND::TP0DReconModule::fClusters |
The TP0DCluster vector of clusters.
Definition at line 1225 of file TP0DReconModule.hxx.
|
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(), ND::TTruthTrajectoriesModule::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(), ND::TTruthTrajectoriesModule::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(), ND::TTruthTrajectoriesModule::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().
TClonesArray* ND::TP0DReconModule::fHits |
The TP0DHit vector of hits.
Definition at line 1224 of file TP0DReconModule.hxx.
|
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(), ND::TTruthTrajectoriesModule::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().
Short_t ND::TP0DReconModule::fNAlgoResults |
The number of Algorithm Results.
Definition at line 1208 of file TP0DReconModule.hxx.
|
protectedinherited |
Definition at line 203 of file TAnalysisModuleBase.hxx.
Short_t ND::TP0DReconModule::fNClusters |
The number of clusters.
Definition at line 1214 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNHits |
The number of hits that are saved.
Definition at line 1215 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNNodes |
The number of track nodes.
Definition at line 1213 of file TP0DReconModule.hxx.
TClonesArray* ND::TP0DReconModule::fNodes |
The TP0DNode vector of nodes.
Definition at line 1223 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNParticles |
The number of particles.
Definition at line 1210 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNShowers |
The number of showers.
Definition at line 1211 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNTracks |
The number of tracks.
Definition at line 1212 of file TP0DReconModule.hxx.
Short_t ND::TP0DReconModule::fNVertices |
The number of added vertices.
Definition at line 1209 of file TP0DReconModule.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().
TClonesArray* ND::TP0DReconModule::fParticles |
The TP0DParticle vector of particles.
Definition at line 1220 of file TP0DReconModule.hxx.
|
protectedinherited |
Definition at line 199 of file TAnalysisModuleBase.hxx.
|
private |
If an incoming TAlgorithmResult's name matches a pattern within this vector it will not be summarised and stored.
Definition at line 1230 of file TP0DReconModule.hxx.
|
protectedinherited |
Definition at line 196 of file TAnalysisModuleBase.hxx.
TClonesArray* ND::TP0DReconModule::fShowers |
The TP0DShower vector of showers.
Definition at line 1221 of file TP0DReconModule.hxx.
|
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.
|
private |
Scratch space to keep track of already summarised THits.
Definition at line 1233 of file TP0DReconModule.hxx.
|
protectedinherited |
Definition at line 204 of file TAnalysisModuleBase.hxx.
TClonesArray* ND::TP0DReconModule::fTracks |
The TP0DTrack vector of tracks.
Definition at line 1222 of file TP0DReconModule.hxx.
TClonesArray* ND::TP0DReconModule::fVertices |
The TP0DVertex vector of vertices.
Definition at line 1219 of file TP0DReconModule.hxx.