1 #ifndef HLTrigger_btau_L3MumuTrackingRegion_H 2 #define HLTrigger_btau_L3MumuTrackingRegion_H 23 theVertex = (theVertexTag.label().length() > 1);
29 if (!(theVertex && useVtxTks))
39 if (regionPSet.
exists(
"searchOpt")) {
56 std::vector<std::unique_ptr<TrackingRegion> >
result;
62 measurementTracker = hmte.
product();
73 reco::VertexCollection::const_iterator ci = vertCollection.begin();
74 if (!vertCollection.empty()) {
81 for (ci = vertCollection.begin(); ci != vertCollection.end(); ci++)
85 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(dirVector,
104 for (reco::TrackCollection::const_iterator iTrk = trks->begin(); iTrk != trks->end(); iTrk++) {
106 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(dirVector,
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::TrackCollection > theInputTrkToken
Global3DPoint GlobalPoint
std::vector< Track > TrackCollection
collection of Tracks
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::vector< Vertex > VertexCollection
collection of Vertex objects
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)
double theOriginHalfLength
edm::EDGetTokenT< reco::VertexCollection > theVertexToken
~L3MumuTrackingRegion() override
edm::InputTag theInputTrkTag
T const * product() const
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken
edm::InputTag theVertexTag
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
bool isUninitialized() const
L3MumuTrackingRegion(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override