6 : digiProducer_(ps.getParameter<
std::
string>(
"digiProducer")),
7 ESdigiCollection_(ps.getParameter<
std::
string>(
"ESdigiCollection")),
8 ESZSdigiCollection_(ps.getParameter<
std::
string>(
"ESZSdigiCollection")),
21 float ts2Threshold =
thresholds.getTS2Threshold();
25 bool fullESDigis =
true;
40 if (dataframe.
sample(1).
adc() > (ts2Threshold + it_ped->getMean())) {
43 (*ESZSDigis).push_back(*
i);
const ESDetId & id() const
ESZeroSuppressionProducer(const edm::ParameterSet &ps)
const std::string ESZSdigiCollection_
Log< level::Error, false > LogError
const_iterator find(uint32_t rawId) const
const std::string ESdigiCollection_
int adc() const
get the ADC sample (singed 16 bits)
const ESSample & sample(int i) const
const edm::ESGetToken< ESThresholds, ESThresholdsRcd > esthresholdsToken_
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
const_iterator end() const
const edm::ESGetToken< ESPedestals, ESPedestalsRcd > espedsToken_
const_iterator begin() const
The iterator returned can not safely be used across threads.
std::vector< Item >::const_iterator const_iterator
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
~ESZeroSuppressionProducer() override
const edm::EDGetTokenT< ESDigiCollection > ES_token