#include <CondTools/SiStrip/plugins/SiStripChannelGainFromDBMiscalibrator.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 | endJob () override |
SiStripApvGain | getNewObject (const std::map< std::pair< uint32_t, int >, float > &theMap) |
Private Attributes | |
const edm::ESGetToken< SiStripGain, SiStripGainRcd > | gainToken_ |
const uint32_t | m_gainType |
const std::vector< edm::ParameterSet > | m_parameters |
const uint32_t | m_printdebug |
const std::string | m_Record |
const bool | m_saveMaps |
std::unique_ptr< TrackerMap > | new_payload_map |
std::unique_ptr< TrackerMap > | old_payload_map |
std::unique_ptr< TrackerMap > | ratio_map |
std::unique_ptr< TrackerMap > | scale_map |
std::unique_ptr< TrackerMap > | smear_map |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
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: Class to miscalibrate a SiStrip Channel Gain payload from Database
Implementation: Read a SiStrip Channel Gain payload from DB (either central DB or sqlite file) and apply a miscalibration (either an offset / gaussian smearing or both) returns a local sqlite file with the same since of the original payload
Definition at line 50 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
explicit |
Definition at line 81 of file SiStripChannelGainFromDBMiscalibrator.cc.
References edm::ParameterSet::getUntrackedParameter().
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 121 of file SiStripChannelGainFromDBMiscalibrator.cc.
References SiStripMiscalibrate::Entry::add(), cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), ztail::d, spr::find(), IntegrityClient_cfi::Gain, gainToken_, edm::EventSetup::getData(), getNewObject(), SiStripMiscalibrate::getRegionFromString(), SiStripMiscalibrate::getRegionsFromDetId(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, m_gainType, m_parameters, m_printdebug, m_Record, SiStripMiscalibrate::Entry::mean(), new_payload_map, old_payload_map, submitPVValidationJobs::params, l1ctLayer1_patternWriters_cff::partition, FastTimerService_cff::range, ratio_map, HLT_2023v12_cff::region, SiStripMiscalibrate::Entry::reset(), scale_map, smear_map, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, and tTopoToken_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 264 of file SiStripChannelGainFromDBMiscalibrator.cc.
References SiStripMiscalibrate::getTruncatedRange(), m_gainType, m_saveMaps, new_payload_map, old_payload_map, FastTimerService_cff::range, ratio_map, scale_map, smear_map, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 323 of file SiStripChannelGainFromDBMiscalibrator.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 290 of file SiStripChannelGainFromDBMiscalibrator.cc.
References getGTfromDQMFile::obj, and FastTimerService_cff::range.
Referenced by analyze().
|
private |
Definition at line 68 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 67 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by endJob().
|
private |
Definition at line 75 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 74 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 73 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 71 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 72 of file SiStripChannelGainFromDBMiscalibrator.cc.
|
private |
Definition at line 69 of file SiStripChannelGainFromDBMiscalibrator.cc.
Referenced by analyze().