Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
SiStripClusterToDigiProducer (const edm::ParameterSet &conf) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Types | |
typedef edmNew::DetSetVector< SiStripCluster > | ClusterCollection |
typedef edmNew::DetSet< SiStripCluster >::const_iterator | DetClusIter |
typedef edmNew::DetSet< SiStripCluster > | DetClusterCollection |
typedef edm::DetSet< SiStripDigi > | DetDigiCollection |
typedef edm::DetSet< SiStripDigi >::const_iterator | DetDigiIter |
typedef edm::DetSetVector< SiStripDigi > | DigiCollection |
Private Member Functions | |
uint16_t | applyGain (const uint16_t &strip, const uint16_t &adc) |
float | gain (const uint16_t &strip) const |
void | initialize (const edm::EventSetup &es) |
void | process (const ClusterCollection &input, std::vector< DetDigiCollection > &output_base) |
void | setDetId (const uint32_t id) |
Private Attributes | |
uint32_t | detId |
uint32_t | gain_cache_id |
edm::ESHandle< SiStripGain > | gainHandle |
SiStripApvGain::Range | gainRange |
edm::EDGetTokenT< ClusterCollection > | token |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 19 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 20 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 22 of file SiStripClusterToDigiProducer.cc.
Definition at line 21 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 25 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 26 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 24 of file SiStripClusterToDigiProducer.cc.
|
explicit |
Definition at line 45 of file SiStripClusterToDigiProducer.cc.
References edm::ParameterSet::getParameter(), and token.
|
inlineprivate |
Definition at line 114 of file SiStripClusterToDigiProducer.cc.
References ecalMGPA::adc(), ALCARECOTkAlJpsiMuMu_cff::charge, Exception, gain(), and digitizers_cfi::strip.
Referenced by process().
|
inlineprivate |
Definition at line 36 of file SiStripClusterToDigiProducer.cc.
References gainHandle, gainRange, SiStripGain::getStripGain(), and digitizers_cfi::strip.
Referenced by applyGain().
|
private |
Definition at line 100 of file SiStripClusterToDigiProducer.cc.
References gain_cache_id, gainHandle, edm::EventSetup::get(), and get.
Referenced by produce().
|
private |
Definition at line 75 of file SiStripClusterToDigiProducer.cc.
References applyGain(), edm::DetSet< T >::data, edm::DetSet< T >::empty(), input, setDetId(), and ApeEstimator_cff::width.
Referenced by produce().
|
override |
Definition at line 54 of file SiStripClusterToDigiProducer.cc.
References initialize(), input, eostools::move(), process(), and token.
|
inlineprivate |
Definition at line 109 of file SiStripClusterToDigiProducer.cc.
References detId, gainHandle, gainRange, SiStripGain::getRange(), and triggerObjects_cff::id.
Referenced by process().
|
private |
Definition at line 42 of file SiStripClusterToDigiProducer.cc.
Referenced by setDetId().
|
private |
Definition at line 42 of file SiStripClusterToDigiProducer.cc.
Referenced by initialize().
|
private |
Definition at line 41 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), initialize(), and setDetId().
|
private |
Definition at line 40 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), and setDetId().
|
private |
Definition at line 39 of file SiStripClusterToDigiProducer.cc.
Referenced by produce(), and SiStripClusterToDigiProducer().