14 bool markAndPass = conf.getParameter<
bool>(
"markAndPass");
26 std::vector<int>
tmp = conf.getParameter<std::vector<int>>(
"HBregion");
28 if (tmp[0] < 0 || tmp[0] > 9 || tmp[1] < 0 || tmp[1] > 9 || tmp[0] > tmp[1]) {
29 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HB) region error: " << tmp[0] <<
":" << tmp[1];
34 std::pair<int, int> HBsearchTS(tmp[0], tmp[1]);
36 tmp = conf.getParameter<std::vector<int>>(
"HEregion");
37 if (tmp[0] < 0 || tmp[0] > 9 || tmp[1] < 0 || tmp[1] > 9 || tmp[0] > tmp[1]) {
38 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HE) region error: " << tmp[0] <<
":" << tmp[1];
42 std::pair<int, int> HEsearchTS(tmp[0], tmp[1]);
44 tmp = conf.getParameter<std::vector<int>>(
"HOregion");
45 if (tmp[0] < 0 || tmp[0] > 9 || tmp[1] < 0 || tmp[1] > 9 || tmp[0] > tmp[1]) {
46 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HO) region error: " << tmp[0] <<
":" << tmp[1];
50 std::pair<int, int> HOsearchTS(tmp[0], tmp[1]);
52 tmp = conf.getParameter<std::vector<int>>(
"HFregion");
53 if (tmp[0] < 0 || tmp[0] > 9 || tmp[1] < 0 || tmp[1] > 9 || tmp[0] > tmp[1]) {
54 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HF) region error: " << tmp[0] <<
":" << tmp[1];
58 std::pair<int, int> HFsearchTS(tmp[0], tmp[1]);
63 if (conf.getParameter<
int>(
"useConfigZSvalues")) {
65 conf.getParameter<
int>(
"HBlevel"),
66 conf.getParameter<
int>(
"HElevel"),
67 conf.getParameter<
int>(
"HOlevel"),
68 conf.getParameter<
int>(
"HFlevel"),
78 produces<HBHEDigiCollection>();
79 produces<HODigiCollection>();
80 produces<HFDigiCollection>();
81 produces<QIE10DigiCollection>(
"HFQIE10DigiCollection");
82 produces<QIE11DigiCollection>(
"HBHEQIE11DigiCollection");
edm::EDGetTokenT< HODigiCollection > tok_ho_
std::unique_ptr< HcalZSAlgoRealistic > algo_
edm::EDGetTokenT< QIE10DigiCollection > tok_hfQIE10_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
edm::EDGetTokenT< QIE11DigiCollection > tok_hbheQIE11_