#include <CondTools/SiStrip/plugins/SiStripApvGainRescaler.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
std::unique_ptr< SiStripApvGain > | getNewObject (const std::map< std::pair< uint32_t, int >, float > &theMap) |
Private Attributes | |
const std::string | m_Record |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Description: Utility class to rescale the values of SiStrip G2 by the ratio of G1_old/G1_new: this is useful in the case in which a Gain2 payload needs to recycled after a G1 update to keep the G1*G2 product constant
Implementation: [Notes on implementation]
Definition at line 47 of file SiStripApvGainRescaler.cc.
|
explicit |
Definition at line 68 of file SiStripApvGainRescaler.cc.
SiStripApvGainRescaler::~SiStripApvGainRescaler | ( | ) |
Definition at line 74 of file SiStripApvGainRescaler.cc.
|
overrideprivatevirtual |
Definition at line 88 of file SiStripApvGainRescaler.cc.
References cond::service::PoolDBOutputService::currentTime(), edmIntegrityCheck::d, edm::EventSetup::get(), SiStripGain::getApvGain(), SiStripApvGain::getApvGain(), SiStripGain::getDetIds(), getNewObject(), SiStripApvGain::getRange(), SiStripGain::getRange(), edm::Service< T >::isAvailable(), m_Record, and cond::service::PoolDBOutputService::writeOne().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 150 of file SiStripApvGainRescaler.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 156 of file SiStripApvGainRescaler.cc.
|
static |
Definition at line 197 of file SiStripApvGainRescaler.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 162 of file SiStripApvGainRescaler.cc.
References hgcalPlots::obj.
Referenced by analyze().
|
private |
Definition at line 61 of file SiStripApvGainRescaler.cc.
Referenced by analyze().