ATLAS Offline Software
Loading...
Searching...
No Matches
RIO_OnTrackCreator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5// RIO_OnTrackCreator.h
6// Header file for class RIO_OnTrackCreator
8// (c) ATLAS Detector software
10// Wolfgang.Liebig@cern.ch, Andreas.Salzburger@cern.ch
12
13
14#ifndef TRKTOOLS_RIOONTRACKCREATOR_H
15#define TRKTOOLS_RIOONTRACKCREATOR_H
16
17// Athena
19// Trk
22
23class AtlasDetectorID;
24
25namespace Trk {
26
27 class PrepRawData;
28 class RIO_OnTrack;
29
50
51 class RIO_OnTrackCreator final : public extends<AthAlgTool, IRIO_OnTrackCreator> {
52 public:
54 // Public methods:
56
58 using base_class::base_class;
61
63 virtual StatusCode initialize() override;
64
67 const TrackParameters& pars,
68 const EventContext& ctx) const override final;
69
70 private:
72 ToolHandle<IRIO_OnTrackCreator> m_pixClusCor{this, "ToolPixelCluster", ""};
75 ToolHandle<IRIO_OnTrackCreator> m_sctClusCor{this, "ToolSCT_Cluster", ""};
78 ToolHandle<IRIO_OnTrackCreator> m_trt_Cor{this, "ToolTRT_DriftCircle", ""};
81 ToolHandle<IRIO_OnTrackCreator> m_muonDriftCircleCor{this, "ToolMuonDriftCircle", ""};
85 ToolHandle<IRIO_OnTrackCreator> m_muonClusterCor{this, "ToolMuonCluster",""};
86
87 Gaudi::Property<std::string>m_mode{this, "Mode" ,"all" };
88 //emum for the flag
89 enum struct Mode {
90 all = 0,
91 indet = 1,
92 muon = 2,
94 };
96 };
97
98} // end of namespace
99
100#endif // TRKTOOLS_RIOONTRACKCREATOR_H
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
general tool to converts clusters or driftcircles (Trk::PrepRawData) to fully calibrated hits (Trk::R...
ToolHandle< IRIO_OnTrackCreator > m_sctClusCor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::SCT_Clu...
RIO_OnTrack * correct(const PrepRawData &rio, const TrackParameters &pars, const EventContext &ctx) const override final
the master method for going from RIO to ROT.
ToolHandle< IRIO_OnTrackCreator > m_trt_Cor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::TRT::Dr...
ToolHandle< IRIO_OnTrackCreator > m_muonClusterCor
Detector-specific helper tool, performing the actual calibration corrections for the remaining muon d...
Gaudi::Property< std::string > m_mode
flag: can be 'all', 'indet' or 'muon'
ToolHandle< IRIO_OnTrackCreator > m_muonDriftCircleCor
Detector-specific helper tool, performing the actual calibration corrections for every Muon::MdtPrepD...
virtual StatusCode initialize() override
get specific ROT tools and the AtlasIdHelper
ToolHandle< IRIO_OnTrackCreator > m_pixClusCor
Detector-specific helper tool, performing the actual calibration corrections for every InDet::PixelCl...
virtual ~RIO_OnTrackCreator()
virtual destructor
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition RIO_OnTrack.h:70
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters