15 bool markAndPass=conf.getParameter<
bool>(
"markAndPass");
23 useInstanceLabels ?
"HFQIE10DigiCollection" :
"" ));
25 useInstanceLabels ?
"HBHEQIE11DigiCollection" :
""));
28 std::vector<int>
tmp = conf.getParameter<std::vector<int> >(
"HBregion");
30 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
31 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HB) region error: " 32 << tmp[0] <<
":" <<tmp[1];
36 std::pair<int,int> HBsearchTS (tmp[0],tmp[1]);
38 tmp = conf.getParameter<std::vector<int> >(
"HEregion");
39 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
40 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HE) region error: " 41 << tmp[0] <<
":" <<tmp[1];
44 std::pair<int,int> HEsearchTS (tmp[0],tmp[1]);
46 tmp = conf.getParameter<std::vector<int> >(
"HOregion");
47 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
48 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HO) region error: " 49 << tmp[0] <<
":" <<tmp[1];
52 std::pair<int,int> HOsearchTS (tmp[0],tmp[1]);
54 tmp = conf.getParameter<std::vector<int> >(
"HFregion");
55 if(tmp[0]<0 || tmp[0]>9 || tmp[1]<0 || tmp[1]>9 || tmp[0]>tmp[1]) {
56 edm::LogError(
"HcalZeroSuppression") <<
"ZS(HF) region error: " 57 << tmp[0] <<
":" <<tmp[1];
60 std::pair<int,int> HFsearchTS (tmp[0],tmp[1]);
66 if ( conf.getParameter<
int>(
"useConfigZSvalues") ) {
70 conf.getParameter<
int>(
"HBlevel"),
71 conf.getParameter<
int>(
"HElevel"),
72 conf.getParameter<
int>(
"HOlevel"),
73 conf.getParameter<
int>(
"HFlevel"),
90 produces<HBHEDigiCollection>();
91 produces<HODigiCollection>();
92 produces<HFDigiCollection>();
93 produces<QIE10DigiCollection>(
"HFQIE10DigiCollection");
94 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_