CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonTrackingRegionBuilder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonTrackingRegionBuilder_H
2 #define RecoMuon_TrackingTools_MuonTrackingRegionBuilder_H
3 
22 
23 class MuonServiceProxy;
25 
26 namespace edm {class ParameterSet; class Event;}
27 
28 // ---------------------
29 // -- Class Interface --
30 // ---------------------
31 
33 
34  public:
35 
40  edm::ConsumesCollector& iC){ build(par, iC);init(service);}
41  void init(const MuonServiceProxy*);
42 
45 
48 
51 
53  virtual void setEvent(const edm::Event&);
54 
55  private:
57 
59  edm::InputTag theVertexCollTag; // vertex collection
60 
63 
65  bool useVertex;
66 
67  double theTkEscapePt;
69 
74 
75  double thePhiMin;
76  double theEtaMin;
79 
81 
82  RectangularEtaPhiTrackingRegion::UseMeasurementTracker theOnDemand;
86 };
87 #endif
RectangularEtaPhiTrackingRegion * region(const reco::TrackRef &) const
define tracking region
MuonTrackingRegionBuilder(const edm::ParameterSet &, edm::ConsumesCollector &)
constructor
virtual void setEvent(const edm::Event &)
pass the Event to the algo at each event
MuonTrackingRegionBuilder(const edm::ParameterSet &par, const MuonServiceProxy *service, edm::ConsumesCollector &iC)
virtual ~MuonTrackingRegionBuilder()
destructor
edm::EDGetTokenT< reco::BeamSpot > bsHandleToken
const MuonServiceProxy * theService
void build(const edm::ParameterSet &, edm::ConsumesCollector &)
RectangularEtaPhiTrackingRegion::UseMeasurementTracker theOnDemand
void init(const MuonServiceProxy *)
edm::EDGetTokenT< reco::VertexCollection > vertexCollectionToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken