1 #ifndef HLTrigger_btau_L3MumuTrackingRegion_H 2 #define HLTrigger_btau_L3MumuTrackingRegion_H 26 theVertex = (theVertexTag.label().length()>1);
40 if (regionPSet.
exists(
"searchOpt")){
57 std::vector<std::unique_ptr<TrackingRegion> >
result;
63 measurementTracker = hmte.
product();
74 reco::VertexCollection::const_iterator ci = vertCollection.begin();
75 if (!vertCollection.empty()) {
82 for(ci=vertCollection.begin();ci!=vertCollection.end();ci++)
85 GlobalVector dirVector((iTrk)->px(),(iTrk)->py(),(iTrk)->pz());
87 std::make_unique<RectangularEtaPhiTrackingRegion>( dirVector,
GlobalPoint(0,0,
float(ci->z())),
100 for(reco::TrackCollection::const_iterator iTrk = trks->begin();iTrk != trks->end();iTrk++) {
101 GlobalVector dirVector((iTrk)->px(),(iTrk)->py(),(iTrk)->pz());
103 std::make_unique<RectangularEtaPhiTrackingRegion>( dirVector,
GlobalPoint(0,0,
float(originz)),
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
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
bool isUninitialized() const
L3MumuTrackingRegion(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override