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

#include <ITrackValidationNtupleTool.h>

Inheritance diagram for Trk::ITrackValidationNtupleTool:
Collaboration diagram for Trk::ITrackValidationNtupleTool:

Public Member Functions

virtual StatusCode addNtupleItems (TTree *tree)=0
 add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter) More...
 
virtual StatusCode fillTrackData (const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode=0)=0
 fill ntuple data of a given track without writing the record. More...
 
virtual StatusCode fillTrackParticleData (const Trk::TrackParticleBase &)=0
 fill ntuple data of a given track particle without writing the record. More...
 
virtual StatusCode fillTrackTruthData (const Trk::TrackParameters *&, const TrackTruth &, const int truthIndex=-1)=0
 
virtual void resetVariables ()=0
 reset the variables after writing the record to disk ntuple 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 generated tracks into ntuples.

Definition at line 38 of file ITrackValidationNtupleTool.h.

Member Function Documentation

◆ addNtupleItems()

virtual StatusCode Trk::ITrackValidationNtupleTool::addNtupleItems ( TTree *  tree)
pure virtual

add branches to the tree Should be called once (per track collection and tree) dunring the initialisation phase by the calling algorithm (usually Trk::TrackValidationNtupleWriter)

Implemented in Trk::MeasurementVectorNtupleTool, Trk::TrackInformationNtupleTool, and Trk::PerigeeParametersNtupleTool.

◆ fillTrackData()

virtual StatusCode Trk::ITrackValidationNtupleTool::fillTrackData ( const Trk::Track ,
const int  iterationIndex,
const unsigned int  fitStatCode = 0 
)
pure virtual

fill ntuple data of a given track without writing the record.

  • if this method is called twice without writing the ntuple inbetween the first data will be lost!

Implemented in Trk::MeasurementVectorNtupleTool, Trk::TrackInformationNtupleTool, and Trk::PerigeeParametersNtupleTool.

◆ fillTrackParticleData()

virtual StatusCode Trk::ITrackValidationNtupleTool::fillTrackParticleData ( const Trk::TrackParticleBase )
pure virtual

fill ntuple data of a given track particle without writing the record.

  • if this method is called twice without writing the ntuple inbetween the first data will be lost!

Implemented in Trk::MeasurementVectorNtupleTool, Trk::TrackInformationNtupleTool, and Trk::PerigeeParametersNtupleTool.

◆ fillTrackTruthData()

virtual StatusCode Trk::ITrackValidationNtupleTool::fillTrackTruthData ( const Trk::TrackParameters *&  ,
const TrackTruth ,
const int  truthIndex = -1 
)
pure virtual

◆ interfaceID()

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

Interface ID, declared here, and defined below.

Definition at line 69 of file ITrackValidationNtupleTool.h.

69  {
70  return IID_ITrackValidationNtupleTool;
71 }

◆ resetVariables()

virtual void Trk::ITrackValidationNtupleTool::resetVariables ( )
pure virtual

reset the variables after writing the record to disk ntuple

Implemented in Trk::MeasurementVectorNtupleTool, Trk::TrackInformationNtupleTool, and Trk::PerigeeParametersNtupleTool.


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