1 #ifndef HLTrigger_btau_L3MumuTrackingRegion_H
2 #define HLTrigger_btau_L3MumuTrackingRegion_H
28 theVertex = (theVertexTag.label().length() > 1);
34 if (!(theVertex && useVtxTks))
44 if (regionPSet.
exists(
"searchOpt")) {
61 std::vector<std::unique_ptr<TrackingRegion> >
result;
67 measurementTracker = hmte.
product();
80 reco::VertexCollection::const_iterator ci = vertCollection.begin();
81 if (!vertCollection.empty()) {
88 for (ci = vertCollection.begin(); ci != vertCollection.end(); ci++)
91 GlobalVector dirVector((iTrk)->px(), (iTrk)->py(), (iTrk)->pz());
92 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(dirVector,
113 for (reco::TrackCollection::const_iterator iTrk = trks->begin(); iTrk != trks->end(); iTrk++) {
114 GlobalVector dirVector((iTrk)->px(), (iTrk)->py(), (iTrk)->pz());
115 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(dirVector,
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::TrackCollection > theInputTrkToken
constexpr bool isUninitialized() const noexcept
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
bool getData(T &iHolder) const
edm::EDGetTokenT< reco::VertexCollection > theVertexToken
edm::InputTag theInputTrkTag
T const * product() const
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > theMSMakerToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerToken
T getParameter(std::string const &) const
edm::InputTag theVertexTag
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
L3MumuTrackingRegion(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
~L3MumuTrackingRegion() override=default
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>