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 unsigned int | detectorId_ |
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_ |
const unsigned int | subdetectorId_ |
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 | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 53 of file PPSAlignmentHarvester.cc.
PPSAlignmentHarvester::PPSAlignmentHarvester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 148 of file PPSAlignmentHarvester.cc.
References debug_, debugFile_, detectorId_, dqmDir_, alignBH_cfg::fixed, edm::ParameterSet::getParameter(), mps_fire::i, MillePedeFileConverter_cfg::out, overwriteShX_, sequence_, AlCaHLTBitMon_QueryRunRegistry::string, subdetectorId_, textResultsFile_, pileupReCalc_HLTpaths::trunc, writeSQLiteResults_, xAliRelFinalSlopeFixed_, xCorrRange_, yAliFinalSlopeFixed_, and yCorrRange_.
|
override |
Definition at line 198 of file PPSAlignmentHarvester.cc.
References textResultsFile_.
|
private |
Definition at line 393 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, python.rootplot.root2matplotlib::replace(), omtf::DataWord64::rpc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by xAlignment().
|
private |
Definition at line 378 of file PPSAlignmentHarvester.cc.
References g, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by xAlignment().
|
private |
Definition at line 816 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 446 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 227 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(), getLongIdResults(), 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 204 of file PPSAlignmentHarvester.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
staticprivate |
Definition at line 795 of file PPSAlignmentHarvester.cc.
References amptDefaultParameters_cff::mu, x, and y.
Referenced by buildModeGraph().
|
private |
Definition at line 1067 of file PPSAlignmentHarvester.cc.
References CTPPSRPAlignmentCorrectionsData::addRPCorrection(), protons_cff::arm, pfMETCorrectionType0_cfi::correction, detectorId_, CTPPSRPAlignmentCorrectionsData::getRPMap(), relativeConstraints::station, and subdetectorId_.
Referenced by dqmEndRun().
|
staticprivate |
Definition at line 1041 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 1011 of file PPSAlignmentHarvester.cc.
References a, c, svgfig::canvas(), h, and label.
Referenced by dqmEndRun().
|
private |
Definition at line 592 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 689 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 904 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 130 of file PPSAlignmentHarvester.cc.
Referenced by buildGraphFromMonitorElements(), buildModeGraph(), doMatch(), dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 133 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 128 of file PPSAlignmentHarvester.cc.
Referenced by getLongIdResults(), and PPSAlignmentHarvester().
|
private |
Definition at line 120 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 117 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 116 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 122 of file PPSAlignmentHarvester.cc.
Referenced by PPSAlignmentHarvester(), and xAlignment().
|
private |
Definition at line 135 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 121 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 90 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), xAlignment(), xAlignmentRelative(), and yAlignment().
|
private |
Definition at line 129 of file PPSAlignmentHarvester.cc.
Referenced by getLongIdResults(), and PPSAlignmentHarvester().
|
private |
Definition at line 134 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), PPSAlignmentHarvester(), xAlignment(), xAlignmentRelative(), yAlignment(), and ~PPSAlignmentHarvester().
|
private |
Definition at line 123 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 124 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 139 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 140 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignmentRelative().
|
private |
Definition at line 137 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and xAlignment().
|
private |
Definition at line 126 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 125 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().
|
private |
Definition at line 142 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().
|
private |
Definition at line 143 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and yAlignment().
|
private |
Definition at line 127 of file PPSAlignmentHarvester.cc.
Referenced by dqmEndRun(), and PPSAlignmentHarvester().