#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 |
void | beginJob () override |
void | endJob () 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 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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 70 of file SiStripApvGainRescaler.cc.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 81 of file SiStripApvGainRescaler.cc.
References ztail::d, g1g2Token_, g3Token_, edm::EventSetup::getData(), getNewObject(), m_Record, and cond::service::PoolDBOutputService::writeOneIOV().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 133 of file SiStripApvGainRescaler.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 136 of file SiStripApvGainRescaler.cc.
|
static |
Definition at line 172 of file SiStripApvGainRescaler.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 139 of file SiStripApvGainRescaler.cc.
References getGTfromDQMFile::obj, gpuVertexFinder::printf(), and sistrip::SpyUtilities::range().
Referenced by analyze().
|
private |
Definition at line 62 of file SiStripApvGainRescaler.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file SiStripApvGainRescaler.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file SiStripApvGainRescaler.cc.
Referenced by analyze().