#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 |
void | process_reports () const |
void | store_calibrations () |
void | store_methods_and_granularity (const edm::VParameterSet &) |
void | summarize_module_muH_byLayer () |
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::pair< unsigned, LA_Filler_Fitter::Method > | calibration_key (const std::string layer, const LA_Filler_Fitter::Method) |
static std::pair< unsigned, LA_Filler_Fitter::Method > | calibration_key (const uint32_t detid, const LA_Filler_Fitter::Method) |
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 |
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 | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
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 16 of file MeasureLA.h.
|
private |
Enumerator | |
---|---|
LAYER | |
MODULE | |
MODULESUMMARY |
Definition at line 25 of file MeasureLA.h.
|
explicit |
Definition at line 19 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(), AlCaHLTBitMon_QueryRunRegistry::string, stripsperbin, and summarize_module_muH_byLayer().
|
inlineprivate |
Definition at line 165 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().
|
staticprivate |
Definition at line 171 of file MeasureLA.cc.
References cmsPerfStripChart::format, LA_Filler_Fitter::layer_index(), and sistrip::TIB.
Referenced by calibrate(), granularity(), summarize_module_muH_byLayer(), and write_report_text().
|
staticprivate |
Definition at line 180 of file MeasureLA.cc.
References TOBDetId::layer(), TIBDetId::layer(), LA_Filler_Fitter::layer_index(), SiStripDetId::stereo(), SiStripDetId::subDetector(), SiStripDetId::TIB, and sistrip::TIB.
|
inlinestaticprivate |
Definition at line 26 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 87 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), edm::ParameterSet::getParameter(), 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::shared_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce | ( | const SiStripLorentzAngleRcd & | ) |
Definition at line 49 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 147 of file MeasureLA.cc.
References calibrate(), calibrations, error_scaling, edm::ParameterSet::getParameter(), 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 11 of file MeasureLA.cc.
References byLayer, byModule, edm::ParameterSet::getParameter(), methods, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by granularity(), and MeasureLA().
|
private |
Definition at line 64 of file MeasureLA.cc.
References Book::begin(), book, calibrate(), calibration_key(), Book::end(), Book::fill(), LA_Filler_Fitter::FIRST_METHOD, granularity(), diffTwoXMLs::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 107 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 117 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 130 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 55 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 52 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 52 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 49 of file MeasureLA.h.
Referenced by store_calibrations().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by calibrate(), and store_calibrations().
|
private |
Definition at line 48 of file MeasureLA.h.
|
private |
Definition at line 47 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 46 of file MeasureLA.h.
Referenced by MeasureLA(), and VarParsing.VarParsing::parseArguments().
|
private |
Definition at line 53 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 54 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 49 of file MeasureLA.h.
Referenced by MeasureLA().
|
private |
Definition at line 51 of file MeasureLA.h.
Referenced by MeasureLA(), and store_methods_and_granularity().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by calibrate(), and store_calibrations().
|
private |
Definition at line 49 of file MeasureLA.h.
Referenced by MeasureLA(), and process_reports().
|
private |
Definition at line 50 of file MeasureLA.h.
Referenced by calibrate(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), store_calibrations(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
private |
Definition at line 54 of file MeasureLA.h.
Referenced by MeasureLA().