|
|
Go to the documentation of this file. 1 #ifndef TauRegionalPixelSeedGenerator_h
2 #define TauRegionalPixelSeedGenerator_h
25 #include "Math/GenVector/VectorUtil.h"
26 #include "Math/GenVector/PxPyPzE4D.h"
36 edm::LogInfo(
"TauRegionalPixelSeedGenerator") <<
"Enter the TauRegionalPixelSeedGenerator";
47 if (regionPSet.
exists(
"searchOpt")) {
72 desc.add<
double>(
"ptMin", 5.0);
73 desc.add<
double>(
"originHalfLength", 0.2);
74 desc.add<
double>(
"originRadius", 0.2);
75 desc.add<
double>(
"deltaEtaRegion", 0.1);
76 desc.add<
double>(
"deltaPhiRegion", 0.1);
79 desc.add<
bool>(
"searchOpt",
false);
85 "measurementTrackerName",
edm::InputTag(
"MeasurementTrackerEvent"),
true) xor
92 descriptions.
add(
"tauRegionalPixelSeedTrackingRegions", descRegion);
96 std::vector<std::unique_ptr<TrackingRegion> >
result;
99 double deltaZVertex, deltaRho;
131 GlobalVector jetVector(myJet.momentum().x(), myJet.momentum().y(), myJet.momentum().z());
133 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(jetVector,
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
std::vector< Vertex > VertexCollection
collection of Vertex objects
constexpr bool isUninitialized() const noexcept
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
Log< level::Info, false > LogInfo
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TauRegionalPixelSeedGenerator(const edm::ParameterSet &conf_, edm::ConsumesCollector &&iC)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
edm::EDGetTokenT< reco::VertexCollection > token_vertex
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &e, const edm::EventSetup &es) const override
~TauRegionalPixelSeedGenerator() override
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::CandidateView > token_jet
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)