CMS 3D CMS Logo

MuonServiceProxy Class Reference

Class to handle the services needed by the muon reconstruction This class avoid the EventSetup percolation. More...

#include <RecoMuon/TrackingTools/interface/MuonServiceProxy.h>

List of all members.

Public Member Functions

edm::ESHandle
< MuonDetLayerGeometry
detLayerGeometry () const
 get the detLayer geometry
const edm::EventSetupeventSetup () const
 get the whole EventSetup
bool isTrackingComponentsRecordChanged () const
 check if the MuonReco Geometry has been changed
edm::ESHandle< MagneticFieldmagneticField () const
 get the magnetic field
const MuonNavigationSchoolmuonNavigationSchool () const
 MuonServiceProxy (const edm::ParameterSet &par)
 Constructor.
edm::ESHandle< Propagatorpropagator (std::string propagatorName) const
 get the propagator
edm::ESHandle
< GlobalTrackingGeometry
trackingGeometry () const
 get the tracking geometry
void update (const edm::EventSetup &setup)
 update the services each event
virtual ~MuonServiceProxy ()
 Destructor.

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::EventSetuptheEventSetup
edm::ESHandle< MagneticFieldtheMGField
bool theMuonNavigationFlag
propagators thePropagators
bool theRPCLayer
const MuonNavigationSchooltheSchool
edm::ESHandle
< GlobalTrackingGeometry
theTrackingGeometry


Detailed Description

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.

Date
2008/02/13 13:53:54
Revision
1.10
Author:
N. Amapane - CERN <nicola.amapane@cern.ch>

R. Bellan - INFN Torino <riccardo.bellan@cern.ch>

The update method is called each event in order to update the pointers.

Date
2008/02/14 10:23:27
Revision
1.15
Author:
N. Amapane - CERN <nicola.amapane@cern.ch>

R. Bellan - INFN Torino <riccardo.bellan@cern.ch>

Definition at line 26 of file MuonServiceProxy.h.


Member Typedef Documentation

typedef std::map<std::string, edm::ESHandle<Propagator> > MuonServiceProxy::propagators [private]

Definition at line 64 of file MuonServiceProxy.h.


Constructor & Destructor Documentation

MuonServiceProxy::MuonServiceProxy ( const edm::ParameterSet par  ) 

Constructor.

virtual MuonServiceProxy::~MuonServiceProxy (  )  [virtual]

Destructor.


Member Function Documentation

edm::ESHandle<MuonDetLayerGeometry> MuonServiceProxy::detLayerGeometry (  )  const [inline]

get the detLayer geometry

Definition at line 46 of file MuonServiceProxy.h.

References theDetLayerGeometry.

00046 {return theDetLayerGeometry;}

const edm::EventSetup& MuonServiceProxy::eventSetup (  )  const [inline]

get the whole EventSetup

Definition at line 52 of file MuonServiceProxy.h.

References theEventSetup.

00052 {return *theEventSetup;}

bool MuonServiceProxy::isTrackingComponentsRecordChanged (  )  const [inline]

check if the MuonReco Geometry has been changed

Definition at line 55 of file MuonServiceProxy.h.

References theChangeInTrackingComponentsRecord.

edm::ESHandle<MagneticField> MuonServiceProxy::magneticField (  )  const [inline]

get the magnetic field

Definition at line 40 of file MuonServiceProxy.h.

References theMGField.

00040 {return theMGField;}

const MuonNavigationSchool* MuonServiceProxy::muonNavigationSchool (  )  const [inline]

Definition at line 57 of file MuonServiceProxy.h.

References theSchool.

00057                                                           {
00058     return theSchool;
00059   }

edm::ESHandle<Propagator> MuonServiceProxy::propagator ( std::string  propagatorName  )  const

get the propagator

Referenced by MuonTimingExtractor::fillTiming(), and MuonUpdatorAtVertex::setPropagator().

edm::ESHandle<GlobalTrackingGeometry> MuonServiceProxy::trackingGeometry (  )  const [inline]

get the tracking geometry

Definition at line 43 of file MuonServiceProxy.h.

References theTrackingGeometry.

00043 {return theTrackingGeometry;}

void MuonServiceProxy::update ( const edm::EventSetup setup  ) 

update the services each event


Member Data Documentation

unsigned long long MuonServiceProxy::theCacheId_DG [private]

Definition at line 78 of file MuonServiceProxy.h.

unsigned long long MuonServiceProxy::theCacheId_GTG [private]

Definition at line 76 of file MuonServiceProxy.h.

unsigned long long MuonServiceProxy::theCacheId_MG [private]

Definition at line 77 of file MuonServiceProxy.h.

unsigned long long MuonServiceProxy::theCacheId_P [private]

Definition at line 79 of file MuonServiceProxy.h.

bool MuonServiceProxy::theChangeInTrackingComponentsRecord [private]

Definition at line 81 of file MuonServiceProxy.h.

Referenced by isTrackingComponentsRecordChanged().

edm::ESHandle<MuonDetLayerGeometry> MuonServiceProxy::theDetLayerGeometry [private]

Definition at line 68 of file MuonServiceProxy.h.

Referenced by detLayerGeometry().

const edm::EventSetup* MuonServiceProxy::theEventSetup [private]

Definition at line 69 of file MuonServiceProxy.h.

Referenced by eventSetup().

edm::ESHandle<MagneticField> MuonServiceProxy::theMGField [private]

Definition at line 67 of file MuonServiceProxy.h.

Referenced by magneticField().

bool MuonServiceProxy::theMuonNavigationFlag [private]

Definition at line 70 of file MuonServiceProxy.h.

propagators MuonServiceProxy::thePropagators [private]

Definition at line 74 of file MuonServiceProxy.h.

bool MuonServiceProxy::theRPCLayer [private]

Definition at line 71 of file MuonServiceProxy.h.

const MuonNavigationSchool* MuonServiceProxy::theSchool [private]

Definition at line 72 of file MuonServiceProxy.h.

Referenced by muonNavigationSchool().

edm::ESHandle<GlobalTrackingGeometry> MuonServiceProxy::theTrackingGeometry [private]

Definition at line 66 of file MuonServiceProxy.h.

Referenced by MuonTimingExtractor::fillTiming(), and trackingGeometry().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:28:49 2009 for CMSSW by  doxygen 1.5.4