![]() |
eventAnalysis
7.0-49-g0ac7482
|
TReconPerformanceEvalModule - Object that contains information related to the performance of global recon. More...
#include <TReconPerformanceEvalModule.hxx>
Classes | |
class | TDownToTrackerInfo |
TDownToTrackerInfo Information related to the constituents of an object that are built up from a tracker object. More... | |
class | TGlobalReconConstituent |
TGlobalReconConstituent The main object that contains constituent recon information Feel free to add to. More... | |
class | TGlobalReconNodeInfo |
TGlobalReconNodeInfo Information related to a recon object's node. More... | |
class | TGlobalReconObject |
TGlobalReconObject Object for containing global recon information. More... | |
class | TGlobalReconStateInfo |
TGlobalReconStateInfo Information related to a recon object's state. More... | |
class | TGlobalTruthInfo |
TGlobalTruthInfo Information relating to a truth trajectory. More... | |
class | THelixModelInfo |
THelixModelInfo Information from a state extrapolated using the tpcRecon HelixModel. More... | |
class | TMatchingChi2Info |
TMatchingChi2Info Information for storing global recon matching chi2 info. More... | |
class | TReconStateInfo |
TReconStateInfo Information related to a recon object's state. More... | |
class | TTruthInfo |
TTruthInfo Information relating to a truth trajectory. More... | |
Public Member Functions | |
TReconPerformanceEvalModule (const char *name="ReconPerfEval", const char *title="Recon Performance Evaluation Module") | |
virtual | ~TReconPerformanceEvalModule () |
virtual Bool_t | Configure (std::string &option) |
A function that allows the module to be configured from an external class without any dependencies. 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... | |
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 &event) |
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 * | fGlobalReconObjects |
TClonesArray of TGlobalReconObject. More... | |
std::map< std::string, int > | fHitInfo |
Number of hits in each subdetector. More... | |
Int_t | fNGlobalReconObjects |
Tree Entries. More... | |
Protected Types | |
enum | EType { kHeader = 0, kTruth, kRecon, kLowLevel, kNTypes } |
Protected Member Functions | |
bool | ConstituentsAreEqual (ND::THandle< ND::TReconBase > obj1, ND::THandle< ND::TReconBase > obj2) |
Check whether the THandles of the immediate constituents of two objects are equal. More... | |
bool | ContainsTracker (ND::THandle< ND::TReconBase > input) |
void | ExtrapolateToModuleAndFill (ND::THandle< ND::TReconBase > base, THelixModelInfo &output, std::string module) |
Extrapolate an object to the surface of another module. More... | |
void | FillConfigTree (TTree *configTree) |
void | FillConstituentInfo (ND::TND280Event &event, ND::THandle< ND::TReconBase > reconObject, ND::THandle< ND::TReconBase > globalObject, TGlobalReconConstituent *output) |
Fill information in the output tree relating to a constituent of a global PID. More... | |
void | FillConsTruthInfo (ND::TND280Event &event, ND::THandle< ND::TReconBase > reconObject, TTruthInfo &output) |
Fill information relating to the true trajectory associated to a constituent of a global PID. More... | |
void | FillDownToTrackerInfo (ND::THandle< ND::TReconBase > base, TDownToTrackerInfo *output) |
Fill information relating to the state of a global PID constituent. More... | |
void | FillGlobalInfo (ND::TND280Event &event, ND::THandle< ND::TReconBase > reconObject, TGlobalReconObject *output) |
Fill information in the output tree relating to the global PID. More... | |
void | FillGlobalStateInfo (ND::THandle< ND::TReconState > state, TGlobalReconStateInfo &output) |
Fill information relating to the state of a global PID. More... | |
void | FillGlobalTruthInfo (ND::TND280Event &event, ND::THandle< ND::TReconBase > reconObject, TGlobalTruthInfo &output) |
Fill information relating to the true particle associated with a global PID. More... | |
void | FillStateInfo (ND::THandle< ND::TReconState > state, TReconStateInfo &output) |
Fill information relating to the state of a global PID constituent. More... | |
virtual bool | FillTree (ND::TND280Event &) |
Fill all the stuff that goes in the output tree. More... | |
ND::TReconObjectContainer | GetConstituentsOfInterest (ND::THandle< ND::TReconBase > input) |
Get the constituents of a global PID that we wish to investigate further. More... | |
ND::TReconObjectContainer | GetDownToTracker (ND::THandle< ND::TReconBase > input) |
Get the list of constituents that are found on the way down to getting the tracker-only constituent. More... | |
double | GetEDeposit (ND::THandle< ND::TReconBase > object) |
Get the EDeposit of a TRecon(Track|Shower|Cluster) or a TReconPID that has a single constituent that is a TRecon(Track|Shower|Cluster) More... | |
ND::THandle< ND::TReconState > | GetFirstState (ND::THandle< ND::TReconBase > object) |
Get the state of the first node in an object. More... | |
ND::THandle< ND::TReconState > | GetLastState (ND::THandle< ND::TReconBase > object) |
Get the state of the last node in an object. More... | |
void | GetModuleBox (ND::TGeometryId id, TVector3 &minpos, TVector3 &maxpos) |
Get the minimum and maximum positions of the box defining this TGeometryId. More... | |
void | GetObjectsFromVertices (ND::THandle< ND::TReconObjectContainer > input, ND::THandle< ND::TReconObjectContainer > output) |
Extract TReconPIDs from P0DRecon's TReconVertex container. More... | |
TVector3 | GetStateDirection (ND::THandle< ND::TReconState > state) |
Accessor for getting direction from TReconState. More... | |
double | GetStateMomentum (ND::THandle< ND::TReconState > state) |
Accessor for getting position from TReconState. Only supported by TPIDState. More... | |
TLorentzVector | GetStatePosition (ND::THandle< ND::TReconState > state) |
Accessor for getting position from TReconState. More... | |
TLorentzVector | GetStatePositionVariance (ND::THandle< ND::TReconState > state) |
Accessor for getting position variance from TReconState. More... | |
virtual void | InitializeBranches () |
Initialize Branches. Don't do anything else in this function. More... | |
virtual void | InitializeModule () |
Initialize Module, override if necessary. More... | |
bool | IsOnlyTracker (ND::THandle< ND::TReconBase > input) |
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 | |
bool | fSaveAllGlobalNodes |
Flag for whether to save all global nodes or just the first and last nodes. More... | |
TReconPerformanceEvalModule - Object that contains information related to the performance of global recon.
This eventAnalysis module provides information gleaned from the output of the global and subdetector reconstruction packages.
Amongst other quantities, the output of this module provides the state and kinematics of a global recon object and its constituents. For the P0D, ECal and P0DEcal, which get refitted by the global reconstruction, information is included for both the refitted and original objects.
Definition at line 51 of file TReconPerformanceEvalModule.hxx.
|
protectedinherited |
Enumerator | |
---|---|
kHeader | |
kTruth | |
kRecon | |
kLowLevel | |
kNTypes |
Definition at line 54 of file TAnalysisModuleBase.hxx.
ND::TReconPerformanceEvalModule::TReconPerformanceEvalModule | ( | const char * | name = "ReconPerfEval" , |
const char * | title = "Recon Performance Evaluation Module" |
||
) |
Definition at line 41 of file TReconPerformanceEvalModule.cxx.
References CVSID, CVSTAG, ND::TAnalysisModuleBase::fCVSID, ND::TAnalysisModuleBase::fCVSTagName, ND::TAnalysisModuleBase::fDescription, fGlobalReconObjects, ND::TAnalysisModuleBase::fIsEnabled, fSaveAllGlobalNodes, and ND::TAnalysisModuleBase::SetNameTitle().
|
virtual |
Definition at line 57 of file TReconPerformanceEvalModule.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 |
Check whether the THandles of the immediate constituents of two objects are equal.
Definition at line 876 of file TReconPerformanceEvalModule.cxx.
|
protected |
Definition at line 334 of file TReconPerformanceEvalModule.cxx.
|
protected |
Extrapolate an object to the surface of another module.
Currently implemented surfaces are: "DS" - upstream face of DsECal "LT" - inner face of LTECal "RT" - inner face of RTECal "TT" - inner face of TTECal "BT" - inner face of BTECal "P0D" - downstream face of P0D Extrapolation is done using the tpcRecon HelixModel. The input object must be either a TReconTrack or a TReconPID with a single constituent that is itself a TReconTrack.
Definition at line 1091 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::THelixModelInfo::CosTheta, eventAnalysisEnums::kTPC1, ND::TReconPerformanceEvalModule::THelixModelInfo::Position, and ND::TReconPerformanceEvalModule::THelixModelInfo::SetOK.
|
protectedvirtual |
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 84 of file TReconPerformanceEvalModule.cxx.
References ND::TAnalysisModuleBase::FillConfigTree().
|
protected |
Fill information in the output tree relating to a constituent of a global PID.
Definition at line 592 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TGlobalReconConstituent::AverageHitTime, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::ClassName, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::ClosestGlobalNodeState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::ConsTruth, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::DetectorName, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::EDeposit, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::GlobalReconConsFirstNodeObject, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::GlobalReconConsFirstNodeState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::GlobalReconConsLastNodeObject, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::GlobalReconConsLastNodeState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::GlobalReconConsState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::IsShower, eventAnalysisEnums::kTPC1, eventAnalysisEnums::kTPC2, eventAnalysisEnums::kTPC3, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::NDOF, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::NumHits, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::OriginalObjectFirstNodeState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::OriginalObjectLastNodeState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::OriginalObjectState, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::ParticleID, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::PIDWeight, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::Quality, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::ReconAlgorithm, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::SetOK, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtBTECal, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtDSECal, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtLTECal, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtP0D, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtRTECal, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtTPC2, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StateAtTTECal, ND::TReconPerformanceEvalModule::TGlobalReconConstituent::StatusString, and ND::TReconPerformanceEvalModule::TGlobalReconConstituent::UniqueID.
|
protected |
Fill information relating to the true trajectory associated to a constituent of a global PID.
Fills information from the closest trajectory point to the constituent.
Definition at line 925 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TTruthInfo::Charge, ND::TReconPerformanceEvalModule::TTruthInfo::Direction, ND::TReconPerformanceEvalModule::TTruthInfo::Efficiency, ND::TReconPerformanceEvalModule::TTruthInfo::Momentum, ND::TReconPerformanceEvalModule::TTruthInfo::Position, ND::TReconPerformanceEvalModule::TTruthInfo::Purity, and ND::TReconPerformanceEvalModule::TTruthInfo::SetOK.
|
protected |
Fill information relating to the state of a global PID constituent.
Definition at line 1054 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TDownToTrackerInfo::DetectorName, ND::TReconPerformanceEvalModule::TDownToTrackerInfo::Direction, ND::TReconPerformanceEvalModule::TDownToTrackerInfo::MatchingChi2, ND::TReconPerformanceEvalModule::TDownToTrackerInfo::Momentum, ND::TReconPerformanceEvalModule::TDownToTrackerInfo::Position, and ND::TReconPerformanceEvalModule::TDownToTrackerInfo::SetOK.
|
protected |
Fill information in the output tree relating to the global PID.
Definition at line 341 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TGlobalReconObject::Charge, ND::TReconPerformanceEvalModule::TGlobalReconObject::Direction, ND::TTrackerECALReconModule::GetTRealDatumValue(), ND::TReconPerformanceEvalModule::TGlobalReconObject::GlobalNodes, ND::TReconPerformanceEvalModule::TGlobalReconObject::Momentum, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeElectron, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeElectronFlip, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeMuon, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeMuonFlip, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeProton, ND::TReconPerformanceEvalModule::TGlobalReconObject::MomentumByRangeProtonFlip, ND::TReconPerformanceEvalModule::TGlobalReconObject::NDOF, ND::TReconPerformanceEvalModule::TGlobalReconObject::NGlobalNodes, ND::TReconPerformanceEvalModule::TGlobalReconObject::NGlobalNodesSaved, ND::TReconPerformanceEvalModule::TGlobalReconNodeInfo::NodeState, ND::TReconPerformanceEvalModule::TGlobalReconNodeInfo::ObjectState, ND::TReconPerformanceEvalModule::TGlobalReconObject::ParticleID, ND::TReconPerformanceEvalModule::TGlobalReconObject::PIDWeight, ND::TReconPerformanceEvalModule::TGlobalReconObject::Position, ND::TReconPerformanceEvalModule::TGlobalReconObject::Quality, ND::TReconPerformanceEvalModule::TGlobalReconObject::SetOK, ND::TReconPerformanceEvalModule::TGlobalReconObject::StatusString, ND::TReconPerformanceEvalModule::TGlobalReconObject::SubdetectorString, ND::TReconPerformanceEvalModule::TGlobalReconObject::Truth, and ND::TReconPerformanceEvalModule::TGlobalReconObject::UniqueID.
|
protected |
Fill information relating to the state of a global PID.
Definition at line 1243 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TGlobalReconStateInfo::Direction, ND::TReconPerformanceEvalModule::TGlobalReconStateInfo::Momentum, ND::TReconPerformanceEvalModule::TGlobalReconStateInfo::Position, ND::TReconPerformanceEvalModule::TGlobalReconStateInfo::PositionVariance, and ND::TReconPerformanceEvalModule::TGlobalReconStateInfo::SetOK.
|
protected |
Fill information relating to the true particle associated with a global PID.
Fills the initial status of the true trajectory.
Definition at line 995 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Charge, ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Direction, ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Efficiency, ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Momentum, ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Position, ND::TReconPerformanceEvalModule::TGlobalTruthInfo::Purity, and ND::TReconPerformanceEvalModule::TGlobalTruthInfo::SetOK.
|
protected |
Fill information relating to the state of a global PID constituent.
Definition at line 1037 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TReconStateInfo::Direction, ND::TReconPerformanceEvalModule::TReconStateInfo::Momentum, ND::TReconPerformanceEvalModule::TReconStateInfo::Position, ND::TReconPerformanceEvalModule::TReconStateInfo::PositionVariance, and ND::TReconPerformanceEvalModule::TReconStateInfo::SetOK.
|
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 98 of file TReconPerformanceEvalModule.cxx.
References ND::TReconPerformanceEvalModule::TGlobalReconObject::Constituents, ND::TReconPerformanceEvalModule::TMatchingChi2Info::Det1, ND::TReconPerformanceEvalModule::TMatchingChi2Info::Det2, ND::TReconPerformanceEvalModule::TGlobalReconObject::DownToTrackerConstituents, ND::TReconPerformanceEvalModule::TMatchingChi2Info::IsShower1, ND::TReconPerformanceEvalModule::TMatchingChi2Info::IsShower2, ND::TReconPerformanceEvalModule::TMatchingChi2Info::MatchingChi2, ND::TReconPerformanceEvalModule::TGlobalReconObject::MatchingChi2Info, ND::TReconPerformanceEvalModule::TGlobalReconObject::NConstituents, ND::TReconPerformanceEvalModule::TGlobalReconObject::NDownToTrackerConstituents, ND::TReconPerformanceEvalModule::TGlobalReconObject::NMatchingChi2Info, ND::TReconPerformanceEvalModule::TGlobalReconObject::NModuleConstituents, and ND::TReconPerformanceEvalModule::TMatchingChi2Info::SetOK.
|
inherited |
ROOT output parameters, usually no need to touch.
Definition at line 123 of file TAnalysisModuleBase.hxx.
References ND::TAnalysisModuleBase::fBufferSize.
|
protected |
Get the constituents of a global PID that we wish to investigate further.
Gets the list of unique highest-level constituents in each subdetector.
Definition at line 244 of file TReconPerformanceEvalModule.cxx.
References eventAnalysisEnums::kFGD1, eventAnalysisEnums::kFGD2, eventAnalysisEnums::kP0D, eventAnalysisEnums::kTPC1, eventAnalysisEnums::kTPC2, and eventAnalysisEnums::kTPC3.
|
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().
|
protected |
Get the list of constituents that are found on the way down to getting the tracker-only constituent.
Definition at line 286 of file TReconPerformanceEvalModule.cxx.
|
protected |
Get the EDeposit of a TRecon(Track|Shower|Cluster) or a TReconPID that has a single constituent that is a TRecon(Track|Shower|Cluster)
Definition at line 523 of file TReconPerformanceEvalModule.cxx.
|
protected |
Get the state of the first node in an object.
Definition at line 574 of file TReconPerformanceEvalModule.cxx.
|
protected |
Get the state of the last node in an object.
Definition at line 556 of file TReconPerformanceEvalModule.cxx.
|
protected |
Get the minimum and maximum positions of the box defining this TGeometryId.
Lovingly stolen from ND::TGeometrySummaryModule::FillBBox().
Definition at line 1210 of file TReconPerformanceEvalModule.cxx.
|
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()().
|
protected |
Extract TReconPIDs from P0DRecon's TReconVertex container.
Definition at line 849 of file TReconPerformanceEvalModule.cxx.
|
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.
|
protected |
Accessor for getting direction from TReconState.
Only supported by TPIDState, TTrackState and TShowerState.
Definition at line 500 of file TReconPerformanceEvalModule.cxx.
|
protected |
Accessor for getting position from TReconState. Only supported by TPIDState.
Definition at line 486 of file TReconPerformanceEvalModule.cxx.
|
protected |
Accessor for getting position from TReconState.
Supported by all TxxxState that inherit from TReconState.
Definition at line 427 of file TReconPerformanceEvalModule.cxx.
|
protected |
Accessor for getting position variance from TReconState.
Supported by all TxxxState that inherit from TReconState.
Definition at line 457 of file TReconPerformanceEvalModule.cxx.
|
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.
Reimplemented in ND::TP0DReconModule, and ND::TSFGReconModule.
Definition at line 17 of file TAnalysisReconModuleBase.hxx.
References ND::TAnalysisModuleBase::kRecon.
|
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 71 of file TReconPerformanceEvalModule.cxx.
|
protectedvirtual |
Initialize Module, override if necessary.
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 69 of file TReconPerformanceEvalModule.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()().
|
virtual |
Is the module is enabled by default.
Default is to enable module. To set to disable override this method in the derived module.
Reimplemented from ND::TAnalysisModuleBase.
Definition at line 443 of file TReconPerformanceEvalModule.hxx.
|
virtual |
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 from ND::TAnalysisModuleBase.
Definition at line 64 of file TReconPerformanceEvalModule.cxx.
|
protected |
Definition at line 312 of file TReconPerformanceEvalModule.cxx.
References eventAnalysisEnums::kP0D.
|
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 59 of file TReconPerformanceEvalModule.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(), 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().
|
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(), 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(), 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(), 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::TReconPerformanceEvalModule::fGlobalReconObjects |
TClonesArray of TGlobalReconObject.
Definition at line 501 of file TReconPerformanceEvalModule.hxx.
Referenced by TReconPerformanceEvalModule().
std::map<std::string, int> ND::TReconPerformanceEvalModule::fHitInfo |
Number of hits in each subdetector.
Definition at line 504 of file TReconPerformanceEvalModule.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(), 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().
|
protectedinherited |
Definition at line 203 of file TAnalysisModuleBase.hxx.
Int_t ND::TReconPerformanceEvalModule::fNGlobalReconObjects |
Tree Entries.
Definition at line 498 of file TReconPerformanceEvalModule.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 |
Flag for whether to save all global nodes or just the first and last nodes.
Definition at line 508 of file TReconPerformanceEvalModule.hxx.
Referenced by TReconPerformanceEvalModule().
|
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.