Go to the documentation of this file.
30 : theTrackingGeometry(nullptr),
32 theDetLayerGeometry(nullptr),
33 theEventSetup(nullptr),
63 std::vector<std::string> noPropagators;
64 std::vector<std::string> propagatorNames =
67 if (propagatorNames.empty())
68 LogDebug(
"Muon|RecoMuon|MuonServiceProxy") <<
"NO propagator(s) selected!";
85 element.second.eventToken_ =
167 element.second.esHandle_ =
setup.getHandle(element.second.eventToken_);
169 element.second.esHandle_ =
setup.getHandle(element.second.runToken_);
182 <<
" not found! Please load it in the MuonServiceProxy.cff";
185 return prop->second.esHandle_;
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldRunToken_
bool theChangeInTrackingComponentsRecord
bool theMuonNavigationFlag
edm::ESHandle< MuonDetLayerGeometry > theDetLayerGeometry
T getUntrackedParameter(std::string const &, T const &) const
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryRunToken_
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryEventToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldEventToken_
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > globalTrackingGeometryRunToken_
unsigned long long theCacheId_GTG
void update(const edm::EventSetup &setup, bool duringEvent=true)
update the services each event
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonDetLayerGeometryEventToken_
edm::ESHandle< MagneticField > theMGField
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
virtual ~MuonServiceProxy()
Destructor.
MuonServiceProxy(const edm::ParameterSet &, edm::ConsumesCollector &&, UseEventSetupIn useEventSetupIn=UseEventSetupIn::Event)
Constructor.
T getParameter(std::string const &) const
unsigned long long theCacheId_P
unsigned long long theCacheId_MG
const MuonNavigationSchool * theSchool
unsigned long long theCacheId_DG
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
PropagatorMap thePropagators
const std::string metname
const edm::EventSetup * theEventSetup