|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRK_TRACKVALIDATIONNTUPLEWRITER_H
10 #define TRK_TRACKVALIDATIONNTUPLEWRITER_H
14 #include "GaudiKernel/ToolHandle.h"
29 class IGenParticleJetFinder;
30 class ITrackSelectorTool;
31 class ITrackValidationNtupleTool;
32 class IValidationNtupleTool;
33 class IGenParticleSelector;
34 class ITruthNtupleTool;
35 class IJetTruthNtupleTool;
36 class ITrackTruthClassifier;
37 class IEventPropertyNtupleTool;
38 class ValidationTrackTruthData;
68 std::vector<Trk::ValidationTrackTruthData>& truthData,
107 #endif // TRK_TRACKVALIDATIONNTUPLEWRITER_H
StatusCode finalize()
standard Athena-Algorithm method
std::vector< std::string > m_inputTrackCollection
name of the TrackCollection
Vertex_v1 Vertex
Define the latest version of the vertex class.
TTree * m_eventLinkTree
pointer to event-wise ntuple trees (one for all input track collections + truth)
StatusCode writeTrackParticleData(unsigned int trackParticleColIndex)
method to write track particle data to Ntuple.
ToolHandleArray< Trk::ITrackValidationNtupleTool > m_ValidationNtupleTools
set of tools for writing Trk::Track into the Ntuple
GenParticle * GenParticlePtr
StatusCode execute()
standard Athena-Algorithm method
bool m_doTruth
Switch to turn on / off truth.
std::vector< std::string > m_inputTrackParticleCollection
name of the TrackParticleCollection
~TrackValidationNtupleWriter()
Default Destructor.
HepMC::GenParticlePtr m_visibleParticleWithoutTruth
Switch to turn on/pff recording track particle trees into Ntuple.
std::string m_ntupleFileName
jobOption: Ntuple file name
StatusCode initialize()
standard Athena-Algorithm method
std::string m_inputPrimaryVertexCollection
SG key of the input primary vertex collection (used by the track selector)
std::vector< Trk::IEventPropertyNtupleTool * > m_eventPropertyNtupleTools
list of event property tools
ToolHandleArray< Trk::IEventPropertyNtupleTool > m_eventPropertyNtupleHandles
jobO: list of event property tools
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< Trk::IValidationNtupleTool > m_ValTrkParticleNtupleTool
Tool for writting Rec::TrackParticle into the Ntuple – OBSOLETE.
ToolHandle< Trk::IGenParticleSelector > m_genPartSelector
Tool handle to the Trk::IGenParticleSelector.
TrackValidationNtupleWriter(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Ensure that the ATLAS eigen extensions are properly loaded.
ToolHandleArray< Trk::ITrackTruthClassifier > m_trackTruthClassifierHandles
jobO: list of truth classifiers
std::string m_ntupleDirName
jobOption: Ntuple directory name
ToolHandle< Trk::ITrackSelectorTool > m_trackSelector
Tool handle to the Trk::ITrackSelectorTool.
ToolHandle< Trk::IGenParticleJetFinder > m_genJetFinder
Tool to find jets.
MC particle associated with a reco track + the quality of match.
ToolHandle< Trk::ITruthNtupleTool > m_truthNtupleTool
StatusCode writeTrackData(unsigned int trackColIndex, std::vector< Trk::ValidationTrackTruthData > &truthData, const Trk::Vertex *primaryVertex=NULL)
< following methods and atributes are used in derived class TrigTrackValidationNtupleWriter Private m...
ToolHandle< Trk::IJetTruthNtupleTool > m_jetTruthNtupleTool
std::string m_McEventCollectionName
name of the McEventCollection
std::vector< std::string > m_trackTruthCollectionName
name of the TrackTruthCollection
std::vector< TTree * > m_trees
Pointer to the NTuple trees (one for each input track collection)
std::vector< unsigned int > m_nTrackTreeRecords
ToolHandle< Trk::ITruthToTrack > m_truthToTrack
Tool handle to the Trk::TruthToTrack tool.
std::vector< const Trk::ITrackTruthClassifier * > m_trackTruthClassifiers
the truth classifiers
bool m_useExternalEventLinkTree
if TVNW should make event tree itself or assume CBNT does