ATLAS Offline Software
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
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
Trk::ITrackValidationNtupleTool::fillTrackTruthData
virtual StatusCode fillTrackTruthData(const Trk::TrackParameters *&, const TrackTruth &, const int truthIndex=-1)=0
TrackParameters.h
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
tree
TChain * tree
Definition:
tile_monitor.h:30
Trk::ITrackValidationNtupleTool::fillTrackParticleData
virtual StatusCode fillTrackParticleData(const Trk::TrackParticleBase &)=0
fill ntuple data of a given track particle without writing the record.
Trk::ITrackValidationNtupleTool
Definition:
ITrackValidationNtupleTool.h:38
Trk::TrackParticleBase
Definition:
TrackParticleBase.h:41
HepMcParticleLink
a link optimized in size for a GenParticle in a McEventCollection
Definition:
HepMcParticleLink.h:72
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.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::ParametersBase
Definition:
ParametersBase.h:55
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
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
TrackTruth
MC particle associated with a reco track + the quality of match.
Definition:
TrackTruth.h:14
Track
Definition:
TriggerChamberClusterOnTrackCreator.h:21
Trk::ITrackValidationNtupleTool::resetVariables
virtual void resetVariables()=0
reset the variables after writing the record to disk ntuple
Trk::ITrackValidationNtupleTool::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition:
ITrackValidationNtupleTool.h:69
Generated on Fri Jan 10 2025 21:11:55 for ATLAS Offline Software by
1.8.18