ATLAS Offline Software
MuonSegmentMomentum.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 MuonSegmentMomentum_MuonSegmentMomentum_H
6 #define MuonSegmentMomentum_MuonSegmentMomentum_H
7 
10 
11 
12 namespace Muon {
13  class MuonSegment;
14 }
15 
16 
18 {
19  public:
21  MuonSegmentMomentum(const std::string&,const std::string&,const IInterface*);
23 
25  virtual void fitMomentum2Segments( const EventContext&, const Muon::MuonSegment* segment1, const Muon::MuonSegment* segment2, double & signedMomentum ) const override;
26 
28  virtual void fitMomentumVectorSegments( const EventContext&, const std::vector <const Muon::MuonSegment*> &, double & signedMomentum ) const override;
29 
30  private:
32  Gaudi::Property<bool> m_cosmics {this, "DoCosmics", false, "Straight line model will be used, no interaction point constraint"};
33 
34 };
35 
36 #endif // MuonSegmentMomentum_H
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
MuonSegmentMomentum::m_cosmics
Gaudi::Property< bool > m_cosmics
flag for use of cosmics, straight line model will be used, no interaction point constraint
Definition: MuonSegmentMomentum.h:32
MuonSegmentMomentum::fitMomentumVectorSegments
virtual void fitMomentumVectorSegments(const EventContext &, const std::vector< const Muon::MuonSegment * > &, double &signedMomentum) const override
fits a momentum to a vector of segments
Definition: MuonSegmentMomentum.cxx:18
MuonSegmentMomentum::MuonSegmentMomentum
MuonSegmentMomentum(const std::string &, const std::string &, const IInterface *)
constructor
Definition: MuonSegmentMomentum.cxx:11
AthAlgTool.h
MuonSegmentMomentum::fitMomentum2Segments
virtual void fitMomentum2Segments(const EventContext &, const Muon::MuonSegment *segment1, const Muon::MuonSegment *segment2, double &signedMomentum) const override
fits a momentum to 2 segments
Definition: MuonSegmentMomentum.cxx:52
IMuonSegmentMomentumEstimator.h
MuonSegmentMomentum::operator=
MuonSegmentMomentum & operator=(const MuonSegmentMomentum &)=delete
MuonSegmentMomentum
Definition: MuonSegmentMomentum.h:18
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
AthAlgTool
Definition: AthAlgTool.h:26