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 | |
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 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 | process (const ClusterCollection &input, std::vector< DetDigiCollection > &output_base) |
void | setDetId (const uint32_t id) |
Private Attributes | |
uint32_t | detId |
const SiStripGain * | gain_ |
SiStripApvGain::Range | gainRange |
edm::ESGetToken< SiStripGain, SiStripGainRcd > | gainToken_ |
edm::ESWatcher< SiStripGainRcd > | gainWatcher_ |
edm::EDGetTokenT < ClusterCollection > | token |
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 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 46 of file SiStripClusterToDigiProducer.cc.
References DeDxTools::esConsumes(), gainToken_, edm::ParameterSet::getParameter(), and token.
|
inlineprivate |
Definition at line 109 of file SiStripClusterToDigiProducer.cc.
References gpuClustering::adc, RecoTauCleanerPlugins::charge, Exception, and gain().
Referenced by process().
|
inlineprivate |
Definition at line 35 of file SiStripClusterToDigiProducer.cc.
References gain_, gainRange, and SiStripGain::getStripGain().
Referenced by applyGain().
|
private |
Definition at line 79 of file SiStripClusterToDigiProducer.cc.
References applyGain(), edmNew::DetSetVector< T >::begin(), edm::DetSet< T >::data, edm::DetSet< T >::empty(), edmNew::DetSetVector< T >::end(), and setDetId().
Referenced by produce().
|
override |
Definition at line 56 of file SiStripClusterToDigiProducer.cc.
References edm::ESWatcher< T >::check(), gain_, gainToken_, gainWatcher_, edm::EventSetup::getData(), input, edm::HandleBase::isValid(), eostools::move(), process(), and token.
|
inlineprivate |
Definition at line 104 of file SiStripClusterToDigiProducer.cc.
References detId, gain_, gainRange, SiStripGain::getRange(), and gpuClustering::id.
Referenced by process().
|
private |
Definition at line 43 of file SiStripClusterToDigiProducer.cc.
Referenced by setDetId().
|
private |
Definition at line 42 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), produce(), and setDetId().
|
private |
Definition at line 39 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), and setDetId().
|
private |
Definition at line 40 of file SiStripClusterToDigiProducer.cc.
Referenced by produce(), and SiStripClusterToDigiProducer().
|
private |
Definition at line 41 of file SiStripClusterToDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 38 of file SiStripClusterToDigiProducer.cc.
Referenced by produce(), and SiStripClusterToDigiProducer().