ATLAS Offline Software
IMuonSegmentMomentumEstimator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_IMUONSEGMENTMOMENTUMESTIMATOR_H
6 #define MUON_IMUONSEGMENTMOMENTUMESTIMATOR_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 static const InterfaceID IID_IMuonSegmentMomentumEstimator("Muon::IMuonSegmentMomentumEstimator", 1, 0);
11 
12 namespace Muon {
13 
14  class MuonSegment;
15 
16  class IMuonSegmentMomentumEstimator : virtual public IAlgTool {
17  public:
19  // Standard tool methods
21 
22  static const InterfaceID& interfaceID();
23 
25  virtual void fitMomentum2Segments(const EventContext& ctx, const MuonSegment* segment1, const MuonSegment* segment2, double& signedMomentum) const = 0;
26  virtual void fitMomentumVectorSegments(const EventContext& ctx, const std::vector<const MuonSegment*> &, double& signedMomentum) const = 0;
27  };
28 
29  inline const InterfaceID& IMuonSegmentMomentumEstimator::interfaceID() { return IID_IMuonSegmentMomentumEstimator; }
30 } // namespace Muon
31 
32 #endif // IMuonSegmentMomentumEstimator_H
Muon::IMuonSegmentMomentumEstimator::fitMomentumVectorSegments
virtual void fitMomentumVectorSegments(const EventContext &ctx, const std::vector< const MuonSegment * > &, double &signedMomentum) const =0
Muon::IMuonSegmentMomentumEstimator
Definition: IMuonSegmentMomentumEstimator.h:16
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Muon::IMuonSegmentMomentumEstimator::fitMomentum2Segments
virtual void fitMomentum2Segments(const EventContext &ctx, const MuonSegment *segment1, const MuonSegment *segment2, double &signedMomentum) const =0
Calculate Momentum Estimate for 2 segments.
Muon::IMuonSegmentMomentumEstimator::interfaceID
static const InterfaceID & interfaceID()
Definition: IMuonSegmentMomentumEstimator.h:29
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45