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