ATLAS Offline Software
IValidationNtupleHelperTool.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 // IValidationNtupleHelperTool.h
7 // Header file for interface of ValidationNtupleHelperTools
9 // (c) ATLAS Detector software
11 
12 #ifndef TRK_IVALIDATIONNTUPLEHELPERTOOL_H
13 #define TRK_IVALIDATIONNTUPLEHELPERTOOL_H
14 
15 #include "GaudiKernel/IAlgTool.h"
16 #include <vector>
17 //#include <bitset>
18 #include <string>
20 //#include "TrkEventPrimitives/TrackStateDefs.h" // for clients to interpret the int detectortype
21 
22 static const float s_errorEntry = -1000.0;
23 
24 class TTree;
25 
26 namespace Trk {
27 static const InterfaceID IID_IValidationNtupleHelperTool("IValidationNtupleHelperTool",1,0);
28 
29 class MeasurementBase;
30 class TrackStateOnSurface;
31 class Track;
32 
42 class IValidationNtupleHelperTool : virtual public IAlgTool {
43 public:
44 
46  static const InterfaceID& interfaceID();
47 
52  TTree* tree,
53  //const std::bitset<8>& detectorType
54  const int& detectorType ) = 0;
55 
58  const Trk::MeasurementBase*,
59  const Trk::TrackParameters*,
60  //const NTuple::Item<long>& numberOfHits,
61  //const std::bitset<8>& detectorType
62  const int& detectorType,
63  const bool& isOutlier) = 0;
64 
68  const int& detectorType) = 0;
69 
72  const int& detectorType ) = 0;
73 
74 };
75 
76 inline const InterfaceID& Trk::IValidationNtupleHelperTool::interfaceID() {
77  return IID_IValidationNtupleHelperTool;
78 }
79 
80 } // end of namespace
81 
82 #endif // TRK_IVALIDATIONNTUPLEHELPERTOOL_H
TrackParameters.h
Trk::IValidationNtupleHelperTool::fillHoleData
virtual StatusCode fillHoleData(const Trk::TrackStateOnSurface &, const int &detectorType)=0
fill special data about holes on track
tree
TChain * tree
Definition: tile_monitor.h:30
Trk::IValidationNtupleHelperTool::fillMeasurementData
virtual StatusCode fillMeasurementData(const Trk::MeasurementBase *, const Trk::TrackParameters *, const int &detectorType, const bool &isOutlier)=0
fill special data about measurements
Trk::IValidationNtupleHelperTool::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition: IValidationNtupleHelperTool.h:76
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk::MeasurementBase
Definition: MeasurementBase.h:58
Trk::IValidationNtupleHelperTool::addNtupleItems
virtual StatusCode addNtupleItems(TTree *tree, const int &detectorType)=0
add items to the ntuple and configure the helper tool.
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition: TrackStateOnSurface.h:71
Trk::IValidationNtupleHelperTool::resetVariables
virtual StatusCode resetVariables(const int &detectorType)=0
reset ntuple variables
Trk::IValidationNtupleHelperTool
provides the interface for validation helper tools which write special information about generated tr...
Definition: IValidationNtupleHelperTool.h:42
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21