#include <MeasureLA.h>
Public Member Functions | |
MeasureLA (const edm::ParameterSet &) | |
std::unique_ptr< SiStripLorentzAngle > | produce (const SiStripLorentzAngleRcd &) |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
ESProducer (const ESProducer &)=delete | |
ESProxyIndex const * | getTokenIndices (unsigned int iIndex) const |
ESRecordIndex const * | getTokenRecordIndices (unsigned int iIndex) const |
bool | hasMayConsumes () const noexcept |
size_t | numberOfTokenIndices (unsigned int iIndex) const |
ESProducer const & | operator= (const ESProducer &)=delete |
SerialTaskQueueChain & | queue () |
template<typename Record > | |
std::optional< std::vector< ESProxyIndex > > | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) final |
~ESProducer () noexcept(false) override | |
Public Member Functions inherited from edm::ESProxyFactoryProducer | |
ESProxyFactoryProducer () | |
ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete | |
const ESProxyFactoryProducer & | operator= (const ESProxyFactoryProducer &)=delete |
~ESProxyFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
DataProxyProvider () | |
DataProxyProvider (const DataProxyProvider &)=delete | |
const ComponentDescription & | description () const |
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
virtual void | initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
bool | isUsingRecord (const EventSetupRecordKey &key) const |
KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
const DataProxyProvider & | operator= (const DataProxyProvider &)=delete |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () noexcept(false) |
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 char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &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={}) |
void | usesResources (std::vector< std::string > const &) |
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 |
|
explicit |
Definition at line 22 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 175 of file MeasureLA.cc.
References error_scaling, crabWrapper::key, offset, mps_fire::result, and slope.
Referenced by summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 182 of file MeasureLA.cc.
References dqm-mbProfile::format, phase1PixelTopology::layer, LA_Filler_Fitter::layer_index(), and AlcaSiPixelAliHarvester0T_cff::method.
Referenced by summarize_module_muH_byLayer(), and write_report_text().
|
private |
Definition at line 191 of file MeasureLA.cc.
References phase1PixelTopology::layer, 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 90 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 MeasureLA().
std::unique_ptr< SiStripLorentzAngle > sistrip::MeasureLA::produce | ( | const SiStripLorentzAngleRcd & | ) |
Definition at line 54 of file MeasureLA.cc.
Referenced by MeasureLA().
|
private |
Definition at line 156 of file MeasureLA.cc.
References cms::cuda::assert(), calibrations, error_scaling, mps_fire::i, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, offset, unpackBuffers-CaloStage1::offsets, AlCaHLTBitMon_ParallelJobs::p, and slope.
Referenced by MeasureLA().
|
private |
Definition at line 14 of file MeasureLA.cc.
References byLayer, byModule, methods, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by MeasureLA().
|
private |
Definition at line 68 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 MeasureLA().
|
private |
Definition at line 119 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), geometryDiff::file, granularity(), gpuVertexFinder::hist, crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by process_reports().
|
private |
Definition at line 130 of file MeasureLA.cc.
References calibrate(), calibration_key(), geometryDiff::file, AlcaSiPixelAliHarvester0T_cff::method, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, mps_fire::result, and bookConverter::results.
Referenced by process_reports().
|
private |
Definition at line 143 of file MeasureLA.cc.
References Book::begin(), book, Book::end(), f, geometryDiff::file, granularity(), crabWrapper::key, AlcaSiPixelAliHarvester0T_cff::method, LA_Filler_Fitter::method(), MODULESUMMARY, Skims_PA_cff::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(), 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(), 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().