ATLAS Offline Software
Loading...
Searching...
No Matches
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"
20#include <vector>
21
22class TrackTruth;
23class TTree;
25
26namespace Trk {
27static const InterfaceID IID_IDirectTrackNtupleWriter("IDirectTrackNtupleWriter",1,0);
28
30class Track;
31
32
45
46class IDirectTrackNtupleWriter : virtual public IAlgTool {
47public:
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
66
67} // end of namespace
68
69#endif // TRK_IDIRECTTRACKNTUPLEWRITERTOOL_H
MC particle associated with a reco track + the quality of match.
Definition TrackTruth.h:14
Interface to set up and write a TrkValidation ntuple so that it can be called for validation action '...
virtual StatusCode writeTrackParticleData(const Trk::TrackParticleBase &)=0
fill AND write ntuple data of a given track particle
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
virtual StatusCode writeTrackData(const Trk::Track &, const int iterationIndex, const unsigned int fitStatCode=0)=0
fill AND write ntuple data of a given track
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_IDirectTrackNtupleWriter("IDirectTrackNtupleWriter", 1, 0)