![]() |
![]() |
#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) |
Private Attributes | |
const bool | dumpLHEheader_ |
const edm::EDGetTokenT < reco::GenJetCollection > | genJetToken_ |
const edm::EDGetTokenT < reco::GenParticleCollection > | genParticleToken_ |
const int | idxPdfEnd_ |
const int | idxPdfStart_ |
const double | jetEtaCut_ |
std::vector< std::unique_ptr < TH1F > > | jetMultPdfVar_ |
std::vector< std::unique_ptr < TH1F > > | jetMultScaleVar_ |
std::vector< MonitorElement * > | jetMultTemp_ |
const double | jetPtCut_ |
const int | jetPtNbin_ |
const double | jetPtRange_ |
std::vector< std::unique_ptr < TH1F > > | leadJetEtaPdfVar_ |
std::vector< std::unique_ptr < TH1F > > | leadJetEtaScaleVar_ |
std::vector< MonitorElement * > | leadJetEtaTemp_ |
std::vector< std::unique_ptr < TH1F > > | leadJetPtPdfVar_ |
std::vector< std::unique_ptr < TH1F > > | leadJetPtScaleVar_ |
std::vector< MonitorElement * > | leadJetPtTemp_ |
std::vector< std::unique_ptr < TH1F > > | leadLepEtaPdfVar_ |
std::vector< std::unique_ptr < TH1F > > | leadLepEtaScaleVar_ |
std::vector< MonitorElement * > | leadLepEtaTemp_ |
const double | leadLepPtCut_ |
const int | leadLepPtNbin_ |
std::vector< std::unique_ptr < TH1F > > | leadLepPtPdfVar_ |
const double | leadLepPtRange_ |
std::vector< std::unique_ptr < TH1F > > | leadLepPtScaleVar_ |
std::vector< MonitorElement * > | leadLepPtTemp_ |
const double | lepEtaCut_ |
const edm::EDGetTokenT < LHEEventProduct > | lheEvtToken_ |
const edm::InputTag | lheLabel_ |
const edm::EDGetTokenT < LHERunInfoProduct > | lheRunToken_ |
MonitorElement * | nEvt_ |
const int | nJetsNbin_ |
MonitorElement * | nlogWgt_ |
const int | nPdfVar_ |
const int | nScaleVar_ |
double | orgWgt_ |
const int | rapidityNbin_ |
const double | rapidityRange_ |
double | weight_ |
std::vector< LHEEventProduct::WGT > | weights_ |
MonitorElement * | wgtVal_ |
Additional Inherited Members | |
![]() | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::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 |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
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 () |
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) |
![]() | |
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_, edm::Event::getByToken(), 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_FULL_cff::leptons, lheEvtToken_, nEvt_, nlogWgt_, orgWgt_, weight_, weights_, and wgtVal_.
|
overridevirtual |
Setting the DQM top directories
Implements DQMOneEDAnalyzer<>.
Definition at line 31 of file LheWeightValidation.cc.
References DQMHelper::book1dHisto(), bookTemplates(), edm::Run::getByLabel(), edm::HandleBase::isValid(), jetMultPdfVar_, jetMultScaleVar_, jetMultTemp_, jetPtNbin_, jetPtRange_, leadJetEtaPdfVar_, leadJetEtaScaleVar_, leadJetEtaTemp_, leadJetPtPdfVar_, leadJetPtScaleVar_, leadJetPtTemp_, leadLepEtaPdfVar_, leadLepEtaScaleVar_, leadLepEtaTemp_, leadLepPtNbin_, leadLepPtPdfVar_, leadLepPtRange_, leadLepPtScaleVar_, leadLepPtTemp_, 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(), nPdfVar_, nScaleVar_, AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_string().
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(), edm::HandleBase::isValid(), jetMultPdfVar_, jetMultScaleVar_, jetMultTemp_, cmsLHEtoEOSManager::l, leadJetEtaPdfVar_, leadJetEtaScaleVar_, leadJetEtaTemp_, leadJetPtPdfVar_, leadJetPtScaleVar_, leadJetPtTemp_, leadLepEtaPdfVar_, leadLepEtaScaleVar_, leadLepEtaTemp_, leadLepPtPdfVar_, leadLepPtScaleVar_, leadLepPtTemp_, lheRunToken_, and pdfRMS().
|
private |
Definition at line 276 of file LheWeightValidation.cc.
References b, SiStripPI::max, SiStripPI::min, findQualityFiles::v, and ALCARECOEcalPhiSym_cff::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, SiStripPI::rms, mathSSE::sqrt(), findQualityFiles::v, and ALCARECOEcalPhiSym_cff::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().