#include <SiStripGainRandomCalculator.h>
Public Member Functions | |
SiStripGainRandomCalculator (const edm::ParameterSet &) | |
~SiStripGainRandomCalculator () | |
Public Member Functions inherited from ConditionDBWriter< SiStripApvGain > | |
ConditionDBWriter (const edm::ParameterSet &iConfig) | |
virtual | ~ConditionDBWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
SiStripApvGain * | getNewObject () |
Private Attributes | |
std::vector< std::pair < uint32_t, unsigned short > > | detid_apvs_ |
unsigned long long | m_cacheID_ |
double | meanGain_ |
double | minimumPosValue_ |
bool | printdebug_ |
double | sigmaGain_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from ConditionDBWriter< SiStripApvGain > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 27 of file SiStripGainRandomCalculator.h.
|
explicit |
Definition at line 26 of file SiStripGainRandomCalculator.cc.
References detid_apvs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), meanGain_, minimumPosValue_, printdebug_, and sigmaGain_.
SiStripGainRandomCalculator::~SiStripGainRandomCalculator | ( | ) |
Definition at line 47 of file SiStripGainRandomCalculator.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 54 of file SiStripGainRandomCalculator.cc.
References cond::rpcobgas::detid, detid_apvs_, cmsRelvalreport::exit, edm::EventSetup::get(), m_cacheID_, StripTopology::nstrips(), AlCaHLTBitMon_ParallelJobs::p, and printdebug_.
|
privatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 93 of file SiStripGainRandomCalculator.cc.
References gather_cfg::cout, detid_apvs_, j, meanGain_, minimumPosValue_, getGTfromDQMFile::obj, printdebug_, SiStripApvGain::put(), and sigmaGain_.
|
private |
Definition at line 46 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze(), getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 47 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze().
|
private |
Definition at line 42 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 44 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 48 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze(), getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 43 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().