43 event.getByToken(
EB_token, pEBDigis);
45 fullBarrelDigis = pEBDigis.
product();
46 edm::LogInfo(
"ZeroSuppressionInfo") <<
"total # fullBarrelDigis: " << fullBarrelDigis->
size() ;
51 event.getByToken(
EE_token, pEEDigis);
53 fullEndcapDigis = pEEDigis.
product();
54 edm::LogInfo(
"ZeroSuppressionInfo") <<
"total # fullEndcapDigis: " << fullEndcapDigis->
size() ;
68 if (fullBarrelDigis) {
71 digiItr != (*fullBarrelDigis).end(); ++digiItr)
76 (*gzsBarrelDigis).push_back(digiItr->id(), digiItr->begin());
80 edm::LogInfo(
"ZeroSuppressionInfo") <<
"EB Digis: " << gzsBarrelDigis->size();
93 if (fullEndcapDigis) {
96 digiItr != (*fullEndcapDigis).end(); ++digiItr)
101 (*gzsEndcapDigis).push_back(digiItr->id(), digiItr->begin());
105 edm::LogInfo(
"ZeroSuppressionInfo") <<
"EB Digis: " << gzsBarrelDigis->size();
std::string digiProducer_
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
double glbEndcapThreshold_
void setPedestals(const EcalPedestals *pedestals)
can be fetched every event from the EventSetup
std::string EEdigiCollection_
EcalZeroSuppressor< EBDataFrame > theBarrelZeroSuppressor_
bool accept(const C &frame, const double &threshold)
std::string EBZSdigiCollection_
void initCalibrations(const edm::EventSetup &eventSetup)
edm::EDGetTokenT< EEDigiCollection > EE_token
EcalZeroSuppressionProducer(const edm::ParameterSet ¶ms)
edm::EDGetTokenT< EBDigiCollection > EB_token
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
EcalZeroSuppressor< EEDataFrame > theEndcapZeroSuppressor_
virtual ~EcalZeroSuppressionProducer()
std::string EEZSdigiCollection_
std::string EBdigiCollection_
T const * product() const
virtual void produce(edm::Event &event, const edm::EventSetup &eventSetup)
T const * product() const
double glbBarrelThreshold_