31 std::unique_ptr<HcalZSAlgoRealistic>
algo_;
42 : inputLabel_(conf.getParameter<
std::
string>(
"digiLabel")) {
66 std::pair<int, int> HBsearchTS(
tmp[0],
tmp[1]);
74 std::pair<int, int> HEsearchTS(
tmp[0],
tmp[1]);
82 std::pair<int, int> HOsearchTS(
tmp[0],
tmp[1]);
90 std::pair<int, int> HFsearchTS(
tmp[0],
tmp[1]);
108 algo_ = std::make_unique<HcalZSAlgoRealistic>(
markAndPass, use1ts_, HBsearchTS, HEsearchTS, HOsearchTS, HFsearchTS);
111 produces<HBHEDigiCollection>();
112 produces<HODigiCollection>();
113 produces<HFDigiCollection>();
114 produces<QIE10DigiCollection>(
"HFQIE10DigiCollection");
115 produces<QIE11DigiCollection>(
"HBHEQIE11DigiCollection");
155 algo_->suppress(*(
hbhe.product()), *zs_hbhe);
156 algo_->suppress(*(
ho.product()), *zs_ho);
157 algo_->suppress(*(
hf.product()), *zs_hf);
161 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HBHE) input " <<
hbhe->size() <<
" digis, output " 162 << zs_hbhe->size() <<
" digis" 163 <<
" (HO) input " <<
ho->size() <<
" digis, output " << zs_ho->size() <<
" digis" 164 <<
" (HF) input " <<
hf->size() <<
" digis, output " << zs_hf->size() <<
" digis" 165 <<
" (HFQIE10) input " << hfQIE10->
size() <<
" digis, output " 166 << zs_hfQIE10->size() <<
" digis" 167 <<
" (HBHEQIE11) input " << hbheQIE11->
size() <<
" digis, output " 168 << zs_hbheQIE11->size() <<
" digis";
174 e.put(
std::move(zs_hfQIE10),
"HFQIE10DigiCollection");
175 e.put(
std::move(zs_hbheQIE11),
"HBHEQIE11DigiCollection");
edm::EDGetTokenT< HODigiCollection > tok_ho_
T getParameter(std::string const &) const
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
std::unique_ptr< HcalZSAlgoRealistic > algo_
T const * product() const
edm::EDGetTokenT< QIE10DigiCollection > tok_hfQIE10_
Log< level::Error, false > LogError
HcalDataFrameContainer< QIE10DataFrame > QIE10DigiCollection
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HFDigiCollection > tok_hf_
~HcalRealisticZS() override
HcalDataFrameContainer< QIE11DataFrame > QIE11DigiCollection
Log< level::Info, false > LogInfo
edm::EDGetTokenT< QIE11DigiCollection > tok_hbheQIE11_
void produce(edm::Event &e, const edm::EventSetup &c) override
HcalRealisticZS(const edm::ParameterSet &ps)