47 typedef std::unique_ptr<HcalSeverityLevelComputer>
ReturnType;
87 return std::make_unique<HcalSeverityLevelComputer>(
mConfig);
92 desc.
add<
unsigned int>(
"phase", 0);
93 desc.
add<std::vector<std::string>>(
"RecoveredRecHitBits",
96 "TimingSubtractedBit",
100 vpsd1.
add<std::vector<std::string>>(
"RecHitFlags",
104 vpsd1.
add<std::vector<std::string>>(
"ChannelStatus",
108 vpsd1.
add<
int>(
"Level", 0);
109 std::vector<edm::ParameterSet> temp1;
113 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
117 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
122 temp1.push_back(temp2);
126 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
130 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
132 "HcalCellCaloTowerProb",
135 temp1.push_back(temp2);
139 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
149 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
151 "HcalCellExcludeFromHBHENoiseSummary",
154 temp1.push_back(temp2);
158 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
160 "HBHEHpdHitMultiplicity",
175 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
180 temp1.push_back(temp2);
184 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
190 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
195 temp1.push_back(temp2);
199 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
203 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
205 "HcalCellCaloTowerMask",
208 temp1.push_back(temp2);
212 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
216 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
221 temp1.push_back(temp2);
225 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
229 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
235 temp1.push_back(temp2);
237 desc.
addVPSet(
"SeverityLevels", vpsd1, temp1);
239 desc.
add<std::vector<std::string>>(
"DropChannelStatusBits",
245 descriptions.
add(
"hcalRecAlgos", desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
std::unique_ptr< HcalSeverityLevelComputer > ReturnType
const edm::ParameterSet mConfig
~HcalRecAlgoESProducer() override
ReturnType produce(const HcalSeverityLevelComputerRcd &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addParameter(std::string const &name, T const &value)
HcalRecAlgoESProducer(const edm::ParameterSet &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)