|
|
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);
81 desc.
add<
std::string>(
"howToUseMeasurementTracker",
"ForSiStrips");
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
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TauRegionalPixelSeedGenerator(const edm::ParameterSet &conf_, edm::ConsumesCollector &&iC)
bool isUninitialized() const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
edm::EDGetTokenT< reco::VertexCollection > token_vertex
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
T getParameter(std::string const &) const
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &e, const edm::EventSetup &es) const override
~TauRegionalPixelSeedGenerator() override
edm::EDGetTokenT< reco::CandidateView > token_jet
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)