CMS 3D CMS Logo

MuonTrackingRegionBuilder.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonTrackingRegionBuilder_H
2 #define RecoMuon_TrackingTools_MuonTrackingRegionBuilder_H
3 
24 
28 
31 
34 
35 class MuonServiceProxy;
37 
38 namespace edm {
39  class ParameterSet;
40  class Event;
41 } // namespace edm
42 
44 public:
48 
51 
53  std::vector<std::unique_ptr<TrackingRegion> > regions(const edm::Event&, const edm::EventSetup&) const override;
54 
56  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::TrackRef&) const;
57  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::Track& t) const { return region(t, *theEvent); }
58  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::Track&, const edm::Event&) const;
59 
61  virtual void setEvent(const edm::Event&);
62 
64  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
65  static void fillDescriptionsHLT(edm::ParameterSetDescription& descriptions);
66  static void fillDescriptionsOffline(edm::ParameterSetDescription& descriptions);
67 
68 private:
70 
72 
73  bool useVertex;
74  bool useFixedZ;
75  bool useFixedPt;
78  bool thePrecise;
79 
81 
82  double theNsigmaEta;
83  double theNsigmaPhi;
84  double theNsigmaDz;
85 
90 
91  double thePtMin;
92  double thePhiMin;
93  double theEtaMin;
94  double theDeltaR;
95  double theHalfZ;
96  double theDeltaPhi;
97  double theDeltaEta;
98 
104 };
105 #endif
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken
~MuonTrackingRegionBuilder() override
Destructor.
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &iC)
Constructor.
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::Track &t) const
RectangularEtaPhiTrackingRegion::UseMeasurementTracker theOnDemand
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::TrackCollection > inputCollectionToken
HLT enums.
edm::EDGetTokenT< reco::VertexCollection > vertexCollectionToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken