1 #ifndef TauRegionalPixelSeedGenerator_h
2 #define TauRegionalPixelSeedGenerator_h
24 #include "Math/GenVector/VectorUtil.h"
25 #include "Math/GenVector/PxPyPzE4D.h"
38 edm::LogInfo (
"TauRegionalPixelSeedGenerator") <<
"Enter the TauRegionalPixelSeedGenerator";
49 if (regionPSet.
exists(
"searchOpt")){
56 if (regionPSet.
exists(
"measurementTrackerName")){
62 if (regionPSet.
exists(
"howToUseMeasurementTracker")){
75 std::vector<TrackingRegion* >
result;
78 double deltaZVertex, deltaRho;
84 if (not vertices.empty()) {
86 GlobalPoint myTmp(vertices.at(0).position().x(),vertices.at(0).position().y(), vertices.at(0).position().z());
106 measurementTracker = hmte.
product();
111 GlobalVector jetVector(myJet.momentum().x(),myJet.momentum().y(),myJet.momentum().z());
124 result.push_back(etaphiRegion);
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
virtual ~TauRegionalPixelSeedGenerator()
TauRegionalPixelSeedGenerator(const edm::ParameterSet &conf_, edm::ConsumesCollector &&iC)
virtual std::vector< TrackingRegion * > regions(const edm::Event &e, const edm::EventSetup &es) const
edm::EDGetTokenT< reco::VertexCollection > token_vertex
static UseMeasurementTracker doubleToUseMeasurementTracker(double value)
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
T const * product() const
bool isUninitialized() const
edm::EDGetTokenT< reco::CandidateView > token_jet