#include <ESZeroSuppressionProducer.h>
Definition at line 20 of file ESZeroSuppressionProducer.h.
◆ ESZeroSuppressionProducer()
Definition at line 5 of file ESZeroSuppressionProducer.cc.
References ESZSdigiCollection_.
T getParameter(std::string const &) const
const std::string digiProducer_
const std::string ESZSdigiCollection_
const std::string ESdigiCollection_
const edm::ESGetToken< ESThresholds, ESThresholdsRcd > esthresholdsToken_
const edm::ESGetToken< ESPedestals, ESPedestalsRcd > espedsToken_
const edm::EDGetTokenT< ESDigiCollection > ES_token
◆ ~ESZeroSuppressionProducer()
ESZeroSuppressionProducer::~ESZeroSuppressionProducer |
( |
| ) |
|
|
override |
◆ produce()
Produces the EDM products,
Definition at line 17 of file ESZeroSuppressionProducer.cc.
References ESSample::adc(), edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), ES_token, ESdigiCollection_, espedsToken_, esthresholdsToken_, ESZSdigiCollection_, options_cfi::eventSetup, ESCondObjectContainer< T >::find(), mps_fire::i, ESDataFrame::id(), edm::HandleBase::isValid(), eostools::move(), ESDataFrame::sample(), and particleFlowZeroSuppressionECAL_cff::thresholds.
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
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_
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
const edm::EDGetTokenT< ESDigiCollection > ES_token
◆ digiProducer_
const std::string ESZeroSuppressionProducer::digiProducer_ |
|
private |
◆ ES_token
◆ ESdigiCollection_
const std::string ESZeroSuppressionProducer::ESdigiCollection_ |
|
private |
◆ espedsToken_
◆ esthresholdsToken_
◆ ESZSdigiCollection_
const std::string ESZeroSuppressionProducer::ESZSdigiCollection_ |
|
private |