17 inputLabel_(conf.getParameter<std::
string>(
"digiLabel"))
28 bool markAndPass=psHBHE.
getParameter<
bool>(
"markAndPass");
30 psHBHE.getParameter<
int>(
"level"),
31 psHBHE.getParameter<
int>(
"firstSample"),
32 psHBHE.getParameter<
int>(
"samplesToAdd"),
33 psHBHE.getParameter<
bool>(
"twoSided")));
34 produces<HBHEDigiCollection>();
36 psHBHE.getParameter<
int>(
"level"),
37 psHBHE.getParameter<
int>(
"firstSample"),
38 psHBHE.getParameter<
int>(
"samplesToAdd"),
39 psHBHE.getParameter<
bool>(
"twoSided")));
40 produces<HBHEUpgradeDigiCollection>(
"HBHEUpgradeDigiCollection");
46 psHO.getParameter<
int>(
"firstSample"),
47 psHO.getParameter<
int>(
"samplesToAdd"),
48 psHO.getParameter<
bool>(
"twoSided")));
49 produces<HODigiCollection>();
55 psHF.getParameter<
int>(
"firstSample"),
56 psHF.getParameter<
int>(
"samplesToAdd"),
57 psHF.getParameter<
bool>(
"twoSided")));
58 produces<HFDigiCollection>();
61 psHF.getParameter<
int>(
"firstSample"),
62 psHF.getParameter<
int>(
"samplesToAdd"),
63 psHF.getParameter<
bool>(
"twoSided")));
64 produces<HFUpgradeDigiCollection>(
"HFUpgradeDigiCollection");
79 hbhe_->prepare(&(*conditions));
88 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HBHE) input " << digi->size() <<
" digis, output " << zs->size() <<
" digis";
95 ho_->prepare(&(*conditions));
104 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HO) input " << digi->size() <<
" digis, output " << zs->size() <<
" digis";
111 hf_->prepare(&(*conditions));
120 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HF) input " << digi->size() <<
" digis, output " << zs->size() <<
" digis";
136 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HBHEUpgrade) input " << digi->size() <<
" digis, output " << zs->size() <<
" digis";
139 e.
put(zs,
"HBHEUpgradeDigiCollection");
152 edm::LogInfo(
"HcalZeroSuppression") <<
"Suppression (HFUpgrade) input " << digi->size() <<
" digis, output " << zs->size() <<
" digis";
155 e.
put(zs,
"HFUpgradeDigiCollection");
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &e, const edm::EventSetup &c)
edm::EDGetTokenT< HFDigiCollection > tok_hf_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::auto_ptr< HcalZSAlgoEnergy > hbhe_
edm::EDGetTokenT< HBHEUpgradeDigiCollection > tok_hbheUpgrade_
T const * product() const
std::auto_ptr< HcalZSAlgoEnergy > hfUpgrade_
edm::EDGetTokenT< HODigiCollection > tok_ho_
edm::EDGetTokenT< HFUpgradeDigiCollection > tok_hfUpgrade_
std::auto_ptr< HcalZSAlgoEnergy > ho_
HcalSimpleAmplitudeZS(const edm::ParameterSet &ps)
std::auto_ptr< HcalZSAlgoEnergy > hbheUpgrade_
std::auto_ptr< HcalZSAlgoEnergy > hf_
virtual ~HcalSimpleAmplitudeZS()
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_