Go to the documentation of this file.
25 float ts2Threshold =
thresholds->getTS2Threshold();
29 bool fullESDigis =
true;
44 if (dataframe.
sample(1).
adc() > (ts2Threshold + it_ped->getMean())) {
47 (*ESZSDigis).push_back(*
i);
T const * product() const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
int adc() const
get the ADC sample (singed 16 bits)
std::string ESZSdigiCollection_
const_iterator find(uint32_t rawId) const
~ESZeroSuppressionProducer() override
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
std::string ESdigiCollection_
const ESSample & sample(int i) const
std::vector< Item >::const_iterator const_iterator
edm::ESHandle< ESPedestals > espeds_
const_iterator begin() const
The iterator returned can not safely be used across threads.
Log< level::Error, false > LogError
edm::EDGetTokenT< ESDigiCollection > ES_token
edm::ESHandle< ESThresholds > esthresholds_
ESZeroSuppressionProducer(const edm::ParameterSet &ps)
T getParameter(std::string const &) const
std::string digiProducer_
const_iterator end() const
const ESDetId & id() const