1 #ifndef TauRegionalPixelSeedGenerator_h 2 #define TauRegionalPixelSeedGenerator_h 28 #include "Math/GenVector/VectorUtil.h" 29 #include "Math/GenVector/PxPyPzE4D.h" 40 edm::LogInfo(
"TauRegionalPixelSeedGenerator") <<
"Enter the TauRegionalPixelSeedGenerator";
51 if (regionPSet.
exists(
"searchOpt")) {
76 desc.add<
double>(
"ptMin", 5.0);
77 desc.add<
double>(
"originHalfLength", 0.2);
78 desc.add<
double>(
"originRadius", 0.2);
79 desc.add<
double>(
"deltaEtaRegion", 0.1);
80 desc.add<
double>(
"deltaPhiRegion", 0.1);
83 desc.add<
bool>(
"searchOpt",
false);
89 "measurementTrackerName",
edm::InputTag(
"MeasurementTrackerEvent"),
true) xor
96 descriptions.
add(
"tauRegionalPixelSeedTrackingRegions", descRegion);
100 std::vector<std::unique_ptr<TrackingRegion> >
result;
103 double deltaZVertex, deltaRho;
138 GlobalVector jetVector(myJet.momentum().x(), myJet.momentum().y(), myJet.momentum().z());
140 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