#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::ESProductResolverProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProductResolverFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::ESProducer | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
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 TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProductResolverFactoryProducer | |
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::ESProductResolverFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedResolversVector | registerResolvers (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
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 21 of file MeasureLA.cc.
References book, byLayer, byModule, geometryDiff::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 174 of file MeasureLA.cc.
References error_scaling, submitPVResolutionJobs::key, offset, mps_fire::result, and slope.
Referenced by summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 181 of file MeasureLA.cc.
References dqm-mbProfile::format, LA_Filler_Fitter::layer_index(), and AlcaSiPixelAliHarvester0T_cff::method.
Referenced by summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 190 of file MeasureLA.cc.
References ALCARECOPPSCalTrackBasedSel_cff::detid, LA_Filler_Fitter::layer_index(), AlcaSiPixelAliHarvester0T_cff::method, SiStripDetId::subDetector(), SiStripDetId::TIB, TrackerTopology::tibLayer(), TrackerTopology::tibStereo(), TrackerTopology::tobStereo(), and tTopo_.
|
inlinestaticprivate |
Definition at line 24 of file MeasureLA.h.
References g, LAYER, MODULE, and MODULESUMMARY.
Referenced by summarize_module_muH_byLayer(), write_report_plots(), and write_report_text_ms().
|
private |
Definition at line 89 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LAYER, LA_Filler_Fitter::layer_results(), AlcaSiPixelAliHarvester0T_cff::method, MODULE, LA_Filler_Fitter::module_results(), MODULESUMMARY, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, reports, AlCaHLTBitMon_QueryRunRegistry::string, write_report_plots(), write_report_text(), and write_report_text_ms().
Referenced by MeasureLA().
std::unique_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce | ( | const SiStripLorentzAngleRcd & | ) |
Definition at line 53 of file MeasureLA.cc.
Referenced by MeasureLA().
|
private |
Definition at line 155 of file MeasureLA.cc.
References cms::cuda::assert(), calibrations, error_scaling, mps_fire::i, submitPVResolutionJobs::key, AlcaSiPixelAliHarvester0T_cff::method, offset, upgradeWorkflowComponents::offsets, AlCaHLTBitMon_ParallelJobs::p, and slope.
Referenced by MeasureLA().
|
private |
Definition at line 13 of file MeasureLA.cc.
References byLayer, byModule, methods, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by MeasureLA().
|
private |
Definition at line 67 of file MeasureLA.cc.
References Book::begin(), book, calibrate(), calibration_key(), Book::end(), Book::fill(), LA_Filler_Fitter::FIRST_METHOD, granularity(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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 MeasureLA().
|
private |
Definition at line 118 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), geometryDiff::file, granularity(), compareTotals::hist, submitPVResolutionJobs::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by process_reports().
|
private |
Definition at line 129 of file MeasureLA.cc.
References calibrate(), calibration_key(), geometryDiff::file, AlcaSiPixelAliHarvester0T_cff::method, mergeVDriftHistosByStation::name, MillePedeFileConverter_cfg::out, mps_fire::result, and mysort::results.
Referenced by process_reports().
|
private |
Definition at line 142 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), f, geometryDiff::file, granularity(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, submitPVResolutionJobs::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), MODULESUMMARY, mergeVDriftHistosByStation::name, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by 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(), VarParsing.VarParsing::parseArguments(), and postprocessor.PostProcessor::run().
|
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(), and store_calibrations().
|
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().