ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkValidation
TrkValInterfaces
TrkValInterfaces
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>
19
#include "
TrkParameters/TrackParameters.h
"
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
41
42
class
IValidationNtupleHelperTool
:
virtual
public
IAlgTool {
43
public
:
44
46
static
const
InterfaceID&
interfaceID
();
47
51
virtual
StatusCode
addNtupleItems
(
52
TTree*
tree
,
53
//const std::bitset<8>& detectorType
54
const
int
& detectorType ) = 0;
55
57
virtual
StatusCode
fillMeasurementData
(
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
66
virtual
StatusCode
fillHoleData
(
67
const
Trk::TrackStateOnSurface
&,
68
const
int
& detectorType) = 0;
69
71
virtual
StatusCode
resetVariables
(
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
s_errorEntry
static const float s_errorEntry
Definition
IValidationNtupleHelperTool.h:22
TrackParameters.h
Trk::IValidationNtupleHelperTool
provides the interface for validation helper tools which write special information about generated tr...
Definition
IValidationNtupleHelperTool.h:42
Trk::IValidationNtupleHelperTool::addNtupleItems
virtual StatusCode addNtupleItems(TTree *tree, const int &detectorType)=0
add items to the ntuple and configure the helper tool.
Trk::IValidationNtupleHelperTool::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition
IValidationNtupleHelperTool.h:76
Trk::IValidationNtupleHelperTool::fillHoleData
virtual StatusCode fillHoleData(const Trk::TrackStateOnSurface &, const int &detectorType)=0
fill special data about holes on track
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::resetVariables
virtual StatusCode resetVariables(const int &detectorType)=0
reset ntuple variables
Trk::MeasurementBase
This class is the pure abstract base class for all fittable tracking measurements.
Definition
MeasurementBase.h:58
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition
TrackStateOnSurface.h:71
Track
Definition
TriggerChamberClusterOnTrackCreator.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::IID_IValidationNtupleHelperTool
static const InterfaceID IID_IValidationNtupleHelperTool("IValidationNtupleHelperTool", 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