#include <MeasureLA.h>
Private Types | |
enum | GRANULARITY { LAYER = 0, MODULE = 1, MODULESUMMARY = 2 } |
Private Member Functions | |
void | calibrate (const std::pair< unsigned, LA_Filler_Fitter::Method >, LA_Filler_Fitter::Result &) const |
std::pair< unsigned, LA_Filler_Fitter::Method > | calibration_key (const std::string layer, const LA_Filler_Fitter::Method) const |
std::pair< unsigned, LA_Filler_Fitter::Method > | calibration_key (const uint32_t detid, const LA_Filler_Fitter::Method) const |
void | process_reports () const |
void | store_calibrations () |
void | store_methods_and_granularity (const edm::VParameterSet &) |
void | summarize_module_muH_byLayer (const LA_Filler_Fitter &) |
void | write_report_plots (const std::string, const LA_Filler_Fitter::Method, const GRANULARITY) const |
template<class T > | |
void | write_report_text (const std::string, const LA_Filler_Fitter::Method &, const std::map< T, LA_Filler_Fitter::Result > &) const |
void | write_report_text_ms (const std::string, const LA_Filler_Fitter::Method) const |
Static Private Member Functions | |
static std::string | granularity (int32_t g) |
Private Attributes | |
Book | book |
bool | byLayer |
bool | byModule |
const edm::VParameterSet | calibrations |
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > | error_scaling |
const edm::FileInPath | fp_ |
const std::string | inFileLocation |
const std::vector< std::string > | inputFiles |
const float | localybin |
const unsigned | maxEvents |
const edm::VParameterSet | measurementPreferences |
int32_t | methods |
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > | offset |
const edm::VParameterSet | reports |
std::map< std::pair< uint32_t, LA_Filler_Fitter::Method >, float > | slope |
const unsigned | stripsperbin |
TrackerTopology | tTopo_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 17 of file MeasureLA.h.
|
private |
Enumerator | |
---|---|
LAYER | |
MODULE | |
MODULESUMMARY |
Definition at line 23 of file MeasureLA.h.
|
explicit |
Definition at line 20 of file MeasureLA.cc.
References book, byLayer, byModule, FrontierConditions_GlobalTag_cff::file, LA_Filler_Fitter::fill(), LA_Filler_Fitter::fit(), inFileLocation, inputFiles, localybin, maxEvents, measurementPreferences, methods, process_reports(), produce(), reports, edm::ESProducer::setWhatProduced(), store_calibrations(), store_methods_and_granularity(), stripsperbin, summarize_module_muH_byLayer(), and tTopo_.
|
inlineprivate |
Definition at line 173 of file MeasureLA.cc.
References LA_Filler_Fitter::Result::calMeasured, error_scaling, LA_Filler_Fitter::Result::measured, offset, and slope.
Referenced by granularity(), summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 180 of file MeasureLA.cc.
References dqm-mbProfile::format, and LA_Filler_Fitter::layer_index().
Referenced by granularity(), summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 189 of file MeasureLA.cc.
References LA_Filler_Fitter::layer_index(), SiStripDetId::subDetector(), SiStripDetId::TIB, TrackerTopology::tibLayer(), TrackerTopology::tibStereo(), TrackerTopology::tobStereo(), and tTopo_.
|
inlinestaticprivate |
Definition at line 24 of file MeasureLA.h.
References calibrate(), calibration_key(), LAYER, MODULE, MODULESUMMARY, process_reports(), store_calibrations(), store_methods_and_granularity(), AlCaHLTBitMon_QueryRunRegistry::string, summarize_module_muH_byLayer(), write_report_plots(), write_report_text(), and write_report_text_ms().
Referenced by summarize_module_muH_byLayer(), write_report_plots(), and write_report_text_ms().
|
private |
Definition at line 88 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), LAYER, LA_Filler_Fitter::layer_results(), AlcaSiPixelAliHarvester0T_cff::method, MODULE, LA_Filler_Fitter::module_results(), MODULESUMMARY, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, reports, AlCaHLTBitMon_QueryRunRegistry::string, write_report_plots(), write_report_text(), and write_report_text_ms().
Referenced by granularity(), and MeasureLA().
std::unique_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce | ( | const SiStripLorentzAngleRcd & | ) |
Definition at line 52 of file MeasureLA.cc.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and MeasureLA().
|
private |
Definition at line 154 of file MeasureLA.cc.
References calibrations, error_scaling, mps_fire::i, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, offset, unpackBuffers-CaloStage1::offsets, AlCaHLTBitMon_ParallelJobs::p, and slope.
Referenced by granularity(), and MeasureLA().
|
private |
Definition at line 12 of file MeasureLA.cc.
References byLayer, byModule, methods, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by granularity(), and MeasureLA().
|
private |
Definition at line 66 of file MeasureLA.cc.
References Book::begin(), book, calibrate(), calibration_key(), Book::end(), Book::fill(), LA_Filler_Fitter::FIRST_METHOD, granularity(), label, LA_Filler_Fitter::LAST_METHOD, LA_Filler_Fitter::layerLabel(), visualization-live-secondInstance_cfg::m, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), LA_Filler_Fitter::module_results(), MODULESUMMARY, funct::pow(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by granularity(), and MeasureLA().
|
private |
Definition at line 117 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), FrontierConditions_GlobalTag_cff::file, granularity(), compare::hist, crabWrapper::key, LA_Filler_Fitter::method(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by granularity(), and process_reports().
|
private |
Definition at line 128 of file MeasureLA.cc.
References calibrate(), calibration_key(), FrontierConditions_GlobalTag_cff::file, AlcaSiPixelAliHarvester0T_cff::method, MillePedeFileConverter_cfg::out, mps_fire::result, and bookConverter::results.
Referenced by granularity(), and process_reports().
|
private |
Definition at line 141 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), f, FrontierConditions_GlobalTag_cff::file, granularity(), crabWrapper::key, LA_Filler_Fitter::method(), MODULESUMMARY, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by granularity(), and process_reports().
|
private |
Definition at line 63 of file MeasureLA.h.
Referenced by MeasureLA(), process_reports(), summarize_module_muH_byLayer(), write_report_plots(), and write_report_text_ms().
|
private |
Definition at line 60 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 60 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 57 of file MeasureLA.h.
Referenced by store_calibrations().
|
private |
Definition at line 58 of file MeasureLA.h.
Referenced by calibrate(), and store_calibrations().
|
private |
Definition at line 56 of file MeasureLA.h.
|
private |
Definition at line 55 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 54 of file MeasureLA.h.
Referenced by MeasureLA(), and VarParsing.VarParsing::parseArguments().
|
private |
Definition at line 61 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 62 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 57 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 59 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 58 of file MeasureLA.h.
Referenced by calibrate(), store_calibrations(), and upgradeWorkflowComponents.UpgradeWorkflow::workflow_().
|
private |
Definition at line 57 of file MeasureLA.h.
Referenced by MeasureLA(), and process_reports().
|
private |
Definition at line 58 of file MeasureLA.h.
Referenced by calibrate(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), store_calibrations(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
private |
Definition at line 62 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 65 of file MeasureLA.h.
Referenced by calibration_key(), and MeasureLA().