1 #ifndef TrackingRegionsFromBeamSpotAndL2Tau_h
2 #define TrackingRegionsFromBeamSpotAndL2Tau_h
32 edm::LogInfo (
"TrackingRegionsFromBeamSpotAndL2Tau") <<
"Enter the TrackingRegionsFromBeamSpotAndL2Tau";
62 std::vector<std::unique_ptr<TrackingRegion> >
result;
67 if(!bsHandle.
isValid())
return result;
74 size_t n_objects = objects->size();
75 if (n_objects == 0)
return result;
81 measurementTracker = hmte.
product();
88 for (
size_t i =0;
i < n_objects && n_regions <
m_jetMaxN; ++
i)
95 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(
virtual ~TrackingRegionsFromBeamSpotAndL2Tau()
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot
T getParameter(std::string const &) const
double z0() const
z coordinate
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_whereToUseMeasurementTracker
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual double pt() const =0
transverse momentum
bool exists(std::string const ¶meterName) const
checks if a parameter exists
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)
edm::EDGetTokenT< reco::CandidateView > token_jet
virtual Vector momentum() const =0
spatial momentum vector
Abs< T >::type abs(const T &t)
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &e, const edm::EventSetup &es) const override
T const * product() const
double y0() const
y coordinate
bool isUninitialized() const
TrackingRegionsFromBeamSpotAndL2Tau(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
virtual double eta() const =0
momentum pseudorapidity
double x0() const
x coordinate