#include <ESZeroSuppressionProducer.h>
Definition at line 20 of file ESZeroSuppressionProducer.h.
ESZeroSuppressionProducer::~ESZeroSuppressionProducer |
( |
| ) |
|
|
override |
Produces the EDM products,
Definition at line 21 of file ESZeroSuppressionProducer.cc.
References ESSample::adc(), edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), ES_token, ESdigiCollection_, espeds_, esthresholds_, ESZSdigiCollection_, ESCondObjectContainer< T >::find(), edm::EventSetup::get(), ESThresholds::getTS2Threshold(), mps_fire::i, ESDataFrame::id(), edm::HandleBase::isValid(), eostools::move(), edm::ESHandle< T >::product(), ESDataFrame::sample(), and particleFlowZeroSuppressionECAL_cff::thresholds.
33 bool fullESDigis =
true;
44 i!=ESDigis->
end(); ++
i) {
50 if (dataframe.
sample(1).
adc() > (ts2Threshold+it_ped->getMean())) {
52 (*ESZSDigis).push_back(*
i);
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
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
float getTS2Threshold() const
std::string ESZSdigiCollection_
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_
std::string ESZeroSuppressionProducer::digiProducer_ |
|
private |
std::string ESZeroSuppressionProducer::ESdigiCollection_ |
|
private |
std::string ESZeroSuppressionProducer::ESZSdigiCollection_ |
|
private |