#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(), edm::false, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, theCacheId_DG, theCacheId_GTG, theCacheId_MG, theCacheId_P, theChangeInTrackingComponentsRecord, theCSCLayer, theGEMLayer, theME0Layer, theMuonNavigationFlag, thePropagators, theRPCLayer, and funct::true.
|
virtual |
|
inline |
get the detLayer geometry
Definition at line 47 of file MuonServiceProxy.h.
References theDetLayerGeometry.
Referenced by MuonSimHitProducer::produce().
|
inline |
get the whole EventSetup
Definition at line 53 of file MuonServiceProxy.h.
References theEventSetup.
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.
References theChangeInTrackingComponentsRecord.
|
inline |
get the magnetic field
Definition at line 41 of file MuonServiceProxy.h.
References theMGField.
Referenced by GlobalTrajectoryBuilderBase::build(), GlobalTrajectoryBuilderBase::getTransientRecHits(), TSGFromPropagation::innerState(), TSGForRoadSearch::IPfts(), TSGFromPropagation::outerTkState(), MuonSeedCleaner::SeedMomentum(), and MuonSeedCleaner::SeedPosition().
|
inline |
ESHandle< Propagator > MuonServiceProxy::propagator | ( | std::string | propagatorName | ) | const |
get the propagator
Definition at line 153 of file MuonServiceProxy.cc.
Referenced by MuonSimHitProducer::beginRun(), GlobalTrajectoryBuilderBase::getTransientRecHits(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_3(), TSGForRoadSearch::makeSeeds_4(), TSGFromPropagation::outerTkState(), GlobalCosmicMuonTrajectoryBuilder::propagator(), CosmicMuonTrajectoryBuilder::propagator(), TSGFromPropagation::propagator(), FastTSGFromPropagation::propagator(), CosmicMuonSmoother::propagatorAlong(), CosmicMuonTrajectoryBuilder::propagatorAlong(), CosmicMuonSmoother::propagatorOpposite(), CosmicMuonTrajectoryBuilder::propagatorOpposite(), and TSGForRoadSearch::pushTrajectorySeed().
|
inline |
get the tracking geometry
Definition at line 44 of file MuonServiceProxy.h.
References theTrackingGeometry.
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, HcalObjRepresent::setup(), and AlCaHLTBitMon_QueryRunRegistry::string.
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().
|
private |
Definition at line 80 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 81 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 83 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 85 of file MuonServiceProxy.h.
Referenced by isTrackingComponentsRecordChanged(), and MuonServiceProxy().
|
private |
Definition at line 73 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 69 of file MuonServiceProxy.h.
Referenced by detLayerGeometry().
|
private |
Definition at line 70 of file MuonServiceProxy.h.
Referenced by eventSetup().
|
private |
Definition at line 74 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 75 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 68 of file MuonServiceProxy.h.
Referenced by magneticField().
|
private |
Definition at line 71 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 78 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 72 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 76 of file MuonServiceProxy.h.
Referenced by muonNavigationSchool().
|
private |
Definition at line 67 of file MuonServiceProxy.h.
Referenced by CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), and trackingGeometry().