#include <EcalZeroSuppressionProducer.h>
Public Member Functions | |
EcalZeroSuppressionProducer (const edm::ParameterSet ¶ms) | |
void | initCalibrations (const edm::EventSetup &eventSetup) |
void | produce (edm::Event &event, const edm::EventSetup &eventSetup) override |
~EcalZeroSuppressionProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Attributes | |
const std::string | digiProducer_ |
const std::string | ebDigiCollection_ |
const edm::EDGetTokenT< EBDigiCollection > | ebToken_ |
const std::string | ebZSdigiCollection_ |
const std::string | eeDigiCollection_ |
const edm::EDGetTokenT< EEDigiCollection > | eeToken_ |
const std::string | eeZSdigiCollection_ |
const double | glbBarrelThreshold_ |
const double | glbEndcapThreshold_ |
const edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > | pedestalToken_ |
EcalZeroSuppressor< EBDataFrame > | theBarrelZeroSuppressor_ |
EcalZeroSuppressor< EEDataFrame > | theEndcapZeroSuppressor_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 22 of file EcalZeroSuppressionProducer.h.
|
explicit |
Definition at line 4 of file EcalZeroSuppressionProducer.cc.
References ebZSdigiCollection_, and eeZSdigiCollection_.
|
override |
Definition at line 19 of file EcalZeroSuppressionProducer.cc.
void EcalZeroSuppressionProducer::initCalibrations | ( | const edm::EventSetup & | eventSetup | ) |
Definition at line 101 of file EcalZeroSuppressionProducer.cc.
References options_cfi::eventSetup, pedestalToken_, EcalZeroSuppressor< C >::setPedestals(), theBarrelZeroSuppressor_, and theEndcapZeroSuppressor_.
Referenced by produce().
|
override |
Produces the EDM products,
Definition at line 21 of file EcalZeroSuppressionProducer.cc.
References EcalZeroSuppressor< C >::accept(), ebDigiCollection_, ebToken_, ebZSdigiCollection_, eeDigiCollection_, eeToken_, eeZSdigiCollection_, options_cfi::eventSetup, glbBarrelThreshold_, glbEndcapThreshold_, initCalibrations(), edm::HandleBase::isValid(), eostools::move(), edm::Handle< T >::product(), edm::DataFrameContainer::size(), l1ctLayer2EG_cff::sorter, theBarrelZeroSuppressor_, and theEndcapZeroSuppressor_.
|
private |
Definition at line 36 of file EcalZeroSuppressionProducer.h.
|
private |
Definition at line 37 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 45 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 39 of file EcalZeroSuppressionProducer.h.
Referenced by EcalZeroSuppressionProducer(), and produce().
|
private |
Definition at line 38 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 46 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 40 of file EcalZeroSuppressionProducer.h.
Referenced by EcalZeroSuppressionProducer(), and produce().
|
private |
Definition at line 33 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 34 of file EcalZeroSuppressionProducer.h.
Referenced by produce().
|
private |
Definition at line 47 of file EcalZeroSuppressionProducer.h.
Referenced by initCalibrations().
|
private |
Definition at line 42 of file EcalZeroSuppressionProducer.h.
Referenced by initCalibrations(), and produce().
|
private |
Definition at line 43 of file EcalZeroSuppressionProducer.h.
Referenced by initCalibrations(), and produce().