![]() |
![]() |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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, unsigned int fitProfileMinBinEntries, unsigned int fitProfileMinNReasonable) |
std::unique_ptr< TGraphErrors > | buildGraphFromVector (const std::vector< PPSAlignmentConfiguration::PointErrors > &pv) |
TH1D * | buildModeGraph (DQMStore::IBooker &iBooker, 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, 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 PPSAlignmentConfiguration &cfg, const PPSAlignmentConfiguration &cfg_ref, int seqPos) |
void | xAlignmentRelative (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration &cfg, int seqPos) |
void | yAlignment (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const PPSAlignmentConfiguration &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 std::unique_ptr< TH1D > | getTH1DFromTGraphErrors (TGraphErrors *graph, std::string title="", std::string labels="", int n=-1, double binWidth=-1., double min=-1.) |
static void | writeCutPlot (TH2D *h, double a, double c, double si, double n_si, const std::string &label) |
Private Attributes | |
const bool | debug_ |
std::unique_ptr< TFile > | debugFile_ |
edm::ESGetToken < PPSAlignmentConfiguration, PPSAlignmentConfigurationRcd > | esTokenReference_ |
edm::ESGetToken < PPSAlignmentConfiguration, PPSAlignmentConfigurationRcd > | esTokenTest_ |
const std::string | folder_ |
bool | overwriteShX_ |
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 bool | yAliFinalSlopeFixed_ |
CTPPSRPAlignmentCorrectionsData | yAliResults_ |
CTPPSRPAlignmentCorrectionsData | yAliResultsSlopeFixed_ |
Additional Inherited Members | |
![]() | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
ProducesCollector | producesCollector () |
![]() | |
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 () noexcept |
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... | |
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) |
![]() | |
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 49 of file PPSAlignmentHarvester.cc.
PPSAlignmentHarvester::PPSAlignmentHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 150 of file PPSAlignmentHarvester.cc.
References debug_, debugFile_, folder_, edm::ParameterSet::getParameter(), mps_fire::i, submitPVResolutionJobs::out, overwriteShX_, sequence_, AlCaHLTBitMon_QueryRunRegistry::string, textResultsFile_, pileupReCalc_HLTpaths::trunc, writeSQLiteResults_, xAliRelFinalSlopeFixed_, and yAliFinalSlopeFixed_.
|
override |
Definition at line 186 of file PPSAlignmentHarvester.cc.
References textResultsFile_.
|
private |
Definition at line 379 of file PPSAlignmentHarvester.cc.
References ztail::d, debug_, fitProfile(), g, dqm::implementation::IGetter::get(), hlt_dqm_clientPB-live_cfg::me, AlCaHLTBitMon_QueryRunRegistry::string, PPSAlignmentConfiguration::RPConfig::y_cen_add_, and PPSAlignmentConfiguration::RPConfig::y_width_mult_.
Referenced by xAlignment().
|
private |
Definition at line 364 of file PPSAlignmentHarvester.cc.
References g, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by xAlignment().
|
private |
Definition at line 806 of file PPSAlignmentHarvester.cc.
References dqm::implementation::IBooker::book1DD(), visDQMUpload::buf, PPSAlignmentConfiguration::chiSqThreshold(), debug_, change_name::diff, findMax(), dqm::impl::MonitorElement::getNbinsX(), dqm::legacy::MonitorElement::getTH2D(), min(), PPSAlignmentConfiguration::multSelProjYMinEntries(), mathSSE::sqrt(), w, x, PPSAlignmentConfiguration::RPConfig::x_max_fit_mode_, PPSAlignmentConfiguration::RPConfig::x_min_fit_mode_, PPSAlignmentConfiguration::RPConfig::y_max_fit_mode_, PPSAlignmentConfiguration::y_mode_max_valid(), PPSAlignmentConfiguration::y_mode_sys_unc(), and PPSAlignmentConfiguration::y_mode_unc_max_valid().
Referenced by yAlignment().
|
private |
Definition at line 434 of file PPSAlignmentHarvester.cc.
References PPSAlignmentConfiguration::alignment_x_meth_o_ranges(), dqm::implementation::IBooker::book1DD(), debug_, getTH1DFromTGraphErrors(), mps_fire::i, PPSAlignmentConfiguration::RPConfig::id_, dqmiolumiharvest::j, PPSAlignmentConfiguration::methOUncFitRange(), funct::pow(), mathSSE::sqrt(), x, PPSAlignmentConfiguration::x_ali_sh_step(), PPSAlignmentConfiguration::SelectionRange::x_max_, PPSAlignmentConfiguration::SelectionRange::x_min_, PPSAlignmentConfiguration::RPConfig::x_slice_min_, PPSAlignmentConfiguration::RPConfig::x_slice_n_, and PPSAlignmentConfiguration::RPConfig::x_slice_w_.
Referenced by xAlignment().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from DQMEDHarvester.
Definition at line 209 of file PPSAlignmentHarvester.cc.
References CTPPSRPAlignmentCorrectionsData::addCorrections(), CTPPSRPAlignmentCorrectionsData::addRPCorrection(), b, looper::cfg, cond::service::PoolDBOutputService::currentTime(), debug_, debugFile_, esTokenReference_, esTokenTest_, folder_, dqm::implementation::IGetter::get(), edm::EventSetup::getData(), CTPPSRPAlignmentCorrectionsData::getRPCorrection(), CTPPSRPAlignmentCorrectionData::getShX(), mps_fire::i, edm::Service< T >::isAvailable(), omtf::DataWord64::rpc, sequence_, sh_x_map_, textResultsFile_, writeCutPlot(), cond::service::PoolDBOutputService::writeOneIOV(), writeSQLiteResults_, xAlignment(), xAlignmentRelative(), xAliRelFinalSlopeFixed_, xAliRelResults_, xAliRelResultsSlopeFixed_, xAliResults_, yAliFinalSlopeFixed_, yAlignment(), yAliResults_, and yAliResultsSlopeFixed_.
|
static |
Definition at line 192 of file PPSAlignmentHarvester.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 785 of file PPSAlignmentHarvester.cc.
References RPCpg::mu, x, and y.
Referenced by buildModeGraph().
|
staticprivate |
Definition at line 330 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements().
|
staticprivate |
Definition at line 1026 of file PPSAlignmentHarvester.cc.
References change_name::diff, gpuVertexFinder::hist, mps_fire::i, SiStripPI::max, min(), dqmiodumpmetadata::n, x, and y.
Referenced by doMatch(), and xAlignment().
|
staticprivate |
Definition at line 997 of file PPSAlignmentHarvester.cc.
References svgfig::canvas().
Referenced by dqmEndRun().
|
private |
Definition at line 579 of file PPSAlignmentHarvester.cc.
References PPSAlignmentConfiguration::alignment_x_meth_o_ranges(), dqm::implementation::IBooker::book1DD(), buildGraphFromMonitorElements(), buildGraphFromVector(), debug_, debugFile_, doMatch(), PPSAlignmentConfiguration::fitProfileMinBinEntries(), PPSAlignmentConfiguration::fitProfileMinNReasonable(), folder_, dqm::implementation::IGetter::getAllContents(), getTH1DFromTGraphErrors(), PPSAlignmentConfiguration::matchingReferencePoints(), PPSAlignmentConfiguration::matchingShiftRanges(), PPSAlignmentConfiguration::methOGraphMinN(), overwriteShX_, omtf::DataWord64::rpc, PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, textResultsFile_, and xAliResults_.
Referenced by dqmEndRun().
|
private |
Definition at line 682 of file PPSAlignmentHarvester.cc.
References a, PPSAlignmentConfiguration::alignment_x_relative_ranges(), b, dqm::implementation::IBooker::bookProfile(), debug_, debugFile_, alignCSCRings::ff, folder_, dqm::implementation::IGetter::get(), PPSAlignmentConfiguration::nearFarMinEntries(), PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, slope, textResultsFile_, xAliRelResults_, and xAliRelResultsSlopeFixed_.
Referenced by dqmEndRun().
|
private |
Definition at line 893 of file PPSAlignmentHarvester.cc.
References a, PPSAlignmentConfiguration::alignment_y_ranges(), b, buildModeGraph(), debug_, debugFile_, alignCSCRings::ff, folder_, dqm::implementation::IGetter::get(), PPSAlignmentConfiguration::modeGraphMinN(), omtf::DataWord64::rpc, PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), dqm::implementation::NavigatorBase::setCurrentFolder(), CTPPSRPAlignmentCorrectionsData::setRPCorrection(), sh_x_map_, slope, textResultsFile_, yAliResults_, and yAliResultsSlopeFixed_.
Referenced by dqmEndRun().
|
private |
Definition at line 133 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements(), buildModeGraph(), doMatch(), dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 136 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 124 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 123 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 127 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 129 of file PPSAlignmentHarvester.cc.
Referenced by PPSAlignmentHarvester(), and xAlignment().
|
private |
Definition at line 128 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 94 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 137 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), yAlignment(), and ~PPSAlignmentHarvester().
|
private |
Definition at line 130 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 131 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 141 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 142 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 139 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignment().
|
private |
Definition at line 132 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 144 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().
|
private |
Definition at line 145 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().