1 #ifndef HITRegionalPixelSeedGenerator_h
2 #define HITRegionalPixelSeedGenerator_h
27 #include "Math/GenVector/VectorUtil.h"
28 #include "Math/GenVector/PxPyPzE4D.h"
38 edm::LogInfo(
"HITRegionalPixelSeedGenerator") <<
"Enter the HITRegionalPixelSeedGenerator";
70 std::vector<std::unique_ptr<TrackingRegion> >
result;
82 reco::VertexCollection::const_iterator ci = vertCollection.begin();
84 if (!vertCollection.empty()) {
94 reco::TrackCollection::const_iterator
itr =
tracks->begin();
97 globalVector = ptrVec;
99 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(
108 std::vector<edm::Ref<reco::IsolatedPixelTrackCandidateCollection> > isoPixTrackRefs;
115 reco::VertexCollection::const_iterator ci = vertCollection.begin();
117 if (!vertCollection.empty()) {
124 if (isoPixTrackRefs.empty())
127 for (uint32_t
p = 0;
p < isoPixTrackRefs.size();
p++) {
129 (isoPixTrackRefs[
p]->
track())->
py(),
130 (isoPixTrackRefs[
p]->
track())->pz());
131 globalVector = ptrVec;
133 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(
145 reco::VertexCollection::const_iterator ci = vertCollection.begin();
146 if (!vertCollection.empty()) {
156 for (l1extra::L1JetParticleCollection::const_iterator iJet =
jets->begin(); iJet !=
jets->end(); iJet++) {
157 GlobalVector jetVector(iJet->p4().x(), iJet->p4().y(), iJet->p4().z());
160 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(
173 reco::VertexCollection::const_iterator ci = vertCollection.begin();
174 if (!vertCollection.empty()) {
180 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(