#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 | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
std::unique_ptr< SiStripApvGain > | getNewObject (const std::map< std::pair< uint32_t, int >, float > &theMap) |
Private Attributes | |
const edm::ESGetToken< SiStripGain, SiStripGainRcd > | g1g2Token_ |
const edm::ESGetToken< SiStripApvGain, SiStripApvGain3Rcd > | g3Token_ |
const uint32_t | m_printdebug |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 45 of file SiStripApvGainRescaler.cc.
|
explicit |
Definition at line 69 of file SiStripApvGainRescaler.cc.
References edm::ParameterSet::getUntrackedParameter().
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 81 of file SiStripApvGainRescaler.cc.
References cond::service::PoolDBOutputService::currentTime(), ztail::d, g1g2Token_, g3Token_, edm::EventSetup::getData(), getNewObject(), edm::Service< T >::isAvailable(), m_Record, and cond::service::PoolDBOutputService::writeOneIOV().
|
static |
Definition at line 170 of file SiStripApvGainRescaler.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 133 of file SiStripApvGainRescaler.cc.
References m_printdebug, getGTfromDQMFile::obj, and FastTimerService_cff::range.
Referenced by analyze().
|
private |
Definition at line 61 of file SiStripApvGainRescaler.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file SiStripApvGainRescaler.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file SiStripApvGainRescaler.cc.
Referenced by getNewObject().
|
private |
Definition at line 58 of file SiStripApvGainRescaler.cc.
Referenced by analyze().