#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 |
edm::ESHandle < MuonDetLayerGeometry > | theDetLayerGeometry |
const edm::EventSetup * | theEventSetup |
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.
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.
Definition at line 26 of file MuonServiceProxy.h.
|
private |
Definition at line 64 of file MuonServiceProxy.h.
MuonServiceProxy::MuonServiceProxy | ( | const edm::ParameterSet & | par | ) |
Constructor.
Definition at line 37 of file MuonServiceProxy.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, theCacheId_DG, theCacheId_GTG, theCacheId_MG, theCacheId_P, theChangeInTrackingComponentsRecord, theMuonNavigationFlag, thePropagators, and theRPCLayer.
|
virtual |
|
inline |
get the detLayer geometry
Definition at line 46 of file MuonServiceProxy.h.
References theDetLayerGeometry.
Referenced by MuonSimHitProducer::produce().
|
inline |
get the whole EventSetup
Definition at line 52 of file MuonServiceProxy.h.
References theEventSetup.
Referenced by GlobalTrackQualityProducer::produce(), TSGFromPropagation::setEvent(), TSGForRoadSearch::setEvent(), and TrackerSeedGenerator::trackerSeeds().
|
inline |
check if the MuonReco Geometry has been changed
Definition at line 55 of file MuonServiceProxy.h.
References theChangeInTrackingComponentsRecord.
|
inline |
get the magnetic field
Definition at line 40 of file MuonServiceProxy.h.
References theMGField.
Referenced by CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), 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 132 of file MuonServiceProxy.cc.
Referenced by MuonSimHitProducer::beginRun(), 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 43 of file MuonServiceProxy.h.
References theTrackingGeometry.
Referenced by ResidualRefitting::CollectTrackHits(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), 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 81 of file MuonServiceProxy.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), LogTrace, and metname.
Referenced by ResidualRefitting::analyze(), python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), TSGFromL2Muon::beginRun(), FastTSGFromL2Muon::beginRun(), MuonSimHitProducer::beginRun(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), AlignmentMonitorTracksFromTrajectories::event(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), TSGFromL2Muon::produce(), GlobalCosmicMuonProducer::produce(), FastTSGFromL2Muon::produce(), GlobalTrackQualityProducer::produce(), FastL3MuonProducer::produce(), HIMuonTrackingRegionProducer::regions(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), MuonSeedCleaner::seedCleaner(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 78 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 76 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 77 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 79 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 81 of file MuonServiceProxy.h.
Referenced by isTrackingComponentsRecordChanged(), and MuonServiceProxy().
|
private |
Definition at line 68 of file MuonServiceProxy.h.
Referenced by detLayerGeometry().
|
private |
Definition at line 69 of file MuonServiceProxy.h.
Referenced by eventSetup().
|
private |
Definition at line 67 of file MuonServiceProxy.h.
Referenced by magneticField().
|
private |
Definition at line 70 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 74 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 71 of file MuonServiceProxy.h.
Referenced by MuonServiceProxy().
|
private |
Definition at line 72 of file MuonServiceProxy.h.
Referenced by muonNavigationSchool().
|
private |
Definition at line 66 of file MuonServiceProxy.h.
Referenced by CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), and trackingGeometry().