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 
24 
28 
31 
34 
35 class MuonServiceProxy;
37 
38 namespace edm {class ParameterSet; class Event;}
39 
41 
42  public:
43 
47 
50 
52  virtual 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::ParameterSetDescription& descriptions);
64 
65  private:
66 
68 
70 
71  bool useVertex;
72  bool useFixedZ;
73  bool useFixedPt;
76  bool thePrecise;
77 
79 
80  double theNsigmaEta;
81  double theNsigmaPhi;
82  double theNsigmaDz;
83 
88 
89  double thePtMin;
90  double thePhiMin;
91  double theEtaMin;
92  double theDeltaR;
93  double theHalfZ;
94  double theDeltaPhi;
95  double theDeltaEta;
96 
102 };
103 #endif
tuple t
Definition: tree.py:139
static void fillDescriptions(edm::ParameterSetDescription &descriptions)
Add Fill Descriptions.
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken
virtual void setEvent(const edm::Event &)
Pass the Event to the algo at each event.
virtual ~MuonTrackingRegionBuilder()
Destructor.
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::TrackRef &) const
Define tracking region.
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &iC)
Constructor.
void build(const edm::ParameterSet &, edm::ConsumesCollector &)
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::Track &t) const
RectangularEtaPhiTrackingRegion::UseMeasurementTracker theOnDemand
edm::EDGetTokenT< reco::TrackCollection > inputCollectionToken
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &, const edm::EventSetup &) const override
Create Region of Interest.
edm::EDGetTokenT< reco::VertexCollection > vertexCollectionToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken