Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::unique_ptr< TGraphErrors > | buildGraphFromMonitorElements (DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration::RPConfig &rpc, const std::vector< MonitorElement *> &mes, const unsigned int fitProfileMinBinEntries, const unsigned int fitProfileMinNReasonable) |
std::unique_ptr< TGraphErrors > | buildGraphFromVector (const std::vector< PPSAlignmentConfiguration::PointErrors > &pv) |
TH1D * | buildModeGraph (DQMStore::IBooker &iBooker, const MonitorElement *h2_y_vs_x, const PPSAlignmentConfiguration &cfg, const PPSAlignmentConfiguration::RPConfig &rpc) |
void | doMatch (DQMStore::IBooker &iBooker, const PPSAlignmentConfiguration &cfg, const PPSAlignmentConfiguration::RPConfig &rpc, TGraphErrors *g_ref, TGraphErrors *g_test, const PPSAlignmentConfiguration::SelectionRange &range_ref, const double sh_min, const double sh_max, double &sh_best, double &sh_best_unc) |
void | dqmEndJob (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override |
void | dqmEndRun (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::Run const &iRun, edm::EventSetup const &iSetup) override |
void | xAlignment (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration &cfg, const PPSAlignmentConfiguration &cfg_ref) |
void | xAlignmentRelative (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration &cfg) |
void | yAlignment (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration &cfg) |
Static Private Member Functions | |
static double | findMax (const TF1 *ff_fit) |
static std::unique_ptr< TH1D > | getTH1DFromTGraphErrors (TGraphErrors *graph, const std::string &title="", const std::string &labels="", int n=-1, double binWidth=-1., double min=-1.) |
static void | writeCutPlot (TH2D *h, const double a, const double c, const double si, const double n_si, const std::string &label) |
Private Attributes | |
const bool | debug_ |
std::unique_ptr< TFile > | debugFile_ |
const std::string | dqmDir_ |
edm::ESGetToken< PPSAlignmentConfiguration, PPSAlignmentConfigurationRcd > | esTokenReference_ |
edm::ESGetToken< PPSAlignmentConfiguration, PPSAlignmentConfigurationRcd > | esTokenTest_ |
const bool | overwriteShX_ |
int | seqPos = 1 |
const std::vector< std::string > | sequence_ |
std::map< unsigned int, double > | sh_x_map_ |
std::ofstream | textResultsFile_ |
const bool | writeSQLiteResults_ |
const bool | xAliRelFinalSlopeFixed_ |
CTPPSRPAlignmentCorrectionsData | xAliRelResults_ |
CTPPSRPAlignmentCorrectionsData | xAliRelResultsSlopeFixed_ |
CTPPSRPAlignmentCorrectionsData | xAliResults_ |
const std::pair< double, double > | xCorrRange_ |
const bool | yAliFinalSlopeFixed_ |
CTPPSRPAlignmentCorrectionsData | yAliResults_ |
CTPPSRPAlignmentCorrectionsData | yAliResultsSlopeFixed_ |
const std::pair< double, double > | yCorrRange_ |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 50 of file PPSAlignmentHarvester.cc.
PPSAlignmentHarvester::PPSAlignmentHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 141 of file PPSAlignmentHarvester.cc.
References debug_, debugFile_, dqmDir_, alignBH_cfg::fixed, edm::ParameterSet::getParameter(), mps_fire::i, MillePedeFileConverter_cfg::out, overwriteShX_, sequence_, AlCaHLTBitMon_QueryRunRegistry::string, textResultsFile_, pileupReCalc_HLTpaths::trunc, writeSQLiteResults_, xAliRelFinalSlopeFixed_, xCorrRange_, yAliFinalSlopeFixed_, and yCorrRange_.
|
override |
Definition at line 186 of file PPSAlignmentHarvester.cc.
References textResultsFile_.
|
private |
Definition at line 374 of file PPSAlignmentHarvester.cc.
References ztail::d, debug_, alig_utils::fitProfile(), g, dqm::implementation::IGetter::get(), heavyIonCSV_trainingSettings::idx, hlt_dqm_clientPB-live_cfg::me, omtf::DataWord64::rpc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by xAlignment().
|
private |
Definition at line 359 of file PPSAlignmentHarvester.cc.
References g, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and MetAnalyzer::pv().
Referenced by xAlignment().
|
private |
Definition at line 796 of file PPSAlignmentHarvester.cc.
References dqm::implementation::IBooker::book1DD(), visDQMUpload::buf, looper::cfg, debug_, change_name::diff, findMax(), dqm::impl::MonitorElement::getNbinsX(), dqm::legacy::MonitorElement::getTH2D(), SiStripPI::min, omtf::DataWord64::rpc, mathSSE::sqrt(), validateGeometry_cfg::valid, w(), and x.
Referenced by yAlignment().
|
private |
Definition at line 426 of file PPSAlignmentHarvester.cc.
References dqm::implementation::IBooker::book1DD(), looper::cfg, debug_, alignBH_cfg::fixed, getTH1DFromTGraphErrors(), mps_fire::i, heavyIonCSV_trainingSettings::idx, dqmiolumiharvest::j, funct::pow(), omtf::DataWord64::rpc, mathSSE::sqrt(), x, PPSAlignmentConfiguration::SelectionRange::x_max_, and PPSAlignmentConfiguration::SelectionRange::x_min_.
Referenced by xAlignment().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from DQMEDHarvester.
Definition at line 213 of file PPSAlignmentHarvester.cc.
References CTPPSRPAlignmentCorrectionsData::addCorrections(), CTPPSRPAlignmentCorrectionsData::addRPCorrection(), b, looper::cfg, cond::service::PoolDBOutputService::currentTime(), debug_, debugFile_, dqmDir_, esTokenReference_, esTokenTest_, alignBH_cfg::fixed, dqm::implementation::IGetter::get(), edm::EventSetup::getData(), CTPPSRPAlignmentCorrectionsData::getRPCorrection(), CTPPSRPAlignmentCorrectionData::getShX(), edm::Service< T >::isAvailable(), omtf::DataWord64::rpc, seqPos, sequence_, sh_x_map_, AlCaHLTBitMon_QueryRunRegistry::string, textResultsFile_, writeCutPlot(), cond::service::PoolDBOutputService::writeOneIOV(), writeSQLiteResults_, xAlignment(), xAlignmentRelative(), xAliRelFinalSlopeFixed_, xAliRelResults_, xAliRelResultsSlopeFixed_, xAliResults_, xCorrRange_, yAliFinalSlopeFixed_, yAlignment(), yAliResults_, yAliResultsSlopeFixed_, and yCorrRange_.
|
static |
Definition at line 192 of file PPSAlignmentHarvester.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 775 of file PPSAlignmentHarvester.cc.
References amptDefaultParameters_cff::mu, x, and y.
Referenced by buildModeGraph().
|
staticprivate |
Definition at line 1021 of file PPSAlignmentHarvester.cc.
References change_name::diff, gpuVertexFinder::hist, mps_fire::i, SummaryClient_cfi::labels, SiStripPI::max, SiStripPI::min, dqmiodumpmetadata::n, runGCPTkAlMap::title, x, and y.
Referenced by doMatch(), and xAlignment().
|
staticprivate |
Definition at line 991 of file PPSAlignmentHarvester.cc.
References a, c, svgfig::canvas(), h, and label.
Referenced by dqmEndRun().
|
private |
Definition at line 572 of file PPSAlignmentHarvester.cc.
References PPSAlignmentConfiguration::alignment_x_meth_o_ranges(), dqm::implementation::IBooker::book1DD(), buildGraphFromMonitorElements(), buildGraphFromVector(), looper::cfg, debug_, debugFile_, doMatch(), dqmDir_, alignBH_cfg::fixed, dqm::implementation::IGetter::getAllContents(), getTH1DFromTGraphErrors(), createfilelist::int, PPSAlignmentConfiguration::matchingReferencePoints(), overwriteShX_, omtf::DataWord64::rpc, PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), seqPos, dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, textResultsFile_, cond::impl::to_string(), and xAliResults_.
Referenced by dqmEndRun().
|
private |
Definition at line 669 of file PPSAlignmentHarvester.cc.
References a, b, dqm::implementation::IBooker::bookProfile(), looper::cfg, debug_, debugFile_, dqmDir_, alignCSCRings::ff, alignBH_cfg::fixed, dqm::implementation::IGetter::get(), seqPos, dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, slope, textResultsFile_, cond::impl::to_string(), xAliRelResults_, and xAliRelResultsSlopeFixed_.
Referenced by dqmEndRun().
|
private |
Definition at line 884 of file PPSAlignmentHarvester.cc.
References a, b, buildModeGraph(), looper::cfg, debug_, debugFile_, dqmDir_, alignCSCRings::ff, alignBH_cfg::fixed, dqm::implementation::IGetter::get(), omtf::DataWord64::rpc, seqPos, dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, slope, textResultsFile_, cond::impl::to_string(), yAliResults_, and yAliResultsSlopeFixed_.
Referenced by dqmEndRun().
|
private |
Definition at line 123 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements(), buildModeGraph(), doMatch(), dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 126 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 115 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 112 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 111 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 117 of file PPSAlignmentHarvester.cc.
Referenced by PPSAlignmentHarvester(), and xAlignment().
|
private |
Definition at line 128 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 116 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 87 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 127 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), yAlignment(), and ~PPSAlignmentHarvester().
|
private |
Definition at line 118 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 119 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 132 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 133 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 130 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignment().
|
private |
Definition at line 121 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 120 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 135 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().
|
private |
Definition at line 136 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().
|
private |
Definition at line 122 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().