Go to the documentation of this file.
37 event.getByToken(
EB_token, pEBDigis);
39 fullBarrelDigis = pEBDigis.
product();
40 edm::LogInfo(
"ZeroSuppressionInfo") <<
"total # fullBarrelDigis: " << fullBarrelDigis->
size();
45 event.getByToken(
EE_token, pEEDigis);
47 fullEndcapDigis = pEEDigis.
product();
48 edm::LogInfo(
"ZeroSuppressionInfo") <<
"total # fullEndcapDigis: " << fullEndcapDigis->
size();
62 if (fullBarrelDigis) {
67 (*gzsBarrelDigis).push_back(digiItr->id(), digiItr->begin());
70 edm::LogInfo(
"ZeroSuppressionInfo") <<
"EB Digis: " << gzsBarrelDigis->size();
83 if (fullEndcapDigis) {
88 (*gzsEndcapDigis).push_back(digiItr->id(), digiItr->begin());
91 edm::LogInfo(
"ZeroSuppressionInfo") <<
"EB Digis: " << gzsBarrelDigis->size();
T const * product() const
T const * product() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
void setPedestals(const EcalPedestals *pedestals)
can be fetched every event from the EventSetup
bool accept(const C &frame, const double &threshold)
edm::EDGetTokenT< EBDigiCollection > EB_token
std::string EBdigiCollection_
std::string EBZSdigiCollection_
Log< level::Info, false > LogInfo
~EcalZeroSuppressionProducer() override
edm::EDGetTokenT< EEDigiCollection > EE_token
void initCalibrations(const edm::EventSetup &eventSetup)
std::string EEdigiCollection_
std::string EEZSdigiCollection_
double glbEndcapThreshold_
std::string digiProducer_
Log< level::Error, false > LogError
EcalZeroSuppressor< EEDataFrame > theEndcapZeroSuppressor_
EcalZeroSuppressionProducer(const edm::ParameterSet ¶ms)
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
EcalZeroSuppressor< EBDataFrame > theBarrelZeroSuppressor_
double glbBarrelThreshold_