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
ConfigurationDescriptions.h
MuonTrackingRegionBuilder::build
void build(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition: MuonTrackingRegionBuilder.cc:32
MuonTrackingRegionBuilder::theMaxRegions
int theMaxRegions
Definition: MuonTrackingRegionBuilder.h:80
MuonTrackingRegionBuilder
Definition: MuonTrackingRegionBuilder.h:43
MuonTrackingRegionBuilder::theDeltaR
double theDeltaR
Definition: MuonTrackingRegionBuilder.h:94
MuonTrackingRegionBuilder::fillDescriptionsHLT
static void fillDescriptionsHLT(edm::ParameterSetDescription &descriptions)
Definition: MuonTrackingRegionBuilder.cc:253
MuonTrackingRegionBuilder::MuonTrackingRegionBuilder
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &iC)
Constructor.
Definition: MuonTrackingRegionBuilder.h:46
MuonTrackingRegionBuilder::thePhiRegionPar1
double thePhiRegionPar1
Definition: MuonTrackingRegionBuilder.h:88
MuonTrackingRegionBuilder::beamSpotToken
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken
Definition: MuonTrackingRegionBuilder.h:101
edm::EDGetTokenT< MeasurementTrackerEvent >
edm
HLT enums.
Definition: AlignableModifier.h:19
MuonTrackingRegionBuilder::thePhiMin
double thePhiMin
Definition: MuonTrackingRegionBuilder.h:92
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
MuonTrackingRegionBuilder::useFixedPhi
bool useFixedPhi
Definition: MuonTrackingRegionBuilder.h:76
MuonTrackingRegionBuilder::region
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::TrackRef &) const
Define tracking region.
Definition: MuonTrackingRegionBuilder.cc:117
MuonTrackingRegionBuilder::theOnDemand
RectangularEtaPhiTrackingRegion::UseMeasurementTracker theOnDemand
Definition: MuonTrackingRegionBuilder.h:99
MuonTrackingRegionBuilder::useFixedEta
bool useFixedEta
Definition: MuonTrackingRegionBuilder.h:77
MuonTrackingRegionBuilder::theEtaRegionPar1
double theEtaRegionPar1
Definition: MuonTrackingRegionBuilder.h:86
edm::Ref< TrackCollection >
MuonTrackingRegionBuilder::theEtaMin
double theEtaMin
Definition: MuonTrackingRegionBuilder.h:93
MuonTrackingRegionBuilder::theHalfZ
double theHalfZ
Definition: MuonTrackingRegionBuilder.h:95
TrackingRegionProducer.h
MuonTrackingRegionBuilder::theEtaRegionPar2
double theEtaRegionPar2
Definition: MuonTrackingRegionBuilder.h:87
MuonTrackingRegionBuilder::setEvent
virtual void setEvent(const edm::Event &)
Pass the Event to the algo at each event.
Definition: MuonTrackingRegionBuilder.cc:124
MuonTrackingRegionBuilder::theNsigmaEta
double theNsigmaEta
Definition: MuonTrackingRegionBuilder.h:82
TrackFwd.h
BeamSpot.h
reco::Track
Definition: Track.h:27
MuonTrackingRegionBuilder::thePrecise
bool thePrecise
Definition: MuonTrackingRegionBuilder.h:78
MuonTrackingRegionBuilder::thePtMin
double thePtMin
Definition: MuonTrackingRegionBuilder.h:91
Event
MuonTrackingRegionBuilder::inputCollectionToken
edm::EDGetTokenT< reco::TrackCollection > inputCollectionToken
Definition: MuonTrackingRegionBuilder.h:103
MuonTrackingRegionBuilder::theDeltaEta
double theDeltaEta
Definition: MuonTrackingRegionBuilder.h:97
MuonTrackingRegionBuilder::theDeltaPhi
double theDeltaPhi
Definition: MuonTrackingRegionBuilder.h:96
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
Vertex.h
MuonTrackingRegionBuilder::useFixedZ
bool useFixedZ
Definition: MuonTrackingRegionBuilder.h:74
MuonTrackingRegionBuilder::theNsigmaDz
double theNsigmaDz
Definition: MuonTrackingRegionBuilder.h:84
MuonTrackingRegionBuilder::~MuonTrackingRegionBuilder
~MuonTrackingRegionBuilder() override
Destructor.
Definition: MuonTrackingRegionBuilder.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
MeasurementTrackerEvent
Definition: MeasurementTrackerEvent.h:16
ParameterSet
Definition: Functions.h:16
MuonTrackingRegionBuilder::useFixedPt
bool useFixedPt
Definition: MuonTrackingRegionBuilder.h:75
MuonTrackingRegionBuilder::thePhiRegionPar2
double thePhiRegionPar2
Definition: MuonTrackingRegionBuilder.h:89
RectangularEtaPhiTrackingRegion.h
MuonTrackingRegionBuilder::regions
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &, const edm::EventSetup &) const override
Create Region of Interest.
Definition: MuonTrackingRegionBuilder.cc:98
edm::EventSetup
Definition: EventSetup.h:57
RectangularEtaPhiTrackingRegion::UseMeasurementTracker
UseMeasurementTracker
Definition: RectangularEtaPhiTrackingRegion.h:27
MuonTrackingRegionBuilder::theNsigmaPhi
double theNsigmaPhi
Definition: MuonTrackingRegionBuilder.h:83
InputTag.h
VertexFwd.h
MuonTrackingRegionBuilder::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Add Fill Descriptions.
Definition: MuonTrackingRegionBuilder.cc:238
Frameworkfwd.h
TrackingRegionProducer
Definition: TrackingRegionProducer.h:12
MuonTrackingRegionBuilder::MuonTrackingRegionBuilder
MuonTrackingRegionBuilder(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition: MuonTrackingRegionBuilder.h:47
MuonTrackingRegionBuilder::region
std::unique_ptr< RectangularEtaPhiTrackingRegion > region(const reco::Track &t) const
Definition: MuonTrackingRegionBuilder.h:57
MuonTrackingRegionBuilder::vertexCollectionToken
edm::EDGetTokenT< reco::VertexCollection > vertexCollectionToken
Definition: MuonTrackingRegionBuilder.h:102
ConsumesCollector.h
MuonTrackingRegionBuilder::useVertex
bool useVertex
Definition: MuonTrackingRegionBuilder.h:73
MuonTrackingRegionBuilder::theMeasurementTrackerToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken
Definition: MuonTrackingRegionBuilder.h:100
MuonServiceProxy
Definition: MuonServiceProxy.h:38
MuonTrackingRegionBuilder::fillDescriptionsOffline
static void fillDescriptionsOffline(edm::ParameterSetDescription &descriptions)
Definition: MuonTrackingRegionBuilder.cc:282
edm::Event
Definition: Event.h:73
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
MuonTrackingRegionBuilder::theEvent
const edm::Event * theEvent
Definition: MuonTrackingRegionBuilder.h:71
edm::ConsumesCollector
Definition: ConsumesCollector.h:45