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) |
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 | |
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_, edm::ParameterSet::getParameter(), mps_fire::i, submitPVResolutionJobs::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(), 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 359 of file PPSAlignmentHarvester.cc.
References g, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by xAlignment().
|
private |
Definition at line 796 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(), SiStripPI::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 426 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 213 of file PPSAlignmentHarvester.cc.
References CTPPSRPAlignmentCorrectionsData::addCorrections(), CTPPSRPAlignmentCorrectionsData::addRPCorrection(), b, looper::cfg, cond::service::PoolDBOutputService::currentTime(), debug_, debugFile_, dqmDir_, esTokenReference_, esTokenTest_, 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::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 775 of file PPSAlignmentHarvester.cc.
References RPCpg::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, SiStripPI::max, SiStripPI::min, dqmiodumpmetadata::n, x, and y.
Referenced by doMatch(), and xAlignment().
|
staticprivate |
Definition at line 991 of file PPSAlignmentHarvester.cc.
References svgfig::canvas().
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(), debug_, debugFile_, doMatch(), dqmDir_, PPSAlignmentConfiguration::fitProfileMinBinEntries(), PPSAlignmentConfiguration::fitProfileMinNReasonable(), dqm::implementation::IGetter::getAllContents(), getTH1DFromTGraphErrors(), PPSAlignmentConfiguration::matchingReferencePoints(), PPSAlignmentConfiguration::matchingShiftRanges(), PPSAlignmentConfiguration::methOGraphMinN(), 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, PPSAlignmentConfiguration::alignment_x_relative_ranges(), b, dqm::implementation::IBooker::bookProfile(), debug_, debugFile_, dqmDir_, alignCSCRings::ff, dqm::implementation::IGetter::get(), PPSAlignmentConfiguration::nearFarMinEntries(), PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), 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, PPSAlignmentConfiguration::alignment_y_ranges(), b, buildModeGraph(), debug_, debugFile_, dqmDir_, alignCSCRings::ff, dqm::implementation::IGetter::get(), PPSAlignmentConfiguration::modeGraphMinN(), omtf::DataWord64::rpc, PPSAlignmentConfiguration::sectorConfig45(), PPSAlignmentConfiguration::sectorConfig56(), 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().