#include <CondTools/SiStrip/plugins/SiStripNoisesFromDBMiscalibrator.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< SiStripNoises > | getNewObject (const std::map< std::pair< uint32_t, int >, float > &theMap) |
std::unique_ptr< SiStripNoises > | getNewObject_withDefaults (const std::map< std::pair< uint32_t, int >, float > &theMap, const float theDefault) |
Private Attributes | |
edm::FileInPath | fp_ |
const bool | m_fillDefaults |
const std::vector< edm::ParameterSet > | m_parameters |
const bool | m_saveMaps |
std::unique_ptr< TrackerMap > | missing_map |
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 |
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 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: Class to miscalibrate a SiStrip Noise payload from Database
Implementation: Read a SiStrip Noise 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 51 of file SiStripNoisesFromDBMiscalibrator.cc.
|
explicit |
Definition at line 82 of file SiStripNoisesFromDBMiscalibrator.cc.
References fp_, edm::ParameterSet::getUntrackedParameter(), m_fillDefaults, m_parameters, m_saveMaps, missing_map, new_payload_map, old_payload_map, ratio_map, scale_map, and smear_map.
|
override |
Definition at line 119 of file SiStripNoisesFromDBMiscalibrator.cc.
|
overrideprivate |
Definition at line 130 of file SiStripNoisesFromDBMiscalibrator.cc.
References SiStripMiscalibrate::Entry::add(), cond::service::PoolDBOutputService::currentTime(), edmIntegrityCheck::d, spr::find(), edm::EventSetup::get(), SiStripNoises::getDetIds(), getNewObject(), getNewObject_withDefaults(), SiStripNoises::getNoise(), SiStripNoises::getRange(), SiStripMiscalibrate::getRegionFromString(), SiStripMiscalibrate::getRegionsFromDetId(), edm::Service< T >::isAvailable(), m_fillDefaults, m_parameters, SiStripMiscalibrate::Entry::mean(), new_payload_map, old_payload_map, edm::ESHandle< T >::product(), ratio_map, SiStripMiscalibrate::Entry::reset(), scale_map, SiStripMiscalibrate::Smearings::setSmearing(), smear_map, AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::writeOne().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 272 of file SiStripNoisesFromDBMiscalibrator.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 278 of file SiStripNoisesFromDBMiscalibrator.cc.
References SiStripMiscalibrate::getTruncatedRange(), m_fillDefaults, m_saveMaps, missing_map, new_payload_map, old_payload_map, ratio_map, scale_map, and smear_map.
|
static |
Definition at line 404 of file SiStripNoisesFromDBMiscalibrator.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::addVPSet(), DEFINE_FWK_MODULE, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 374 of file SiStripNoisesFromDBMiscalibrator.cc.
References GetRecoTauVFromDQM_MC_cff::obj.
Referenced by analyze().
|
private |
Definition at line 310 of file SiStripNoisesFromDBMiscalibrator.cc.
References fp_, edm::FileInPath::fullPath(), LogDebug, missing_map, dataset::name, GetRecoTauVFromDQM_MC_cff::obj, checklumidiff::ofile, matplotRender::reader, and estimatePileup_makeJSON::trunc.
Referenced by analyze().
|
private |
Definition at line 69 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by getNewObject_withDefaults(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 66 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 68 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 67 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 76 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by endJob(), getNewObject_withDefaults(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 75 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 74 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 73 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 71 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().
|
private |
Definition at line 72 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze(), endJob(), and SiStripNoisesFromDBMiscalibrator().