CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PropagateToMuon.h
Go to the documentation of this file.
1 #ifndef MuonAnalysis_MuonAssociators_interface_PropagateToMuon_h
2 #define MuonAnalysis_MuonAssociators_interface_PropagateToMuon_h
3 //
4 //
5 
24 struct DetLayer; // #include "TrackingTools/DetLayers/interface/DetLayer.h" // forward declaration can suffice
27 
29  public:
30  explicit PropagateToMuon(const edm::ParameterSet & iConfig) ;
32 
34  void init(const edm::EventSetup &iSetup) ;
35 
38 
41 
44 
45  private:
48 
53 
56 
57  // needed services for track propagation
61  // simplified geometry for track propagation
65  std::pair<float,float> endcapRadii_;
66 
69 
72 
75 };
76 
77 #endif
WhichTrack whichTrack_
Labels for input collections.
PropagateToMuon(const edm::ParameterSet &iConfig)
TrajectoryStateOnSurface extrapolate(const reco::Track &tk) const
Extrapolate reco::Track to the muon station 2, return an invalid TSOS if it fails.
edm::ESHandle< Propagator > propagatorAny_
const BoundDisk * endcapDiskNeg_
FreeTrajectoryState startingState(const reco::Candidate &reco) const
Starting state for the propagation.
WhichState whichState_
const BoundDisk * endcapDiskPos_
TrajectoryStateOnSurface getBestDet(const TrajectoryStateOnSurface &tsos, const DetLayer *station) const
Get the best TSOS on one of the chambres of this DetLayer, or an invalid TSOS if none match...
edm::ESHandle< MagneticField > magfield_
const BoundCylinder * barrelCylinder_
Propagate an object (usually a track) to the second muon station. Support for other muon stations wil...
edm::ESHandle< Propagator > propagator_
bool cosmicPropagation_
for cosmics, some things change: the along-opposite is not in-out, nor the innermost/outermost states...
void init(const edm::EventSetup &iSetup)
Call this method at the beginning of each run, to initialize geometry, magnetic field and propagators...
TrajectoryStateOnSurface extrapolate(const reco::Candidate &tk) const
Extrapolate reco::Candidate to the muon station 2, return an invalid TSOS if it fails.
bool useSimpleGeometry_
Labels for input collections.
edm::ESHandle< MuonDetLayerGeometry > muonGeometry_
double barrelHalfLength_
edm::ESHandle< Propagator > propagatorOpposite_
std::pair< float, float > endcapRadii_