48 typedef std::shared_ptr<HcalSeverityLevelComputer>
ReturnType;
74 myComputer = std::make_shared<HcalSeverityLevelComputer>(iConfig);
102 desc.
add<
unsigned int>(
"phase", 0);
103 desc.
add<std::vector<std::string>>(
"RecoveredRecHitBits", {
105 "TimingSubtractedBit",
109 vpsd1.
add<std::vector<std::string>>(
"RecHitFlags", {
112 vpsd1.
add<std::vector<std::string>>(
"ChannelStatus", {
115 vpsd1.
add<
int>(
"Level", 0);
116 std::vector<edm::ParameterSet> temp1;
120 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
123 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
127 temp1.push_back(temp2);
131 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
134 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
135 "HcalCellCaloTowerProb",
138 temp1.push_back(temp2);
142 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
151 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
152 "HcalCellExcludeFromHBHENoiseSummary",
155 temp1.push_back(temp2);
159 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
160 "HBHEHpdHitMultiplicity",
175 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
179 temp1.push_back(temp2);
183 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
188 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
192 temp1.push_back(temp2);
196 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
199 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
200 "HcalCellCaloTowerMask",
203 temp1.push_back(temp2);
207 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
210 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
214 temp1.push_back(temp2);
218 temp2.
addParameter<std::vector<std::string>>(
"RecHitFlags", {
221 temp2.
addParameter<std::vector<std::string>>(
"ChannelStatus", {
226 temp1.push_back(temp2);
228 desc.
addVPSet(
"SeverityLevels", vpsd1, temp1);
230 desc.
add<std::vector<std::string>>(
"DropChannelStatusBits", {
235 descriptions.
add(
"hcalRecAlgos", desc);
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
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)
std::shared_ptr< HcalSeverityLevelComputer > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)