45 typedef std::unique_ptr<HcalSeverityLevelComputer>
ReturnType;
85 return std::make_unique<HcalSeverityLevelComputer>(
mConfig);
90 desc.add<
unsigned int>(
"phase", 0);
91 desc.add<std::vector<std::string>>(
"RecoveredRecHitBits",
94 "TimingSubtractedBit",
98 vpsd1.
add<std::vector<std::string>>(
"RecHitFlags",
102 vpsd1.
add<std::vector<std::string>>(
"ChannelStatus",
106 vpsd1.
add<
int>(
"Level", 0);
107 std::vector<edm::ParameterSet> temp1;
111 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
115 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
120 temp1.push_back(temp2);
124 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
128 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
130 "HcalCellCaloTowerProb",
133 temp1.push_back(temp2);
137 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
147 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
149 "HcalCellExcludeFromHBHENoiseSummary",
152 temp1.push_back(temp2);
156 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
158 "HBHEHpdHitMultiplicity",
173 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
178 temp1.push_back(temp2);
182 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
188 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
193 temp1.push_back(temp2);
197 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
201 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
203 "HcalCellCaloTowerMask",
206 temp1.push_back(temp2);
210 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
214 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
219 temp1.push_back(temp2);
223 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags",
227 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus",
233 temp1.push_back(temp2);
235 desc.addVPSet(
"SeverityLevels", vpsd1, temp1);
237 desc.add<std::vector<std::string>>(
"DropChannelStatusBits",
243 descriptions.
add(
"hcalRecAlgos",
desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
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)