#include <LheWeightValidation.h>
Private Member Functions | |
void | bookTemplates (DQMHelper &aDqmHelper, std::vector< std::unique_ptr< TH1F >> &scaleVar, std::vector< std::unique_ptr< TH1F >> &pdfVar, std::vector< MonitorElement *> &tmps, const std::string &name, const std::string &title, int nbin, float low, float high, const std::string &xtitle, const std::string &ytitle) |
void | envelop (const std::vector< std::unique_ptr< TH1F >> &var, std::vector< MonitorElement *> &tmps) |
void | fillTemplates (std::vector< std::unique_ptr< TH1F >> &scaleVar, std::vector< std::unique_ptr< TH1F >> &pdfVar, std::vector< MonitorElement *> &tmps, float obs) |
void | pdfRMS (const std::vector< std::unique_ptr< TH1F >> &var, std::vector< MonitorElement *> &tmps) |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer<> | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::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 |
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<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 DQMOneEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 30 of file LheWeightValidation.h.
|
explicit |
Definition at line 8 of file LheWeightValidation.cc.
|
overridedefault |
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 164 of file LheWeightValidation.cc.
References funct::abs(), dqm::impl::MonitorElement::Fill(), fillTemplates(), genJetToken_, genParticleToken_, heavyIonCSV_trainingSettings::idx, iEvent, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), jetEtaCut_, jetMultPdfVar_, jetMultScaleVar_, jetMultTemp_, jetPtCut_, leadJetEtaPdfVar_, leadJetEtaScaleVar_, leadJetEtaTemp_, leadJetPtPdfVar_, leadJetPtScaleVar_, leadJetPtTemp_, leadLepEtaPdfVar_, leadLepEtaScaleVar_, leadLepEtaTemp_, leadLepPtCut_, leadLepPtPdfVar_, leadLepPtScaleVar_, leadLepPtTemp_, lepEtaCut_, HLT_2023v12_cff::leptons, lheEvtToken_, nEvt_, nlogWgt_, orgWgt_, LHEEventProduct::originalXWGTUP(), jetUpdater_cfi::sort, weight_, LHEEventProduct::weights(), weights_, and wgtVal_.
|
overridevirtual |
Setting the DQM top directories
Implements DQMOneEDAnalyzer<>.
Definition at line 31 of file LheWeightValidation.cc.
References DQMHelper::book1dHisto(), bookTemplates(), ctppsRandomDQMSource_cfi::folderName, edm::Run::getByLabel(), jetMultPdfVar_, jetMultScaleVar_, jetMultTemp_, jetPtNbin_, jetPtRange_, leadJetEtaPdfVar_, leadJetEtaScaleVar_, leadJetEtaTemp_, leadJetPtPdfVar_, leadJetPtScaleVar_, leadJetPtTemp_, leadLepEtaPdfVar_, leadLepEtaScaleVar_, leadLepEtaTemp_, leadLepPtNbin_, leadLepPtPdfVar_, leadLepPtRange_, leadLepPtScaleVar_, leadLepPtTemp_, genWeightsTable_cfi::lheInfo, lheLabel_, nEvt_, nJetsNbin_, nlogWgt_, rapidityNbin_, rapidityRange_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and wgtVal_.
|
private |
Definition at line 109 of file LheWeightValidation.cc.
References DQMHelper::book1dHisto(), LaserClient_cfi::high, heavyIonCSV_trainingSettings::idx, LaserClient_cfi::low, Skims_PA_cff::name, nPdfVar_, nScaleVar_, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, cond::impl::to_string(), compareTotals::xtitle, and compareTotals::ytitle.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 162 of file LheWeightValidation.cc.
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 243 of file LheWeightValidation.cc.
References gather_cfg::cout, dumpLHEheader_, envelop(), edm::Run::getByToken(), edm::EDGetTokenT< T >::isUninitialized(), jetMultPdfVar_, jetMultScaleVar_, jetMultTemp_, MainPageGenerator::l, leadJetEtaPdfVar_, leadJetEtaScaleVar_, leadJetEtaTemp_, leadJetPtPdfVar_, leadJetPtScaleVar_, leadJetPtTemp_, leadLepEtaPdfVar_, leadLepEtaScaleVar_, leadLepEtaTemp_, leadLepPtPdfVar_, leadLepPtScaleVar_, leadLepPtTemp_, genWeightsTable_cfi::lheInfo, lheRunToken_, and pdfRMS().
|
private |
Definition at line 276 of file LheWeightValidation.cc.
References b, SiStripPI::max, SiStripPI::min, findQualityFiles::v, and trigObjTnPSource_cfi::var.
Referenced by dqmEndRun().
|
private |
Definition at line 226 of file LheWeightValidation.cc.
References idxPdfEnd_, idxPdfStart_, nPdfVar_, nScaleVar_, orgWgt_, weight_, and weights_.
Referenced by analyze().
|
private |
Definition at line 306 of file LheWeightValidation.cc.
References b, makePileupJSON::denom, dqmMemoryStats::float, SiStripPI::rms, mathSSE::sqrt(), findQualityFiles::v, and trigObjTnPSource_cfi::var.
Referenced by dqmEndRun().
|
private |
Definition at line 89 of file LheWeightValidation.h.
Referenced by dqmEndRun().
|
private |
Definition at line 87 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 84 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 96 of file LheWeightValidation.h.
Referenced by fillTemplates().
|
private |
Definition at line 96 of file LheWeightValidation.h.
Referenced by fillTemplates().
|
private |
Definition at line 93 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 77 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 76 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 68 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 93 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 92 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 93 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 81 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 80 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 70 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 79 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 78 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 69 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 75 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 74 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 67 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 91 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 90 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 73 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 91 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 72 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 66 of file LheWeightValidation.h.
Referenced by analyze(), bookHistograms(), and dqmEndRun().
|
private |
Definition at line 91 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 85 of file LheWeightValidation.h.
Referenced by analyze().
|
private |
Definition at line 83 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 86 of file LheWeightValidation.h.
Referenced by dqmEndRun().
|
private |
Definition at line 63 of file LheWeightValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 92 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 64 of file LheWeightValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 96 of file LheWeightValidation.h.
Referenced by bookTemplates(), and fillTemplates().
|
private |
Definition at line 95 of file LheWeightValidation.h.
Referenced by bookTemplates(), and fillTemplates().
|
private |
Definition at line 60 of file LheWeightValidation.h.
Referenced by analyze(), and fillTemplates().
|
private |
Definition at line 90 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 91 of file LheWeightValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 60 of file LheWeightValidation.h.
Referenced by analyze(), and fillTemplates().
|
private |
Definition at line 61 of file LheWeightValidation.h.
Referenced by analyze(), and fillTemplates().
|
private |
Definition at line 65 of file LheWeightValidation.h.
Referenced by analyze(), and bookHistograms().