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 
18 
24 
25 namespace edm {class ParameterSet; class EventSetup;}
26 
28 public:
31 
33  virtual ~MuonServiceProxy();
34 
35  // Operations
36 
38  void update(const edm::EventSetup& setup);
39 
41  edm::ESHandle<MagneticField> magneticField() const {return theMGField;}
42 
44  edm::ESHandle<GlobalTrackingGeometry> trackingGeometry() const {return theTrackingGeometry;}
45 
47  edm::ESHandle<MuonDetLayerGeometry> detLayerGeometry() const {return theDetLayerGeometry;}
48 
51 
53  const edm::EventSetup &eventSetup() const {return *theEventSetup;}
54 
56  bool isTrackingComponentsRecordChanged() const {return theChangeInTrackingComponentsRecord;}
57 
59  return theSchool;
60  }
61 
62  protected:
63 
64  private:
65  typedef std::map<std::string, edm::ESHandle<Propagator> > propagators;
66 
77 
78  propagators thePropagators;
79 
80  unsigned long long theCacheId_GTG;
81  unsigned long long theCacheId_MG;
82  unsigned long long theCacheId_DG;
83  unsigned long long theCacheId_P;
84 
86 
87 };
88 #endif
89 
std::map< std::string, edm::ESHandle< Propagator > > propagators
edm::ESHandle< MuonDetLayerGeometry > detLayerGeometry() const
get the detLayer geometry
unsigned long long theCacheId_MG
const edm::EventSetup & eventSetup() const
get the whole EventSetup
unsigned long long theCacheId_P
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
edm::ESHandle< MagneticField > magneticField() const
get the magnetic field
edm::ESHandle< MagneticField > theMGField
bool theChangeInTrackingComponentsRecord
unsigned long long theCacheId_DG
const MuonNavigationSchool * theSchool
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
propagators thePropagators
const edm::EventSetup * theEventSetup
unsigned long long theCacheId_GTG
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
HLT enums.
#define update(a, b)
edm::ESHandle< MuonDetLayerGeometry > theDetLayerGeometry
const MuonNavigationSchool * muonNavigationSchool() const
bool isTrackingComponentsRecordChanged() const
check if the MuonReco Geometry has been changed