ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetCalibTools
TRT_CalibTools
src
FillAlignTRTHits.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRT_CALIBTOOLS__FILLALIGNTRTHITS_H
6
#define TRT_CALIBTOOLS__FILLALIGNTRTHITS_H
7
/********************************************************************
8
9
NAME: FillAlignTRTHits
10
PACKAGE: TRT_AlignTOOLS
11
12
AUTHORS: Jorgen Beck Hansen
13
CREATED: December 2005
14
15
PURPOSE: Tool to fill Hit info into the TRT::Hit messenger class
16
17
********************************************************************/
18
19
// INCLUDES:
20
21
#include <string>
22
#include "
TRT_CalibTools/IFillAlignTrkInfo.h
"
23
#include "
TRT_ConditionsServices/ITRT_StrawNeighbourSvc.h
"
24
#include "
TRT_ConditionsServices/ITRT_CalDbTool.h
"
25
#include "
TRT_ConditionsServices/ITRT_StrawStatusSummaryTool.h
"
26
#include "
TRT_DriftCircleTool/ITRT_DriftCircleTool.h
"
27
#include "
AthenaBaseComps/AthAlgTool.h
"
28
#include "GaudiKernel/ToolHandle.h"
29
#include "GaudiKernel/ServiceHandle.h"
30
#include "
TrkToolInterfaces/IUpdator.h
"
31
#include <TNtuple.h>
32
#include <TFile.h>
33
#include "
TRT_DriftFunctionTool/ITRT_DriftFunctionTool.h
"
34
35
// Gaudi includes
36
#include "Gaudi/Property.h"
37
38
39
class
AtlasDetectorID
;
40
class
TRT_ID
;
41
42
namespace
Trk
{
43
class
IPropagator
;
44
class
RIO_OnTrack
;
45
class
Track
;
46
class
TrackStateOnSurface
;
47
class
ITruthToTrack
;
48
class
IResidualPullCalculator
;
49
}
50
51
class
FillAlignTRTHits
:
virtual
public
IFillAlignTrkInfo
,
public
AthAlgTool
{
52
public
:
53
54
FillAlignTRTHits
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
55
56
virtual
~FillAlignTRTHits
() {}
57
58
virtual
StatusCode
initialize
();
59
virtual
StatusCode
finalize
();
60
61
//virtual bool fill(const Trk::Track* aTrack, TRT::TrackInfo* output) const;
62
virtual
bool
fill
(
const
Trk::Track
* aTrack,
TRT::TrackInfo
* output,
const
xAOD::EventInfo
& eventInfo,
63
const
xAOD::VertexContainer
& vertices);
64
65
private
:
66
const
AtlasDetectorID
*
m_DetID
;
67
const
TRT_ID
*
m_TRTID
;
68
69
ToolHandle< ITRT_DriftFunctionTool >
m_driftFunctionTool
{
this
,
"TRTDriftFunctionTool"
,
"TRT_DriftFunctionTool"
,
"Drift function tool name"
};
70
ToolHandle<Trk::IUpdator>
m_updator
{
this
,
"UpdatorTool"
,
"Trk::KalmanUpdator/TrkKalmanUpdator"
,
"Measurement updator to calculate unbiased track states"
};
71
ToolHandle<ITRT_CalDbTool>
m_trtcaldbTool
{
this
,
"TRTCalDbTool"
,
"CalDbTool"
,
"Access to the folder of the calibration constants"
};
72
ServiceHandle<ITRT_StrawNeighbourSvc>
m_neighbourSvc
{
this
,
"NeighbourSvc"
,
"NeighbourSvc"
,
""
};
73
ToolHandle<ITRT_StrawStatusSummaryTool>
m_TRTStrawSummaryTool
{
this
,
"TRTStrawSummaryTool"
,
"InDetTRTStrawStatusSummaryTool"
,
""
};
74
75
Gaudi::Property<std::string>
m_ntupleName
{
this
,
"NtupleName"
,
"basic.root"
,
"Changes the name of the ntuple Output"
};
76
77
float
m_maxDistance
;
78
float
m_maxTimeResidual
;
79
int
m_minTimebinsOverThreshold
;
80
float
m_maxTrackChisquarePerDof
;
81
unsigned
int
m_numOfHitsTotal
;
82
unsigned
int
m_numOfHitsAccepted
;
83
unsigned
int
m_numOfProcessedTracks
;
84
float
m_DoMCCosmicTimeShift
;
85
86
TFile*
m_f
;
87
TNtuple*
m_ntuple
;
88
};
89
90
#endif
// TRT_CALIBTOOLS__FILLALIGNTRTHITS_H
AthAlgTool.h
IFillAlignTrkInfo.h
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
ITRT_DriftCircleTool.h
ITRT_DriftFunctionTool.h
ITRT_StrawNeighbourSvc.h
Abstract interface to information on straws electronic grouping.
ITRT_StrawStatusSummaryTool.h
abstract interface to TRT straw status constants
IUpdator.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
FillAlignTRTHits::m_minTimebinsOverThreshold
int m_minTimebinsOverThreshold
Definition
FillAlignTRTHits.h:79
FillAlignTRTHits::FillAlignTRTHits
FillAlignTRTHits(const std::string &type, const std::string &name, const IInterface *parent)
Definition
FillAlignTRTHits.cxx:38
FillAlignTRTHits::m_ntuple
TNtuple * m_ntuple
Definition
FillAlignTRTHits.h:87
FillAlignTRTHits::m_maxDistance
float m_maxDistance
Definition
FillAlignTRTHits.h:77
FillAlignTRTHits::finalize
virtual StatusCode finalize()
Definition
FillAlignTRTHits.cxx:75
FillAlignTRTHits::fill
virtual bool fill(const Trk::Track *aTrack, TRT::TrackInfo *output, const xAOD::EventInfo &eventInfo, const xAOD::VertexContainer &vertices)
Definition
FillAlignTRTHits.cxx:85
FillAlignTRTHits::m_maxTimeResidual
float m_maxTimeResidual
Definition
FillAlignTRTHits.h:78
FillAlignTRTHits::m_TRTID
const TRT_ID * m_TRTID
Definition
FillAlignTRTHits.h:67
FillAlignTRTHits::m_numOfHitsTotal
unsigned int m_numOfHitsTotal
Definition
FillAlignTRTHits.h:81
FillAlignTRTHits::m_ntupleName
Gaudi::Property< std::string > m_ntupleName
Definition
FillAlignTRTHits.h:75
FillAlignTRTHits::m_numOfProcessedTracks
unsigned int m_numOfProcessedTracks
Definition
FillAlignTRTHits.h:83
FillAlignTRTHits::m_updator
ToolHandle< Trk::IUpdator > m_updator
Definition
FillAlignTRTHits.h:70
FillAlignTRTHits::initialize
virtual StatusCode initialize()
Definition
FillAlignTRTHits.cxx:59
FillAlignTRTHits::m_neighbourSvc
ServiceHandle< ITRT_StrawNeighbourSvc > m_neighbourSvc
Definition
FillAlignTRTHits.h:72
FillAlignTRTHits::m_DetID
const AtlasDetectorID * m_DetID
Definition
FillAlignTRTHits.h:66
FillAlignTRTHits::m_DoMCCosmicTimeShift
float m_DoMCCosmicTimeShift
Definition
FillAlignTRTHits.h:84
FillAlignTRTHits::m_numOfHitsAccepted
unsigned int m_numOfHitsAccepted
Definition
FillAlignTRTHits.h:82
FillAlignTRTHits::m_trtcaldbTool
ToolHandle< ITRT_CalDbTool > m_trtcaldbTool
Definition
FillAlignTRTHits.h:71
FillAlignTRTHits::m_f
TFile * m_f
Definition
FillAlignTRTHits.h:86
FillAlignTRTHits::~FillAlignTRTHits
virtual ~FillAlignTRTHits()
Definition
FillAlignTRTHits.h:56
FillAlignTRTHits::m_TRTStrawSummaryTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
Definition
FillAlignTRTHits.h:73
FillAlignTRTHits::m_driftFunctionTool
ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
Definition
FillAlignTRTHits.h:69
FillAlignTRTHits::m_maxTrackChisquarePerDof
float m_maxTrackChisquarePerDof
Definition
FillAlignTRTHits.h:80
IFillAlignTrkInfo
Definition
IFillAlignTrkInfo.h:35
ServiceHandle
Definition
ClusterMakerTool.h:36
TRT::TrackInfo
Definition
InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:72
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
Trk::IPropagator
Interface class IPropagators It inherits from IAlgTool.
Definition
IPropagator.h:54
Trk::IResidualPullCalculator
provides the interface for tools which calculate residuals and pulls.
Definition
IResidualPullCalculator.h:35
Trk::ITruthToTrack
ITruthToTrack is an interface to create Trk::TrackParameters from a HepMC::GenParticle.
Definition
ITruthToTrack.h:37
Trk::RIO_OnTrack
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition
RIO_OnTrack.h:70
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition
TrackStateOnSurface.h:71
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
type
Generated on
for ATLAS Offline Software by
1.17.0