ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkValidation
TrkValInterfaces
TrkValInterfaces
ITrackValidationNtupleTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// IValidationNtupleTool.h
7
// Header file for interface of ValidationNtupleTools
9
// (c) ATLAS Detector software
11
// Sebastian.Fleischmann@cern.ch
13
14
#ifndef TRK_ITRACKVALIDATIONNTUPLETOOL_H
15
#define TRK_ITRACKVALIDATIONNTUPLETOOL_H
16
17
#include "GaudiKernel/IAlgTool.h"
18
#include "
TrkParameters/TrackParameters.h
"
19
20
class
TrackTruth
;
21
class
TTree;
22
class
HepMcParticleLink
;
23
24
namespace
Trk
{
25
static
const
InterfaceID
IID_ITrackValidationNtupleTool
(
"ITrackValidationNtupleTool"
,1,0);
26
27
class
TrackParticleBase
;
28
class
MeasurementBase
;
29
class
Track
;
30
class
TrackStateOnSurface
;
31
32
37
38
class
ITrackValidationNtupleTool
:
virtual
public
IAlgTool {
39
public
:
41
static
const
InterfaceID&
interfaceID
();
42
46
virtual
StatusCode
addNtupleItems
(
47
TTree*
tree
) = 0;
48
51
virtual
StatusCode
fillTrackData
(
52
const
Trk::Track
&,
53
const
int
iterationIndex,
54
const
unsigned
int
fitStatCode = 0) = 0;
55
58
virtual
StatusCode
fillTrackParticleData
(
59
const
Trk::TrackParticleBase
&) = 0;
60
61
virtual
StatusCode
fillTrackTruthData
(
const
Trk::TrackParameters
*&,
62
const
TrackTruth
&,
63
const
int
truthIndex = -1 ) = 0;
64
66
virtual
void
resetVariables
( ) = 0;
67
};
68
69
inline
const
InterfaceID&
Trk::ITrackValidationNtupleTool::interfaceID
() {
70
return
IID_ITrackValidationNtupleTool
;
71
}
72
73
}
// end of namespace
74
75
#endif
// TRK_ITRACKVALIDATIONNTUPLETOOL_H
TrackParameters.h
HepMcParticleLink
a link optimized in size for a GenParticle in a McEventCollection
Definition
HepMcParticleLink.h:72
TrackTruth
MC particle associated with a reco track + the quality of match.
Definition
TrackTruth.h:14
Trk::ITrackValidationNtupleTool
provides the interface for validation tools which write special information about generated tracks in...
Definition
ITrackValidationNtupleTool.h:38
Trk::ITrackValidationNtupleTool::fillTrackTruthData
virtual StatusCode fillTrackTruthData(const Trk::TrackParameters *&, const TrackTruth &, const int truthIndex=-1)=0
Trk::ITrackValidationNtupleTool::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition
ITrackValidationNtupleTool.h:69
Trk::ITrackValidationNtupleTool::resetVariables
virtual void resetVariables()=0
reset the variables after writing the record to disk ntuple
Trk::ITrackValidationNtupleTool::fillTrackData
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.
Trk::ITrackValidationNtupleTool::fillTrackParticleData
virtual StatusCode fillTrackParticleData(const Trk::TrackParticleBase &)=0
fill ntuple data of a given track particle without writing the record.
Trk::ITrackValidationNtupleTool::addNtupleItems
virtual StatusCode addNtupleItems(TTree *tree)=0
add branches to the tree Should be called once (per track collection and tree) dunring the initialisa...
Trk::MeasurementBase
This class is the pure abstract base class for all fittable tracking measurements.
Definition
MeasurementBase.h:58
Trk::TrackParticleBase
Definition
TrackParticleBase.h:41
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition
TrackStateOnSurface.h:71
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Track
Definition
TriggerChamberClusterOnTrackCreator.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::IID_ITrackValidationNtupleTool
static const InterfaceID IID_ITrackValidationNtupleTool("ITrackValidationNtupleTool", 1, 0)
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
tree
TChain * tree
Definition
tile_monitor.h:30
Generated on
for ATLAS Offline Software by
1.17.0