#include <MuonServiceProxy.h>
Public Member Functions | |
edm::ESHandle< MuonDetLayerGeometry > | detLayerGeometry () const |
get the detLayer geometry More... | |
const edm::EventSetup & | eventSetup () const |
get the whole EventSetup More... | |
bool | isTrackingComponentsRecordChanged () const |
check if the MuonReco Geometry has been changed More... | |
edm::ESHandle< MagneticField > | magneticField () const |
get the magnetic field More... | |
const MuonNavigationSchool * | muonNavigationSchool () const |
MuonServiceProxy (const edm::ParameterSet &par) | |
Constructor. More... | |
edm::ESHandle< Propagator > | propagator (std::string propagatorName) const |
get the propagator More... | |
edm::ESHandle< GlobalTrackingGeometry > | trackingGeometry () const |
get the tracking geometry More... | |
void | update (const edm::EventSetup &setup) |
update the services each event More... | |
virtual | ~MuonServiceProxy () |
Destructor. More... | |
Private Types | |
typedef std::map< std::string, edm::ESHandle< Propagator > > | propagators |
Private Attributes | |
unsigned long long | theCacheId_DG |
unsigned long long | theCacheId_GTG |
unsigned long long | theCacheId_MG |
unsigned long long | theCacheId_P |
bool | theChangeInTrackingComponentsRecord |
bool | theCSCLayer |
edm::ESHandle< MuonDetLayerGeometry > | theDetLayerGeometry |
const edm::EventSetup * | theEventSetup |
bool | theGEMLayer |
bool | theME0Layer |
edm::ESHandle< MagneticField > | theMGField |
bool | theMuonNavigationFlag |
propagators | thePropagators |
bool | theRPCLayer |
const MuonNavigationSchool * | theSchool |
edm::ESHandle< GlobalTrackingGeometry > | theTrackingGeometry |
Class to handle the services needed by the muon reconstruction This class avoid the EventSetup percolation. The update method is called each event in order to update the pointers.
Modified by C. Calabria Modified by D. Nash
Class to handle the services needed by the muon reconstruction This class avoid the EventSetup percolation. The update method is called each event in order to update the pointers.
Modified by C. Calabria & A. Sharma Modified by D. Nash
Definition at line 27 of file MuonServiceProxy.h.
|
private |
Definition at line 65 of file MuonServiceProxy.h.
MuonServiceProxy::MuonServiceProxy | ( | const edm::ParameterSet & | par | ) |
Constructor.
Definition at line 37 of file MuonServiceProxy.cc.
References edm::ParameterSet::existsAs(), funct::false, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, TSGForRoadSearch_cfi::propagatorName, theCacheId_DG, theCacheId_GTG, theCacheId_MG, theCacheId_P, theChangeInTrackingComponentsRecord, theCSCLayer, theGEMLayer, theME0Layer, theMuonNavigationFlag, thePropagators, theRPCLayer, and funct::true.
|
virtual |
Destructor.
Definition at line 87 of file MuonServiceProxy.cc.
References thePropagators, and theSchool.
|
inline |
get the detLayer geometry
Definition at line 47 of file MuonServiceProxy.h.
References PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, TSGForRoadSearch_cfi::propagatorName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MuonSimHitProducer::produce().
|
inline |
get the whole EventSetup
Definition at line 53 of file MuonServiceProxy.h.
Referenced by GlobalTrackQualityProducer::produce(), TSGFromPropagation::setEvent(), TSGForRoadSearch::setEvent(), GlobalTrajectoryBuilderBase::setEvent(), and TrackerSeedGenerator::trackerSeeds().
|
inline |
check if the MuonReco Geometry has been changed
Definition at line 56 of file MuonServiceProxy.h.
|
inline |
get the magnetic field
Definition at line 41 of file MuonServiceProxy.h.
Referenced by GlobalTrajectoryBuilderBase::build(), GlobalTrajectoryBuilderBase::getTransientRecHits(), TSGFromPropagation::innerState(), TSGForRoadSearch::IPfts(), TSGFromPropagation::outerTkState(), MuonSeedCleaner::SeedMomentum(), and MuonSeedCleaner::SeedPosition().
|
inline |
Definition at line 58 of file MuonServiceProxy.h.
ESHandle< Propagator > MuonServiceProxy::propagator | ( | std::string | propagatorName | ) | const |
get the propagator
Definition at line 153 of file MuonServiceProxy.cc.
References thePropagators.
Referenced by MuonSimHitProducer::beginRun(), GlobalTrajectoryBuilderBase::getTransientRecHits(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_3(), TSGForRoadSearch::makeSeeds_4(), TSGFromPropagation::outerTkState(), TSGFromPropagation::propagator(), FastTSGFromPropagation::propagator(), and TSGForRoadSearch::pushTrajectorySeed().
|
inline |
get the tracking geometry
Definition at line 44 of file MuonServiceProxy.h.
Referenced by GlobalTrajectoryBuilderBase::build(), ResidualRefitting::CollectTrackHits(), GlobalTrajectoryBuilderBase::getTransientRecHits(), TSGFromPropagation::innerState(), MuonCosmicCompatibilityFiller::isOverlappingMuon(), MuonSeedCleaner::NChi2OfSegment(), ResidualRefitting::NewTrackMeasurements(), MuonSeedCleaner::NRecHitsFromSegment(), MuonSeedCleaner::OverlapSegments(), MuonSeedCleaner::SeedCandidates(), MuonSeedCleaner::SeedMomentum(), MuonSeedCleaner::SeedPosition(), ExhaustiveMuonTrajectoryBuilder::trajectories(), and ResidualRefitting::trkExtrap().
void MuonServiceProxy::update | ( | const edm::EventSetup & | setup | ) |
update the services each event
Definition at line 102 of file MuonServiceProxy.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), LogTrace, metname, GeneralSetup::setup(), AlCaHLTBitMon_QueryRunRegistry::string, theCacheId_DG, theCacheId_GTG, theCacheId_MG, theCacheId_P, theChangeInTrackingComponentsRecord, theCSCLayer, theDetLayerGeometry, theEventSetup, theGEMLayer, theME0Layer, theMGField, theMuonNavigationFlag, thePropagators, theRPCLayer, theSchool, and theTrackingGeometry.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), ResidualRefitting::analyze(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), TSGFromL2Muon::beginRun(), MuonSimHitProducer::beginRun(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), AlignmentMonitorTracksFromTrajectories::event(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), GlobalCosmicMuonProducer::produce(), TSGFromL2Muon::produce(), GlobalTrackQualityProducer::produce(), HIMuonTrackingRegionProducer::regions(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), MuonSeedCleaner::seedCleaner(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 82 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 80 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 81 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 83 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 85 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 73 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 69 of file MuonServiceProxy.h.
Referenced by update().
|
private |
Definition at line 70 of file MuonServiceProxy.h.
Referenced by update().
|
private |
Definition at line 74 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 75 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 68 of file MuonServiceProxy.h.
Referenced by update().
|
private |
Definition at line 71 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 78 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), propagator(), update(), and ~MuonServiceProxy().
|
private |
Definition at line 72 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy(), and update().
|
private |
Definition at line 76 of file MuonServiceProxy.h.
Referenced by update(), and ~MuonServiceProxy().
|
private |
Definition at line 67 of file MuonServiceProxy.h.
Referenced by CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), and update().