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 {class ParameterSet; class Event;}
39 
41 
42  public:
43 
45  explicit MuonTrackingRegionBuilder(const edm::ParameterSet& par, edm::ConsumesCollector& iC) { build(par, iC); }
46  explicit MuonTrackingRegionBuilder(const edm::ParameterSet& par, edm::ConsumesCollector&& iC) { build(par, iC); }
47 
50 
52  std::vector<std::unique_ptr<TrackingRegion> > regions(const edm::Event&, const edm::EventSetup&) const override;
53 
55  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::TrackRef&) const;
56  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::Track& t) const { return region(t,*theEvent); }
57  std::unique_ptr<RectangularEtaPhiTrackingRegion> region(const reco::Track&, const edm::Event&) const;
58 
60  virtual void setEvent(const edm::Event&);
61 
63  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
64  static void fillDescriptionsHLT(edm::ParameterSetDescription& descriptions);
65  static void fillDescriptionsOffline(edm::ParameterSetDescription& descriptions);
66 
67  private:
68 
69  void build(const edm::ParameterSet&, edm::ConsumesCollector&);
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