ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Trk::IEventPropertyNtupleTool Class Referenceabstract

#include <IEventPropertyNtupleTool.h>

Inheritance diagram for Trk::IEventPropertyNtupleTool:
Collaboration diagram for Trk::IEventPropertyNtupleTool:

Public Member Functions

virtual void registerTrackCollections (std::vector< std::string >, bool)=0
 make active track collections known to tool, such that a delayed addition to tree is possible More...
 
virtual StatusCode addNtupleItems (TTree *tree, const std::string prefix="")=0
 define tree entries on external tree More...
 
virtual void setTrackTreeIndices (unsigned int, int, int)=0
 transfer of track-tree indices into event tree variables, to allow delayed writing by TV or CBNT More...
 
virtual void setGenParticleTreeIndices (int, int)=0
 transfer of truth-tree indices into event tree variables More...
 
virtual StatusCode fillEventData ()=0
 fill ntuple data from calculations, storegate etc but DO NOT WRITE Tree record More...
 
virtual StatusCode resetVariables ()=0
 reset ntuple variables (mainly for vectors which need to be cleared) More...
 
virtual bool isTrackLinkTool () const =0
 is True if instance is Tool which links events property to Trk::Tracks More...
 
virtual bool isTrkParticleLinkTool () const =0
 is True if instance is Tool which links events property to Rec::TrkParticle More...
 
virtual bool isTrkParticleTrigLinkTool () const =0
 is True if instance is Tool which links events property to Rec::TrkParticle recieved using TrigDecTool More...
 
virtual bool isInDetTrackTrigLinkTool () const =0
 is True if instance is Tool which links events property to InDetTrack recieved using TrigDecTool More...
 
virtual bool isEvtPropertyTool () const =0
 is True if instance is EventPropertyTool More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Interface ID, declared here, and defined below*‍/. More...
 

Detailed Description

provides the interface for validation tools which write special information about the whole event into ntuples. Such info is for instance timing and trigger. It also serves as the hybrid link between either the Trk::TrackValidationNtupleWriter or CBNT as the TTree-managing entity.

Author
Wolfgang.Liebig -at- cern.ch

Definition at line 34 of file IEventPropertyNtupleTool.h.

Member Function Documentation

◆ addNtupleItems()

virtual StatusCode Trk::IEventPropertyNtupleTool::addNtupleItems ( TTree *  tree,
const std::string  prefix = "" 
)
pure virtual

define tree entries on external tree

Parameters
[in]treeis the TTree from the Trk::TrackValidationNtupleWriter or from CBNT
[in]prefixis usually none, but allows a tracking-specific prefix when added to CBNT

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ fillEventData()

virtual StatusCode Trk::IEventPropertyNtupleTool::fillEventData ( )
pure virtual

fill ntuple data from calculations, storegate etc but DO NOT WRITE Tree record

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ interfaceID()

const InterfaceID & Trk::IEventPropertyNtupleTool::interfaceID ( )
inlinestatic

Interface ID, declared here, and defined below*‍/.

Definition at line 77 of file IEventPropertyNtupleTool.h.

77  {
78  return IID_IEventPropertyNtupleTool;
79 }

◆ isEvtPropertyTool()

virtual bool Trk::IEventPropertyNtupleTool::isEvtPropertyTool ( ) const
pure virtual

is True if instance is EventPropertyTool

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ isInDetTrackTrigLinkTool()

virtual bool Trk::IEventPropertyNtupleTool::isInDetTrackTrigLinkTool ( ) const
pure virtual

is True if instance is Tool which links events property to InDetTrack recieved using TrigDecTool

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ isTrackLinkTool()

virtual bool Trk::IEventPropertyNtupleTool::isTrackLinkTool ( ) const
pure virtual

is True if instance is Tool which links events property to Trk::Tracks

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ isTrkParticleLinkTool()

virtual bool Trk::IEventPropertyNtupleTool::isTrkParticleLinkTool ( ) const
pure virtual

is True if instance is Tool which links events property to Rec::TrkParticle

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ isTrkParticleTrigLinkTool()

virtual bool Trk::IEventPropertyNtupleTool::isTrkParticleTrigLinkTool ( ) const
pure virtual

is True if instance is Tool which links events property to Rec::TrkParticle recieved using TrigDecTool

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ registerTrackCollections()

virtual void Trk::IEventPropertyNtupleTool::registerTrackCollections ( std::vector< std::string >  ,
bool   
)
pure virtual

make active track collections known to tool, such that a delayed addition to tree is possible

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ resetVariables()

virtual StatusCode Trk::IEventPropertyNtupleTool::resetVariables ( )
pure virtual

reset ntuple variables (mainly for vectors which need to be cleared)

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ setGenParticleTreeIndices()

virtual void Trk::IEventPropertyNtupleTool::setGenParticleTreeIndices ( int  ,
int   
)
pure virtual

transfer of truth-tree indices into event tree variables

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.

◆ setTrackTreeIndices()

virtual void Trk::IEventPropertyNtupleTool::setTrackTreeIndices ( unsigned int  ,
int  ,
int   
)
pure virtual

transfer of track-tree indices into event tree variables, to allow delayed writing by TV or CBNT

Implemented in Trk::EventToTrackLinkNtupleTool, and Trk::EventPropertyNtupleTool.


The documentation for this class was generated from the following file: