#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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 26 of file SiStripGainRandomCalculator.h.
|
explicit |
Definition at line 25 of file SiStripGainRandomCalculator.cc.
References detid_apvs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), meanGain_, minimumPosValue_, printdebug_, and sigmaGain_.
SiStripGainRandomCalculator::~SiStripGainRandomCalculator | ( | ) |
Definition at line 46 of file SiStripGainRandomCalculator.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 53 of file SiStripGainRandomCalculator.cc.
References detid_apvs_, cmsRelvalreport::exit, edm::EventSetup::get(), m_cacheID_, StripTopology::nstrips(), AlCaHLTBitMon_ParallelJobs::p, and printdebug_.
|
privatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 92 of file SiStripGainRandomCalculator.cc.
References gather_cfg::cout, detid_apvs_, j, meanGain_, minimumPosValue_, getGTfromDQMFile::obj, printdebug_, SiStripApvGain::put(), and sigmaGain_.
|
private |
Definition at line 45 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze(), getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 46 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze().
|
private |
Definition at line 41 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 43 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 47 of file SiStripGainRandomCalculator.h.
Referenced by algoAnalyze(), getNewObject(), and SiStripGainRandomCalculator().
|
private |
Definition at line 42 of file SiStripGainRandomCalculator.h.
Referenced by getNewObject(), and SiStripGainRandomCalculator().