CMS 3D CMS Logo

MuonServiceProxy.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonServiceProxy_H
2 #define RecoMuon_TrackingTools_MuonServiceProxy_H
3 
20 
21 // EventSetup data types
26 
27 // EventSetup record types
32 
34 
35 #include <map>
36 #include <string>
37 
39 public:
41 
45  UseEventSetupIn useEventSetupIn = UseEventSetupIn::Event);
46 
48  virtual ~MuonServiceProxy();
49 
50  // Operations
51 
53  void update(const edm::EventSetup& setup, bool duringEvent = true);
54 
57 
60 
63 
66 
76  const edm::EventSetup& eventSetup() const { return *theEventSetup; }
77 
80 
82 
83 private:
85  public:
89  };
90 
91  using PropagatorMap = std::map<std::string, PropagatorInfo>;
92 
96 
100 
104 
112 
114 
115  unsigned long long theCacheId_GTG;
116  unsigned long long theCacheId_MG;
117  unsigned long long theCacheId_DG;
118  unsigned long long theCacheId_P;
119 
121 };
122 #endif
unsigned long long theCacheId_MG
unsigned long long theCacheId_P
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
edm::ESHandle< MagneticField > magneticField() const
get the magnetic field
edm::ESHandle< MuonDetLayerGeometry > detLayerGeometry() const
get the detLayer geometry
PropagatorMap thePropagators
virtual ~MuonServiceProxy()
Destructor.
edm::ESHandle< MagneticField > theMGField
edm::ESGetToken< Propagator, TrackingComponentsRecord > eventToken_
MuonServiceProxy(const edm::ParameterSet &, edm::ConsumesCollector &&, UseEventSetupIn useEventSetupIn=UseEventSetupIn::Event)
Constructor.
bool theChangeInTrackingComponentsRecord
unsigned long long theCacheId_DG
const MuonNavigationSchool * theSchool
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryEventToken_
bool isTrackingComponentsRecordChanged() const
check if the MuonReco Geometry has been changed
const edm::EventSetup * theEventSetup
std::map< std::string, PropagatorInfo > PropagatorMap
edm::ESHandle< Propagator > esHandle_
edm::ESGetToken< Propagator, TrackingComponentsRecord > runToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldRunToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryRunToken_
unsigned long long theCacheId_GTG
const MuonNavigationSchool * muonNavigationSchool() const
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
void update(const edm::EventSetup &setup, bool duringEvent=true)
update the services each event
const edm::EventSetup & eventSetup() const
edm::ESHandle< MuonDetLayerGeometry > theDetLayerGeometry
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEventToken_
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryEventToken_
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryRunToken_