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
Propagator.h
MuonServiceProxy::PropagatorInfo::eventToken_
edm::ESGetToken< Propagator, TrackingComponentsRecord > eventToken_
Definition: MuonServiceProxy.h:87
MuonServiceProxy::magneticFieldRunToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldRunToken_
Definition: MuonServiceProxy.h:102
MuonServiceProxy::UseEventSetupIn::Run
MuonNavigationSchool
Definition: MuonNavigationSchool.h:38
MuonServiceProxy::theChangeInTrackingComponentsRecord
bool theChangeInTrackingComponentsRecord
Definition: MuonServiceProxy.h:120
ESHandle.h
MuonServiceProxy::theMuonNavigationFlag
bool theMuonNavigationFlag
Definition: MuonServiceProxy.h:106
MuonServiceProxy::muonNavigationSchool
const MuonNavigationSchool * muonNavigationSchool() const
Definition: MuonServiceProxy.h:81
MuonServiceProxy::theDetLayerGeometry
edm::ESHandle< MuonDetLayerGeometry > theDetLayerGeometry
Definition: MuonServiceProxy.h:95
MuonServiceProxy::muonDetLayerGeometryRunToken_
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryRunToken_
Definition: MuonServiceProxy.h:103
MuonDetLayerGeometry.h
ESGetToken.h
MuonServiceProxy::isTrackingComponentsRecordChanged
bool isTrackingComponentsRecordChanged() const
check if the MuonReco Geometry has been changed
Definition: MuonServiceProxy.h:79
MuonServiceProxy::globalTrackingGeometryEventToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryEventToken_
Definition: MuonServiceProxy.h:97
MuonServiceProxy::magneticFieldEventToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEventToken_
Definition: MuonServiceProxy.h:98
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
MuonServiceProxy::UseEventSetupIn::RunAndEvent
MuonServiceProxy::globalTrackingGeometryRunToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryRunToken_
Definition: MuonServiceProxy.h:101
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
GlobalTrackingGeometryRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonServiceProxy::PropagatorInfo::runToken_
edm::ESGetToken< Propagator, TrackingComponentsRecord > runToken_
Definition: MuonServiceProxy.h:88
MuonServiceProxy::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition: MuonServiceProxy.h:115
MuonServiceProxy::update
void update(const edm::EventSetup &setup, bool duringEvent=true)
update the services each event
Definition: MuonServiceProxy.cc:111
MuonServiceProxy::PropagatorInfo::esHandle_
edm::ESHandle< Propagator > esHandle_
Definition: MuonServiceProxy.h:86
MuonServiceProxy::eventSetup
const edm::EventSetup & eventSetup() const
Definition: MuonServiceProxy.h:76
HLT_FULL_cff.propagatorName
propagatorName
Definition: HLT_FULL_cff.py:9587
MuonServiceProxy::PropagatorInfo
Definition: MuonServiceProxy.h:84
edm::ParameterSet
Definition: ParameterSet.h:47
MuonServiceProxy::UseEventSetupIn
UseEventSetupIn
Definition: MuonServiceProxy.h:40
MuonServiceProxy::muonDetLayerGeometryEventToken_
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryEventToken_
Definition: MuonServiceProxy.h:99
MuonServiceProxy::theMGField
edm::ESHandle< MagneticField > theMGField
Definition: MuonServiceProxy.h:94
FrameworkfwdMostUsed.h
MuonServiceProxy::propagator
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
Definition: MuonServiceProxy.cc:177
MuonServiceProxy::theRPCLayer
bool theRPCLayer
Definition: MuonServiceProxy.h:107
MuonServiceProxy::theGEMLayer
bool theGEMLayer
Definition: MuonServiceProxy.h:109
MuonServiceProxy::~MuonServiceProxy
virtual ~MuonServiceProxy()
Destructor.
Definition: MuonServiceProxy.cc:103
MuonRecoGeometryRecord.h
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< Propagator, TrackingComponentsRecord >
MuonServiceProxy::MuonServiceProxy
MuonServiceProxy(const edm::ParameterSet &, edm::ConsumesCollector &&, UseEventSetupIn useEventSetupIn=UseEventSetupIn::Event)
Constructor.
Definition: MuonServiceProxy.cc:27
MuonServiceProxy::theCacheId_P
unsigned long long theCacheId_P
Definition: MuonServiceProxy.h:118
MuonServiceProxy::theCacheId_MG
unsigned long long theCacheId_MG
Definition: MuonServiceProxy.h:116
MuonServiceProxy::theSchool
const MuonNavigationSchool * theSchool
Definition: MuonServiceProxy.h:111
MuonServiceProxy::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
Definition: MuonServiceProxy.h:59
TrackingComponentsRecord.h
MuonNavigationSchool.h
MuonServiceProxy::theME0Layer
bool theME0Layer
Definition: MuonServiceProxy.h:110
MuonServiceProxy::theCacheId_DG
unsigned long long theCacheId_DG
Definition: MuonServiceProxy.h:117
MuonServiceProxy::magneticField
edm::ESHandle< MagneticField > magneticField() const
get the magnetic field
Definition: MuonServiceProxy.h:56
MuonServiceProxy::theCSCLayer
bool theCSCLayer
Definition: MuonServiceProxy.h:108
MuonServiceProxy::UseEventSetupIn::Event
MuonServiceProxy::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: MuonServiceProxy.h:93
MuonServiceProxy::thePropagators
PropagatorMap thePropagators
Definition: MuonServiceProxy.h:113
MuonServiceProxy
Definition: MuonServiceProxy.h:38
MuonServiceProxy::PropagatorMap
std::map< std::string, PropagatorInfo > PropagatorMap
Definition: MuonServiceProxy.h:91
GlobalTrackingGeometry.h
MuonServiceProxy::detLayerGeometry
edm::ESHandle< MuonDetLayerGeometry > detLayerGeometry() const
get the detLayer geometry
Definition: MuonServiceProxy.h:62
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MuonServiceProxy::theEventSetup
const edm::EventSetup * theEventSetup
Definition: MuonServiceProxy.h:105