ATLAS Offline Software
MuonCombinedTimingTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef RECMUONCOMBINEDTIMINGTOOL_H
6 #define RECMUONCOMBINEDTIMINGTOOL_H
7 
9 #include "GaudiKernel/ToolHandle.h"
13 #include "xAODMuon/Muon.h"
14 
15 namespace Rec {
16 class IMuonPropertiesTool;
17 
28  public:
29  MuonCombinedTimingTool(const std::string&, const std::string&, const IInterface*);
30 
32  virtual ~MuonCombinedTimingTool()=default;
33 
35  virtual StatusCode initialize();
36 
37  virtual std::vector<Trk::SpaceTimePoint*> timeMeasurements(const xAOD::Muon& muon) const;
38 
39  private:
41  ToolHandle<Trk::ITrackTimingTool> m_trtTimingTool{
42  this,
43  "InDetTimingTool",
44  "InDet::TRT_TrackTimingTool/TRT_TrackTimingTool",
45  };
47  ToolHandle<Trk::ITrackTimingTool> m_caloTimingTool{
48  this,
49  "CaloTimingTool",
50  "Rec::TrackInCaloTimingTool/TrackInCaloTimingTool",
51  };
53  ToolHandle<Trk::ITrackTimingTool> m_mdtSegmentTimingTool{
54  this,
55  "MDT_TimingTool",
56  "Muon::SegmentTimingTool/SegmentTimingTool",
57  };
59  ToolHandle<Trk::ITrackTimingTool> m_rpcTimingTool{
60  this,
61  "RPC_TimingTool",
62  "",
63  };
64 
65  virtual const Trk::SegmentCollection* getSegmentContainer(const xAOD::Muon& muon) const;
66 };
67 } // namespace Rec
68 
69 #endif
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
Muon.h
Rec::MuonCombinedTimingTool::m_trtTimingTool
ToolHandle< Trk::ITrackTimingTool > m_trtTimingTool
time calculation in subdetector responsibility: inner detector
Definition: MuonCombinedTimingTool.h:41
Rec::MuonCombinedTimingTool::m_mdtSegmentTimingTool
ToolHandle< Trk::ITrackTimingTool > m_mdtSegmentTimingTool
time calculation in subdetector responsibility: muon spectrometer (T0 fit) for MDT and CSC
Definition: MuonCombinedTimingTool.h:53
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
ITrackTimingTool.h
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::MuonCombinedTimingTool::MuonCombinedTimingTool
MuonCombinedTimingTool(const std::string &, const std::string &, const IInterface *)
Definition: MuonCombinedTimingTool.cxx:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Rec::IMuonCombinedTimingTool
interface providing a vector of time-space points from the various detector measurements crossed by a...
Definition: IMuonCombinedTimingTool.h:31
AthAlgTool.h
Rec::MuonCombinedTimingTool::timeMeasurements
virtual std::vector< Trk::SpaceTimePoint * > timeMeasurements(const xAOD::Muon &muon) const
the main method providing the vector of space-time points
Definition: MuonCombinedTimingTool.cxx:49
DataVector< Trk::Segment >
IMuonCombinedTimingTool.h
Rec::MuonCombinedTimingTool::getSegmentContainer
virtual const Trk::SegmentCollection * getSegmentContainer(const xAOD::Muon &muon) const
Definition: MuonCombinedTimingTool.cxx:62
Rec::MuonCombinedTimingTool::~MuonCombinedTimingTool
virtual ~MuonCombinedTimingTool()=default
default destructor
Rec::MuonCombinedTimingTool::m_rpcTimingTool
ToolHandle< Trk::ITrackTimingTool > m_rpcTimingTool
time calculation in subdetector responsibility: muon spectrometer (RPC timing)
Definition: MuonCombinedTimingTool.h:59
Rec::MuonCombinedTimingTool
Definition: MuonCombinedTimingTool.h:27
Rec::MuonCombinedTimingTool::initialize
virtual StatusCode initialize()
standard Athena-Algorithm method
Definition: MuonCombinedTimingTool.cxx:20
AthAlgTool
Definition: AthAlgTool.h:26
Rec::MuonCombinedTimingTool::m_caloTimingTool
ToolHandle< Trk::ITrackTimingTool > m_caloTimingTool
time calculation in subdetector responsibility: calorimeter
Definition: MuonCombinedTimingTool.h:47
SegmentCollection.h