|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MuonSegmentMomentumFromField_MuonSegmentMomentumFromField_H
6 #define MuonSegmentMomentumFromField_MuonSegmentMomentumFromField_H
10 #include "GaudiKernel/ServiceHandle.h"
11 #include "GaudiKernel/ToolHandle.h"
38 virtual void fitMomentumVectorSegments(
const EventContext&,
const std::vector <const Muon::MuonSegment*> & ,
double & signedMomentum )
const;
44 "Trk::STEP_Propagator/MuonPropagator"};
45 ToolHandle<Trk::INavigator>
m_navigator {
this,
"NavigatorTool",
46 "Trk::Navigator/MuonNavigator"};
50 Gaudi::Property<bool>
m_doOld {
this,
"DoOld",
false,
"Use old fitMomentum2Segments"};
53 #endif // MuonSegmentMomentumFromField_H
MuonSegmentMomentumFromField & operator=(const MuonSegmentMomentumFromField &)=delete
virtual void fitMomentum2Segments(const EventContext &ctx, const Muon::MuonSegment *segment1, const Muon::MuonSegment *segment2, double &signedMomentum) const
fits a momentum to 2 segments
double fieldIntegralEstimate_old(const EventContext &ctx, const Muon::MuonSegment *segment1, const Muon::MuonSegment *segment2) const
double fieldIntegralEstimate(const EventContext &ctx, const Muon::MuonSegment *segment1, const Muon::MuonSegment *segment2) const
virtual StatusCode initialize()
to initiate private members
ToolHandle< Trk::IPropagator > m_propagator
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonSegment_v1 MuonSegment
Reference the current persistent version:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonSegmentMomentumFromField(const std::string &, const std::string &, const IInterface *)
constructor
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_doOld
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
ToolHandle< Trk::INavigator > m_navigator
virtual void fitMomentum2Segments_old(const EventContext &ctx, const Muon::MuonSegment *segment1, const Muon::MuonSegment *segment2, double &signedMomentum) const
virtual void fitMomentumVectorSegments(const EventContext &, const std::vector< const Muon::MuonSegment * > &, double &signedMomentum) const
fits a momentum to a vector of segments