1 #ifndef HITRegionalPixelSeedGenerator_h
2 #define HITRegionalPixelSeedGenerator_h
27 #include "Math/GenVector/VectorUtil.h"
28 #include "Math/GenVector/PxPyPzE4D.h"
40 edm::LogInfo (
"HITRegionalPixelSeedGenerator")<<
"Enter the HITRegionalPixelSeedGenerator";
68 std::vector<TrackingRegion* >
result;
83 reco::VertexCollection::const_iterator ci = vertCollection.begin();
85 if(vertCollection.size() > 0)
95 if(tracks->size() == 0)
return result;
97 reco::TrackCollection::const_iterator itr = tracks->begin();
98 for(;itr != tracks->end();itr++)
101 GlobalVector ptrVec((itr)->px(),(itr)->py(),(itr)->pz());
102 globalVector = ptrVec;
112 result.push_back(etaphiRegion);
122 std::vector< edm::Ref<reco::IsolatedPixelTrackCandidateCollection> > isoPixTrackRefs;
129 reco::VertexCollection::const_iterator ci = vertCollection.begin();
131 if(vertCollection.size() > 0)
141 if(isoPixTrackRefs.size() == 0)
return result;
143 for(uint32_t
p=0;
p<isoPixTrackRefs.size();
p++)
146 globalVector = ptrVec;
155 result.push_back(etaphiRegion);
167 reco::VertexCollection::const_iterator ci = vertCollection.begin();
168 if(vertCollection.size() > 0)
178 if(jets->size() == 0)
return result;
180 for (l1extra::L1JetParticleCollection::const_iterator iJet = jets->begin(); iJet != jets->end(); iJet++)
182 GlobalVector jetVector(iJet->p4().x(), iJet->p4().y(), iJet->p4().z());
192 result.push_back(etaphiRegion);
203 reco::VertexCollection::const_iterator ci = vertCollection.begin();
204 if(vertCollection.size() > 0)
220 result.push_back(etaphiRegion);
T getParameter(std::string const &) const
Sin< T >::type sin(const T &t)
Global3DPoint GlobalPoint
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::InputTag isoTracksrc_
Exp< T >::type exp(const T &t)
Cos< T >::type cos(const T &t)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual std::vector< TrackingRegion * > regions(const edm::Event &e, const edm::EventSetup &es) const
HITRegionalPixelSeedGenerator(const edm::ParameterSet &conf_)
T const * product() const
virtual ~HITRegionalPixelSeedGenerator()