32 setWhatProduced(
this,myname);
43 desc.
add<
bool>(
"DoLorentz",
true);
44 desc.
add<
bool>(
"DoCosmics",
false);
45 desc.
add<
bool>(
"LoadTemplatesFromDB",
true);
46 desc.
add<
bool>(
"RunDamagedClusters",
false);
48 desc.
add<
double>(
"MinChargeRatio", 0.8);
49 desc.
add<
double>(
"MaxSizeMismatchInY", 0.3);
50 desc.
add<
bool>(
"Alpha2Order",
true);
51 desc.
add<std::vector<std::string>>(
"Recommend2D", {
56 desc.
add<
int>(
"ClusterProbComputationFlag", 0);
57 desc.
add<
int>(
"speed", -2);
58 desc.
add<
bool>(
"UseClusterSplitter",
false);
59 descriptions.
add(
"templates2", desc);
62 std::unique_ptr<PixelClusterParameterEstimator>
78 lorentzAngleProduct = lorentzAngle.
product();
81 lorentzAngleProduct=
nullptr;
91 std::make_unique<PixelCPEClusterRepair>(pset_,
T getParameter(std::string const &) const
~PixelCPEClusterRepairESProducer() override
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
PixelCPEClusterRepairESProducer(const edm::ParameterSet &p)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const DepRecordT getRecord() const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< PixelClusterParameterEstimator > produce(const TkPixelCPERecord &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T const * product() const