#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 | endJob () override |
SiStripNoises | getNewObject (const std::map< std::pair< uint32_t, int >, float > &theMap) |
SiStripNoises | getNewObject_withDefaults (const std::map< std::pair< uint32_t, int >, float > &theMap, const float theDefault) |
Private Attributes | |
const edm::FileInPath | fp_ |
const bool | m_fillDefaults |
const edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > | m_noiseToken |
const std::vector< edm::ParameterSet > | m_parameters |
const bool | m_perDetIDdebug |
const uint32_t | m_printdebug |
const bool | m_saveMaps |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | m_tTopoToken |
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) |
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 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 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 86 of file SiStripNoisesFromDBMiscalibrator.cc.
References edm::ParameterSet::getUntrackedParameter().
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 130 of file SiStripNoisesFromDBMiscalibrator.cc.
References SiStripMiscalibrate::Entry::add(), cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), ztail::d, spr::find(), edm::EventSetup::getData(), getNewObject(), getNewObject_withDefaults(), SiStripMiscalibrate::getRegionFromString(), SiStripMiscalibrate::getRegionsFromDetId(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, m_fillDefaults, m_noiseToken, m_parameters, m_perDetIDdebug, m_printdebug, m_tTopoToken, SiStripMiscalibrate::Entry::mean(), new_payload_map, hgchebackDigitizer_cfi::noise, me0TriggerPseudoDigis_cff::nStrips, old_payload_map, submitPVValidationJobs::params, l1ctLayer1_patternWriters_cff::partition, FastTimerService_cff::range, ratio_map, nano_mu_digi_cff::region, SiStripMiscalibrate::Entry::reset(), scale_map, smear_map, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, and parallelization::uint.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 290 of file SiStripNoisesFromDBMiscalibrator.cc.
References SiStripMiscalibrate::getTruncatedRange(), m_fillDefaults, m_saveMaps, missing_map, new_payload_map, old_payload_map, FastTimerService_cff::range, ratio_map, scale_map, and smear_map.
|
static |
Definition at line 406 of file SiStripNoisesFromDBMiscalibrator.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 380 of file SiStripNoisesFromDBMiscalibrator.cc.
References hgchebackDigitizer_cfi::noise, and getGTfromDQMFile::obj.
Referenced by analyze().
|
private |
Definition at line 319 of file SiStripNoisesFromDBMiscalibrator.cc.
References fp_, edm::FileInPath::fullPath(), LogDebug, combine::missing, missing_map, Skims_PA_cff::name, hgchebackDigitizer_cfi::noise, getGTfromDQMFile::obj, SiStripDetInfoFileReader::read(), DQM::reader, and pileupReCalc_HLTpaths::trunc.
Referenced by analyze().
|
private |
Definition at line 71 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by getNewObject_withDefaults().
|
private |
Definition at line 68 of file SiStripNoisesFromDBMiscalibrator.cc.
|
private |
Definition at line 73 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by endJob().
|
private |
Definition at line 72 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by analyze().
|
private |
Definition at line 80 of file SiStripNoisesFromDBMiscalibrator.cc.
Referenced by endJob(), and getNewObject_withDefaults().
|
private |
Definition at line 79 of file SiStripNoisesFromDBMiscalibrator.cc.
|
private |
Definition at line 78 of file SiStripNoisesFromDBMiscalibrator.cc.
|
private |
Definition at line 77 of file SiStripNoisesFromDBMiscalibrator.cc.
|
private |
Definition at line 75 of file SiStripNoisesFromDBMiscalibrator.cc.
|
private |
Definition at line 76 of file SiStripNoisesFromDBMiscalibrator.cc.