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

#include <IValidationNtupleTool.h>

Inheritance diagram for Trk::IValidationNtupleTool:
Collaboration diagram for Trk::IValidationNtupleTool:

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 writeTrackData (const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode=0)=0
 fill AND write ntuple data of a given track More...
 
virtual StatusCode writeTrackParticleData (const Trk::TrackParticleBase &)=0
 fill AND write ntuple data of a given track particle 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 fillTrackParameter (const Trk::TrackParameters *, const int iterationIndex)=0
 fill ntuple data of a given track without writing the record. More...
 
virtual StatusCode fillMeasurementData (const Trk::MeasurementBase *, const Trk::TrackParameters *)=0
 fill ntuple data of given measurement and track parameters without writing the record More...
 
virtual StatusCode fillOutlierData (const Trk::MeasurementBase *, const Trk::TrackParameters *, const Trk::FitQualityOnSurface *)=0
 fill ntuple data of an outlier measurement (without writing the record yet). More...
 
virtual StatusCode fillHoleData (const Trk::TrackStateOnSurface &)=0
 fill ntuple data of holes on track without writing the record More...
 
virtual StatusCode fillTrackTruthData (const TrackParameters *&, const TrackTruth &, const int truthIndex=-1)=0
 
virtual StatusCode writeRecord (TTree *tree)=0
 write the filled data into the 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 41 of file IValidationNtupleTool.h.

Member Function Documentation

◆ addNtupleItems()

virtual StatusCode Trk::IValidationNtupleTool::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::BasicValTrkParticleNtupleTool.

◆ fillHoleData()

virtual StatusCode Trk::IValidationNtupleTool::fillHoleData ( const Trk::TrackStateOnSurface )
pure virtual

fill ntuple data of holes on track without writing the record

Implemented in Trk::BasicValTrkParticleNtupleTool.

◆ fillMeasurementData()

virtual StatusCode Trk::IValidationNtupleTool::fillMeasurementData ( const Trk::MeasurementBase ,
const Trk::TrackParameters  
)
pure virtual

fill ntuple data of given measurement and track parameters without writing the record

Implemented in Trk::BasicValTrkParticleNtupleTool.

◆ fillOutlierData()

virtual StatusCode Trk::IValidationNtupleTool::fillOutlierData ( const Trk::MeasurementBase ,
const Trk::TrackParameters ,
const Trk::FitQualityOnSurface  
)
pure virtual

fill ntuple data of an outlier measurement (without writing the record yet).

The TrackParameters and FQoS are optional, i.e. NULL pointers should be handled by the implementation

Implemented in Trk::BasicValTrkParticleNtupleTool.

◆ fillTrackData()

virtual StatusCode Trk::IValidationNtupleTool::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::BasicValTrkParticleNtupleTool.

◆ fillTrackParameter()

virtual StatusCode Trk::IValidationNtupleTool::fillTrackParameter ( const Trk::TrackParameters ,
const int  iterationIndex 
)
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::BasicValTrkParticleNtupleTool.

◆ fillTrackParticleData()

virtual StatusCode Trk::IValidationNtupleTool::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::BasicValTrkParticleNtupleTool.

◆ fillTrackTruthData()

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

◆ interfaceID()

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

Interface ID, declared here, and defined below.

Definition at line 105 of file IValidationNtupleTool.h.

105  {
106  return IID_IValidationNtupleTool;
107 }

◆ writeRecord()

virtual StatusCode Trk::IValidationNtupleTool::writeRecord ( TTree *  tree)
pure virtual

write the filled data into the ntuple

Implemented in Trk::BasicValTrkParticleNtupleTool.

◆ writeTrackData()

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

fill AND write ntuple data of a given track

Implemented in Trk::BasicValTrkParticleNtupleTool.

◆ writeTrackParticleData()

virtual StatusCode Trk::IValidationNtupleTool::writeTrackParticleData ( const Trk::TrackParticleBase )
pure virtual

fill AND write ntuple data of a given track particle

Implemented in Trk::BasicValTrkParticleNtupleTool.


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