1 #ifndef TauRegionalPixelSeedGenerator_h
2 #define TauRegionalPixelSeedGenerator_h
22 #include "Math/GenVector/VectorUtil.h"
23 #include "Math/GenVector/PxPyPzE4D.h"
35 edm::LogInfo (
"TauRegionalPixelSeedGenerator") <<
"Enter the TauRegionalPixelSeedGenerator";
48 if (regionPSet.
exists(
"measurementTrackerName")){
49 m_measurementTracker = regionPSet.
getParameter<std::string>(
"measurementTrackerName");
50 if (regionPSet.
exists(
"howToUseMeasurementTracker")){
60 std::vector<TrackingRegion* >
result;
63 double deltaZVertex, deltaRho;
69 if (not vertices.empty()) {
71 GlobalPoint myTmp(vertices.at(0).position().x(),vertices.at(0).position().y(), vertices.at(0).position().z());
87 for (
unsigned int iJet =0; iJet < h_jets->size(); ++iJet)
102 result.push_back(etaphiRegion);
T getParameter(std::string const &) const
TauRegionalPixelSeedGenerator(const edm::ParameterSet &conf_)
std::string m_measurementTracker
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::vector< Vertex > VertexCollection
collection of Vertex objects
virtual Vector momentum() const =0
spatial momentum vector
virtual ~TauRegionalPixelSeedGenerator()
virtual std::vector< TrackingRegion * > regions(const edm::Event &e, const edm::EventSetup &es) const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag m_vertexSrc
double m_howToUseMeasurementTracker