Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
SiStripClusterToDigiProducer (const edm::ParameterSet &conf) | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 | |
const edm::InputTag | _inputTag |
uint32_t | detId |
uint32_t | gain_cache_id |
edm::ESHandle< SiStripGain > | gainHandle |
SiStripApvGain::Range | gainRange |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 19 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 21 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 23 of file SiStripClusterToDigiProducer.cc.
Definition at line 22 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 27 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 28 of file SiStripClusterToDigiProducer.cc.
|
private |
Definition at line 26 of file SiStripClusterToDigiProducer.cc.
|
explicit |
Definition at line 53 of file SiStripClusterToDigiProducer.cc.
|
inlineprivate |
Definition at line 134 of file SiStripClusterToDigiProducer.cc.
References ecalMGPA::adc(), DeDxDiscriminatorTools::charge(), edm::hlt::Exception, and gain().
Referenced by process().
|
inlineprivate |
Definition at line 41 of file SiStripClusterToDigiProducer.cc.
References gainHandle, and gainRange.
Referenced by applyGain().
|
private |
Definition at line 115 of file SiStripClusterToDigiProducer.cc.
References gain_cache_id, gainHandle, and edm::EventSetup::get().
Referenced by produce().
|
private |
Definition at line 88 of file SiStripClusterToDigiProducer.cc.
References applyGain(), edmNew::DetSetVector< T >::begin(), edm::DetSet< T >::data, cond::rpcobgas::detid, edmNew::DetSetVector< T >::end(), setDetId(), edm::DetSet< T >::size(), and tablePrinter::width.
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), and produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 64 of file SiStripClusterToDigiProducer.cc.
References _inputTag, initialize(), LaserDQM_cfg::input, edm::HandleBase::isValid(), and process().
|
inlineprivate |
Definition at line 127 of file SiStripClusterToDigiProducer.cc.
References detId, gainHandle, gainRange, and errorMatrix2Lands_multiChannel::id.
Referenced by process().
|
private |
Definition at line 44 of file SiStripClusterToDigiProducer.cc.
Referenced by produce().
|
private |
Definition at line 47 of file SiStripClusterToDigiProducer.cc.
Referenced by setDetId().
|
private |
Definition at line 47 of file SiStripClusterToDigiProducer.cc.
Referenced by initialize().
|
private |
Definition at line 46 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), initialize(), and setDetId().
|
private |
Definition at line 45 of file SiStripClusterToDigiProducer.cc.
Referenced by gain(), and setDetId().