ATLAS Offline Software
Loading...
Searching...
No Matches
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
22static const float s_errorEntry = -1000.0;
23
24class TTree;
25
26namespace Trk {
27static const InterfaceID IID_IValidationNtupleHelperTool("IValidationNtupleHelperTool",1,0);
28
29class MeasurementBase;
31class Track;
32
41
42class IValidationNtupleHelperTool : virtual public IAlgTool {
43public:
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 (
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 (
68 const int& detectorType) = 0;
69
71 virtual StatusCode resetVariables (
72 const int& detectorType ) = 0;
73
74};
75
79
80} // end of namespace
81
82#endif // TRK_IVALIDATIONNTUPLEHELPERTOOL_H
static const float s_errorEntry
provides the interface for validation helper tools which write special information about generated tr...
virtual StatusCode addNtupleItems(TTree *tree, const int &detectorType)=0
add items to the ntuple and configure the helper tool.
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
virtual StatusCode fillHoleData(const Trk::TrackStateOnSurface &, const int &detectorType)=0
fill special data about holes on track
virtual StatusCode fillMeasurementData(const Trk::MeasurementBase *, const Trk::TrackParameters *, const int &detectorType, const bool &isOutlier)=0
fill special data about measurements
virtual StatusCode resetVariables(const int &detectorType)=0
reset ntuple variables
This class is the pure abstract base class for all fittable tracking measurements.
represents the track state (measurement, material, fit parameters and quality) at a surface.
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_IValidationNtupleHelperTool("IValidationNtupleHelperTool", 1, 0)
ParametersBase< TrackParametersDim, Charged > TrackParameters
TChain * tree