ATLAS Offline Software
MuonHitTimingTool.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 MUON_MUONHITTIMINGTOOL_H
6 #define MUON_MUONHITTIMINGTOOL_H
7 
8 #include "GaudiKernel/ToolHandle.h"
9 #include "GaudiKernel/ServiceHandle.h"
13 
23 namespace Muon{
24 
25  class MuonClusterOnTrack;
26 
27  class MuonHitTimingTool : public extends<AthAlgTool, Muon::IMuonHitTimingTool> {
28  public:
29  MuonHitTimingTool(const std::string&, const std::string&, const IInterface*);
30 
32  virtual ~MuonHitTimingTool()=default;
33 
35  virtual StatusCode initialize() override final;
36 
38  virtual TimingResult calculateTimingResult( const std::vector<const MuonClusterOnTrack*>& hits ) const override final;
39 
40  private:
41  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this,"MuonIdHelperSvc","Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
42  ToolHandleArray<IMuonHitTimingTool> m_hitTimingTools;
43  };
44 }
45 
46 #endif
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
Muon::MuonHitTimingTool::~MuonHitTimingTool
virtual ~MuonHitTimingTool()=default
default destructor
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
IMuonHitTimingTool.h
Muon::MuonHitTimingTool::calculateTimingResult
virtual TimingResult calculateTimingResult(const std::vector< const MuonClusterOnTrack * > &hits) const override final
Calculate the time offset of a given set of hits wrt to the current bunch.
Definition: MuonHitTimingTool.cxx:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
Muon::MuonHitTimingTool::m_hitTimingTools
ToolHandleArray< IMuonHitTimingTool > m_hitTimingTools
Definition: MuonHitTimingTool.h:42
AthAlgTool.h
Muon::MuonHitTimingTool
Definition: MuonHitTimingTool.h:27
Muon::MuonHitTimingTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonHitTimingTool.h:41
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
Muon::MuonHitTimingTool::initialize
virtual StatusCode initialize() override final
standard initialization method
Definition: MuonHitTimingTool.cxx:23
Muon::MuonHitTimingTool::MuonHitTimingTool
MuonHitTimingTool(const std::string &, const std::string &, const IInterface *)
Definition: MuonHitTimingTool.cxx:12
IMuonIdHelperSvc.h
Muon::MuonClusterOnTrack
Base class for Muon cluster RIO_OnTracks.
Definition: MuonClusterOnTrack.h:34
ServiceHandle
Definition: ClusterMakerTool.h:37