1 #ifndef TrackingRegionsFromBeamSpotAndL2Tau_h
2 #define TrackingRegionsFromBeamSpotAndL2Tau_h
30 edm::LogInfo (
"TrackingRegionsFromBeamSpotAndL2Tau") <<
"Enter the TrackingRegionsFromBeamSpotAndL2Tau";
51 if (regionPSet.
exists(
"measurementTrackerName"))
54 if (regionPSet.
exists(
"whereToUseMeasurementTracker"))
64 std::vector<TrackingRegion* >
result;
69 if(!bsHandle.
isValid())
return result;
76 size_t n_objects = objects->size();
77 if (n_objects == 0)
return result;
83 for (
size_t i =0;
i < n_objects && n_regions <
m_jetMaxN; ++
i)
103 result.push_back(etaphiRegion);
virtual ~TrackingRegionsFromBeamSpotAndL2Tau()
T getParameter(std::string const &) const
double z0() const
z coordinate
TrackingRegionsFromBeamSpotAndL2Tau(const edm::ParameterSet &conf)
virtual double pt() const =0
transverse momentum
bool exists(std::string const ¶meterName) const
checks if a parameter exists
float m_whereToUseMeasurementTracker
std::string m_measurementTrackerName
virtual Vector momentum() const =0
spatial momentum vector
virtual std::vector< TrackingRegion * > regions(const edm::Event &e, const edm::EventSetup &es) const
edm::InputTag m_beamSpotTag
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
double y0() const
y coordinate
virtual double eta() const =0
momentum pseudorapidity
double x0() const
x coordinate