53 pset1.
add<
std::string>(
"algoName",
"Basic2DGenericPFlowPositionCalc");
56 psd.
add<std::vector<int>>(
"depths", {});
58 psd.
add<std::vector<double>>(
"logWeightDenominator", {});
59 pset1.
addVPSet(
"logWeightDenominatorByDetector", psd, {});
61 pset1.
add<
double>(
"minAllowedNormalization", 1
e-09);
62 pset1.
add<
double>(
"minFractionInCalc", 1
e-09);
63 pset1.
add<
int>(
"posCalcNCrystals", -1);
69 pset0.
add<
double>(
"minFractionToKeep", 1
e-07);
70 pset0.
add<
double>(
"nSigmaEta", 2.0);
71 pset0.
add<
double>(
"nSigmaPhi", 2.0);
75 desc.add<
bool>(
"usePFThresholdsFromDB",
false);
80 #define LOGVERB(x) edm::LogVerbatim(x) 81 #define LOGWARN(x) edm::LogWarning(x) 82 #define LOGERR(x) edm::LogError(x) 83 #define LOGDRESSED(x) edm::LogInfo(x) 85 #define LOGVERB(x) LogTrace(x) 86 #define LOGWARN(x) edm::LogWarning(x) 87 #define LOGERR(x) edm::LogError(x) 88 #define LOGDRESSED(x) LogDebug(x) 102 if (!pfcConf.empty()) {
104 if (!pfcName.empty())
109 if (!cConf.
empty()) {
115 produces<reco::PFClusterCollection>();
131 std::vector<bool> seedable;
133 auto pfClusters = std::make_unique<reco::PFClusterCollection>();
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
~PFMultiDepthClusterProducer() override=default
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
uint32_t cc[maxCellsPerHit]
ParameterSet const & getParameterSet(std::string const &) const
std::unique_ptr< PFClusterBuilderBase > _pfClusterBuilder
InitialClusteringStepBase ICSB
#define DEFINE_FWK_MODULE(type)
std::unique_ptr< PFClusterEnergyCorrectorBase > _energyCorrector
edm::ESGetToken< HcalPFCuts, HcalPFCutsRcd > hcalCutsToken_
void produce(edm::Event &, const edm::EventSetup &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
HcalPFCuts const * paramPF
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
PFMultiDepthClusterProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::PFClusterCollection > _clustersLabel
PFClusterBuilderBase PFCBB
void beginRun(const edm::Run &, const edm::EventSetup &) override
PFCPositionCalculatorBase PosCalc