ATLAS Offline Software
RPC_TimingTool.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 RPC_TIMINGTOOL_H
6 #define RPC_TIMINGTOOL_H
7 
10 #include "GaudiKernel/ServiceHandle.h"
12 
20 namespace Muon{
21 
22  class MuonClusterOnTrack;
23 
24  class RPC_TimingTool : public extends <AthAlgTool, Muon::IMuonHitTimingTool> {
25  public:
26  RPC_TimingTool(const std::string&, const std::string&, const IInterface*);
27 
28  virtual ~RPC_TimingTool()=default;
29 
30  virtual StatusCode initialize() override final;
31 
33  virtual TimingResult calculateTimingResult( const std::vector<const MuonClusterOnTrack*>& hits ) const override final;
34 
35 
36  private:
39 
40  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
41 
42  };
43 }
44 
45 #endif
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
Muon::RPC_TimingTool::getError
double getError(const Muon::MuonClusterOnTrack &) const
calculate error on the RPC time
Definition: RPC_TimingTool.cxx:71
Muon::RPC_TimingTool::RPC_TimingTool
RPC_TimingTool(const std::string &, const std::string &, const IInterface *)
Definition: RPC_TimingTool.cxx:11
Muon::RPC_TimingTool::initialize
virtual StatusCode initialize() override final
Definition: RPC_TimingTool.cxx:14
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
AthAlgTool.h
Muon::RPC_TimingTool
Definition: RPC_TimingTool.h:24
Muon::RPC_TimingTool::~RPC_TimingTool
virtual ~RPC_TimingTool()=default
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Muon::RPC_TimingTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: RPC_TimingTool.h:40
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
Muon::RPC_TimingTool::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: RPC_TimingTool.cxx:19
IMuonIdHelperSvc.h
Muon::MuonClusterOnTrack
Base class for Muon cluster RIO_OnTracks.
Definition: MuonClusterOnTrack.h:34
ServiceHandle
Definition: ClusterMakerTool.h:37