15 bool markAndPass=conf.getParameter<
bool>(
"markAndPass");
25 std::vector<int>
tmp = conf.getParameter<std::vector<int> >(
"HBregion");
27 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
28 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HB) region error: " 29 << tmp[0] <<
":" <<tmp[1];
33 std::pair<int,int> HBsearchTS (tmp[0],tmp[1]);
35 tmp = conf.getParameter<std::vector<int> >(
"HEregion");
36 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
37 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HE) region error: " 38 << tmp[0] <<
":" <<tmp[1];
41 std::pair<int,int> HEsearchTS (tmp[0],tmp[1]);
43 tmp = conf.getParameter<std::vector<int> >(
"HOregion");
44 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
45 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HO) region error: " 46 << tmp[0] <<
":" <<tmp[1];
49 std::pair<int,int> HOsearchTS (tmp[0],tmp[1]);
51 tmp = conf.getParameter<std::vector<int> >(
"HFregion");
52 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
53 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HF) region error: " 54 << tmp[0] <<
":" <<tmp[1];
57 std::pair<int,int> HFsearchTS (tmp[0],tmp[1]);
63 if ( conf.getParameter<
int>(
"useConfigZSvalues") ) {
67 conf.getParameter<
int>(
"HBlevel"),
68 conf.getParameter<
int>(
"HElevel"),
69 conf.getParameter<
int>(
"HOlevel"),
70 conf.getParameter<
int>(
"HFlevel"),
87 produces<HBHEDigiCollection>();
88 produces<HODigiCollection>();
89 produces<HFDigiCollection>();
90 produces<QIE10DigiCollection>(
"HFQIE10DigiCollection");
91 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_
std::vector< std::vector< double > > tmp
edm::EDGetTokenT< QIE11DigiCollection > tok_hbheQIE11_