33 bool fullESDigis =
true;
44 i!=ESDigis->
end(); ++
i) {
50 if (dataframe.
sample(1).
adc() > (ts2Threshold+it_ped->getMean())) {
52 (*ESZSDigis).push_back(*
i);
T getParameter(std::string const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
ESZeroSuppressionProducer(const edm::ParameterSet &ps)
edm::ESHandle< ESPedestals > espeds_
const ESDetId & id() const
edm::EDGetTokenT< ESDigiCollection > ES_token
const_iterator begin() const
edm::ESHandle< ESThresholds > esthresholds_
const_iterator find(uint32_t rawId) const
const ESSample & sample(int i) const
std::string digiProducer_
virtual void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
float getTS2Threshold() const
std::string ESZSdigiCollection_
virtual ~ESZeroSuppressionProducer()
std::vector< Item >::const_iterator const_iterator
const_iterator end() const
int adc() const
get the ADC sample (singed 16 bits)
T const * product() const
std::string ESdigiCollection_