Private Member Functions | |
TGraphErrors * | buildGraphFromMonitorElements (DQMStore::IGetter &iGetter, const RPConfig &rpd, const std::vector< MonitorElement * > &mes, unsigned int fitProfileMinBinEntries, unsigned int fitProfileMinNReasonable) |
TGraphErrors * | buildGraphFromVector (const std::vector< PointErrors > &pv) |
TGraphErrors * | buildModeGraph (DQMStore::IBooker &iBooker, MonitorElement *h2_y_vs_x, const PPSAlignmentConfig &cfg, const RPConfig &rpd) |
void | doMatch (DQMStore::IBooker &iBooker, const PPSAlignmentConfig &cfg, const RPConfig &rpd, TGraphErrors *g_ref, TGraphErrors *g_test, const SelectionRange &range_ref, double sh_min, 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 PPSAlignmentConfig &cfg, const PPSAlignmentConfig &cfg_ref, int seqPos) |
void | xAlignmentRelative (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfig &cfg, int seqPos) |
void | yAlignment (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfig &cfg, int seqPos) |
Static Private Member Functions | |
static double | findMax (TF1 *ff_fit) |
static int | fitProfile (TProfile *p, double x_mean, double x_rms, unsigned int fitProfileMinBinEntries, unsigned int fitProfileMinNReasonable, double &sl, double &sl_unc) |
static TH1D * | getTH1DFromTGraphErrors (TGraphErrors *graph, std::string title="", std::string labels="", int n=-1, double binWidth=-1., double min=-1.) |
Private Attributes | |
const bool | debug_ |
TFile * | debugFile_ |
edm::ESGetToken< PPSAlignmentConfig, PPSAlignmentConfigRcd > | esTokenReference_ |
edm::ESGetToken< PPSAlignmentConfig, PPSAlignmentConfigRcd > | esTokenTest_ |
const std::string | folder_ |
std::ofstream | resultsFile_ |
std::map< unsigned int, double > | sh_x_map |
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 |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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 829 of file PPSAlignmentHarvester.cc.
|
private |
Definition at line 177 of file PPSAlignmentHarvester.cc.
References ztail::d, debug_, fitProfile(), g, dqm::implementation::IGetter::get(), heavyIonCSV_trainingSettings::idx, hlt_dqm_clientPB-live_cfg::me, AlCaHLTBitMon_QueryRunRegistry::string, multiplicitycorr_cfi::xMax, photonAnalyzer_cfi::xMin, RPConfig::y_cen_add_, and RPConfig::y_width_mult_.
Referenced by xAlignment().
|
private |
Definition at line 163 of file PPSAlignmentHarvester.cc.
References g, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and MetAnalyzer::pv().
Referenced by xAlignment().
|
private |
Definition at line 600 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(), heavyIonCSV_trainingSettings::idx, min(), mathSSE::sqrt(), RunInfoPI::valid, w, x, RPConfig::x_max_fit_mode_, RPConfig::x_min_fit_mode_, multiplicitycorr_cfi::xMax, photonAnalyzer_cfi::xMin, and RPConfig::y_max_fit_mode_.
Referenced by yAlignment().
|
private |
Definition at line 231 of file PPSAlignmentHarvester.cc.
References dqm::implementation::IBooker::book1DD(), looper::cfg, debug_, alignBH_cfg::fixed, getTH1DFromTGraphErrors(), mps_fire::i, RPConfig::id_, heavyIonCSV_trainingSettings::idx, dqmiolumiharvest::j, funct::pow(), mathSSE::sqrt(), x, SelectionRange::x_max_, SelectionRange::x_min_, RPConfig::x_slice_min_, RPConfig::x_slice_n_, and RPConfig::x_slice_w_.
Referenced by xAlignment().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from DQMEDHarvester.
Definition at line 839 of file PPSAlignmentHarvester.cc.
References looper::cfg, debug_, debugFile_, esTokenReference_, esTokenTest_, alignBH_cfg::fixed, edm::EventSetup::getData(), mps_fire::i, MillePedeFileConverter_cfg::out, resultsFile_, sd, sh_x_map, pileupReCalc_HLTpaths::trunc, xAlignment(), xAlignmentRelative(), and yAlignment().
|
staticprivate |
Definition at line 579 of file PPSAlignmentHarvester.cc.
References amptDefaultParameters_cff::mu, x, multiplicitycorr_cfi::xMax, y, and multiplicitycorr_cfi::yMax.
Referenced by buildModeGraph().
|
staticprivate |
Definition at line 129 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements().
|
staticprivate |
Definition at line 804 of file PPSAlignmentHarvester.cc.
References change_name::diff, gpuVertexFinder::hist, mps_fire::i, SummaryClient_cfi::labels, SiStripPI::max, min(), dqmiodumpmetadata::n, runGCPTkAlMap::title, x, and y.
Referenced by doMatch(), and xAlignment().
|
private |
Definition at line 382 of file PPSAlignmentHarvester.cc.
References PPSAlignmentConfig::alignment_x_meth_o_ranges(), dqm::implementation::IBooker::book1DD(), buildGraphFromMonitorElements(), buildGraphFromVector(), looper::cfg, debug_, debugFile_, doMatch(), alignBH_cfg::fixed, folder_, dqm::implementation::IGetter::getAllContents(), getTH1DFromTGraphErrors(), createfilelist::int, PPSAlignmentConfig::matchingReferencePoints(), PPSAlignmentConfig::matchingShiftRanges(), bookConverter::results, resultsFile_, sd, PPSAlignmentConfig::sectorConfig45(), PPSAlignmentConfig::sectorConfig56(), dqm::implementation::NavigatorBase::setCurrentFolder(), and sh_x_map.
Referenced by dqmEndRun().
|
private |
Definition at line 477 of file PPSAlignmentHarvester.cc.
References a, b, looper::cfg, debug_, debugFile_, alignCSCRings::ff, alignBH_cfg::fixed, folder_, dqm::implementation::IGetter::get(), bookConverter::results, resultsFile_, sd, CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map, slope, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by dqmEndRun().
|
private |
Definition at line 694 of file PPSAlignmentHarvester.cc.
References a, b, buildModeGraph(), looper::cfg, debug_, debugFile_, alignCSCRings::ff, alignBH_cfg::fixed, folder_, dqm::implementation::IGetter::get(), bookConverter::results, resultsFile_, sd, dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map, slope, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by dqmEndRun().
|
private |
Definition at line 130 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements(), buildModeGraph(), doMatch(), dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 131 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 127 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 126 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 129 of file PPSAlignmentHarvester.cc.
Referenced by xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 132 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 101 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().