#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 | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 > | |
ESConsumesCollector | 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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Definition at line 17 of file MeasureLA.h.
|
private |
Enumerator | |
---|---|
LAYER | |
MODULE | |
MODULESUMMARY |
Definition at line 26 of file MeasureLA.h.
|
explicit |
Definition at line 22 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 170 of file MeasureLA.cc.
References calibration_key(), LA_Filler_Fitter::Result::calMeasured, error_scaling, LA_Filler_Fitter::Result::measured, offset, and slope.
Referenced by granularity(), store_calibrations(), summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 176 of file MeasureLA.cc.
References cmsPerfStripChart::format, and LA_Filler_Fitter::layer_index().
Referenced by calibrate(), granularity(), summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 185 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 27 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 93 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, dataset::name, AlCaHLTBitMon_ParallelJobs::p, reports, AlCaHLTBitMon_QueryRunRegistry::string, write_report_plots(), write_report_text(), and write_report_text_ms().
Referenced by granularity(), MeasureLA(), and summarize_module_muH_byLayer().
std::unique_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce | ( | const SiStripLorentzAngleRcd & | ) |
Definition at line 53 of file MeasureLA.cc.
References summarize_module_muH_byLayer().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and MeasureLA().
|
private |
Definition at line 152 of file MeasureLA.cc.
References calibrate(), calibrations, error_scaling, mps_fire::i, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, offset, AlCaHLTBitMon_ParallelJobs::p, and slope.
Referenced by granularity(), MeasureLA(), and write_report_text_ms().
|
private |
Definition at line 14 of file MeasureLA.cc.
References byLayer, byModule, methods, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by granularity(), and MeasureLA().
|
private |
Definition at line 71 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(), funct::m, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), LA_Filler_Fitter::module_results(), MODULESUMMARY, funct::pow(), process_reports(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by granularity(), MeasureLA(), and produce().
|
private |
Definition at line 113 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), FrontierConditions_GlobalTag_cff::file, granularity(), create_public_lumi_plots::hist, crabWrapper::key, LA_Filler_Fitter::method(), AlCaHLTBitMon_QueryRunRegistry::string, and write_report_text().
Referenced by granularity(), and process_reports().
|
private |
Definition at line 123 of file MeasureLA.cc.
References calibrate(), calibration_key(), FrontierConditions_GlobalTag_cff::file, AlcaSiPixelAliHarvester0T_cff::method, MillePedeFileConverter_cfg::out, mps_fire::result, mps_update::results, and write_report_text_ms().
Referenced by granularity(), process_reports(), and write_report_plots().
|
private |
Definition at line 135 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, store_calibrations(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by granularity(), process_reports(), and write_report_text().
|
private |
Definition at line 56 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 53 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 53 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by store_calibrations().
|
private |
Definition at line 51 of file MeasureLA.h.
Referenced by calibrate(), and store_calibrations().
|
private |
Definition at line 49 of file MeasureLA.h.
|
private |
Definition at line 48 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 47 of file MeasureLA.h.
Referenced by MeasureLA(), and VarParsing.VarParsing::parseArguments().
|
private |
Definition at line 54 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 55 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 52 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 51 of file MeasureLA.h.
Referenced by calibrate(), and store_calibrations().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by MeasureLA(), and process_reports().
|
private |
Definition at line 51 of file MeasureLA.h.
Referenced by calibrate(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), store_calibrations(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
private |
Definition at line 55 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 58 of file MeasureLA.h.
Referenced by calibration_key(), and MeasureLA().