CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
42 
45 
48 
50  edm::ESHandle<Propagator> propagator(std::string propagatorName) const;
51 
53  const edm::EventSetup &eventSetup() const {return *theEventSetup;}
54 
57 
59  return theSchool;
60  }
61 
62  protected:
63 
64  private:
65  typedef std::map<std::string, edm::ESHandle<Propagator> > propagators;
66 
77 
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 
void update(const edm::EventSetup &setup)
update the services each event
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
virtual ~MuonServiceProxy()
Destructor.
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
MuonServiceProxy(const edm::ParameterSet &par)
Constructor.
unsigned long long theCacheId_GTG
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
edm::ESHandle< MuonDetLayerGeometry > theDetLayerGeometry
const MuonNavigationSchool * muonNavigationSchool() const
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
bool isTrackingComponentsRecordChanged() const
check if the MuonReco Geometry has been changed