ATLAS Offline Software
Tracking
TrkValidation
TrkValInterfaces
TrkValInterfaces
IDirectTrackNtupleWriter.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
// IDirectTrackNtupleWriter.h
7
// Header file for interface of ValidationNtupleTool in a flavour
8
// that books its own tree
10
// (c) ATLAS Detector software
12
// Sebastian.Fleischmann -at- cern.ch
14
15
#ifndef TRK_IDIRECTTRACKNTUPLEWRITERTOOL_H
16
#define TRK_IDIRECTTRACKNTUPLEWRITERTOOL_H
17
18
#include "GaudiKernel/IAlgTool.h"
19
#include "
TrkParameters/TrackParameters.h
"
20
#include <vector>
21
22
class
TrackTruth
;
23
class
TTree;
24
class
HepMcParticleLink
;
25
26
namespace
Trk
{
27
static
const
InterfaceID IID_IDirectTrackNtupleWriter(
"IDirectTrackNtupleWriter"
,1,0);
28
29
class
TrackParticleBase;
30
class
Track
;
31
32
46
class
IDirectTrackNtupleWriter
:
virtual
public
IAlgTool {
47
public
:
49
static
const
InterfaceID&
interfaceID
();
50
52
virtual
StatusCode
writeTrackData
(
53
const
Trk::Track
&,
54
const
int
iterationIndex,
55
const
unsigned
int
fitStatCode = 0) = 0;
56
58
virtual
StatusCode
writeTrackParticleData
(
59
const
Trk::TrackParticleBase
& ) = 0;
60
61
};
62
63
inline
const
InterfaceID&
Trk::IDirectTrackNtupleWriter::interfaceID
() {
64
return
IID_IDirectTrackNtupleWriter;
65
}
66
67
}
// end of namespace
68
69
#endif // TRK_IDIRECTTRACKNTUPLEWRITERTOOL_H
Trk::IDirectTrackNtupleWriter::writeTrackData
virtual StatusCode writeTrackData(const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode=0)=0
fill AND write ntuple data of a given track
TrackParameters.h
Trk::Track
The ATLAS Track class.
Definition:
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::IDirectTrackNtupleWriter::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition:
IDirectTrackNtupleWriter.h:63
Trk::IDirectTrackNtupleWriter::writeTrackParticleData
virtual StatusCode writeTrackParticleData(const Trk::TrackParticleBase &)=0
fill AND write ntuple data of a given track particle
Trk::TrackParticleBase
Definition:
TrackParticleBase.h:41
HepMcParticleLink
a link optimized in size for a GenParticle in a McEventCollection
Definition:
HepMcParticleLink.h:72
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
Trk::IDirectTrackNtupleWriter
Interface to set up and write a TrkValidation ntuple so that it can be called for validation action '...
Definition:
IDirectTrackNtupleWriter.h:46
Track
Definition:
TriggerChamberClusterOnTrackCreator.h:21
Generated on Sun Dec 22 2024 21:11:26 for ATLAS Offline Software by
1.8.18