1 #ifndef TauRegionalPixelSeedGenerator_h 2 #define TauRegionalPixelSeedGenerator_h 29 #include "Math/GenVector/VectorUtil.h" 30 #include "Math/GenVector/PxPyPzE4D.h" 41 edm::LogInfo(
"TauRegionalPixelSeedGenerator") <<
"Enter the TauRegionalPixelSeedGenerator";
52 if (regionPSet.
exists(
"searchOpt")) {
77 desc.add<
double>(
"ptMin", 5.0);
78 desc.add<
double>(
"originHalfLength", 0.2);
79 desc.add<
double>(
"originRadius", 0.2);
80 desc.add<
double>(
"deltaEtaRegion", 0.1);
81 desc.add<
double>(
"deltaPhiRegion", 0.1);
84 desc.add<
bool>(
"searchOpt",
false);
90 "measurementTrackerName",
edm::InputTag(
"MeasurementTrackerEvent"),
true) xor
97 descriptions.
add(
"tauRegionalPixelSeedTrackingRegions", descRegion);
101 std::vector<std::unique_ptr<TrackingRegion> >
result;
104 double deltaZVertex, deltaRho;
139 GlobalVector jetVector(myJet.momentum().x(), myJet.momentum().y(), myJet.momentum().z());
141 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(jetVector,
T getParameter(std::string const &) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
T const * product() const
constexpr bool isUninitialized() const noexcept
std::vector< Vertex > VertexCollection
collection of Vertex objects
static UseMeasurementTracker stringToUseMeasurementTracker(const std::string &name)
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::EDGetTokenT< MeasurementTrackerEvent > token_measurementTracker
TauRegionalPixelSeedGenerator(const edm::ParameterSet &conf, edm::ConsumesCollector &&iC)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > token_bfield
bool getData(T &iHolder) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< reco::VertexCollection > token_vertex
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
RectangularEtaPhiTrackingRegion::UseMeasurementTracker m_howToUseMeasurementTracker
~TauRegionalPixelSeedGenerator() override
std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &e, const edm::EventSetup &es) const override
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > token_msmaker
edm::EDGetTokenT< reco::CandidateView > token_jet