#include <DQMRivetClient.h>
Classes | |
struct | LumiOption |
struct | ScaleFactorOption |
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
DQMRivetClient (const edm::ParameterSet &pset) | |
void | endJob () |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
EndRun. More... | |
void | normalizeToIntegral (const std::string &startDir, const std::string &histName, const std::string &normHistName) |
void | normalizeToLumi (const std::string &startDir, const std::string &histName, const std::string &normHistName, double xsection) |
void | scaleByFactor (const std::string &startDir, const std::string &histName, double factor) |
~DQMRivetClient () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
std::vector< LumiOption > | lumiOptions_ |
std::vector< DQMGenericClient::NormOption > | normOptions_ |
std::string | outputFileName_ |
std::vector< ScaleFactorOption > | scaleOptions_ |
std::vector< std::string > | subDirs_ |
DQMStore * | theDQM |
unsigned int | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 15 of file DQMRivetClient.h.
DQMRivetClient::DQMRivetClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 33 of file DQMRivetClient.cc.
References createfilelist::args, edm::ParameterSet::getUntrackedParameter(), DQMRivetClient::LumiOption::name, DQMRivetClient::ScaleFactorOption::name, DQMGenericClient::NormOption::name, DQMRivetClient::LumiOption::normHistName, DQMGenericClient::NormOption::normHistName, or, DQMRivetClient::ScaleFactorOption::scale, HistogramManager_cfi::VPSet(), and DQMRivetClient::LumiOption::xsection.
|
inline |
Definition at line 19 of file DQMRivetClient.h.
|
inline |
Definition at line 21 of file DQMRivetClient.h.
References EnergyCorrector::c, endJob(), endRun(), and alignCSCRings::r.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 208 of file DQMRivetClient.cc.
References LogTrace.
Referenced by analyze().
void DQMRivetClient::endRun | ( | const edm::Run & | r, |
const edm::EventSetup & | c | ||
) |
EndRun.
Definition at line 142 of file DQMRivetClient.cc.
References TrackerOfflineValidation_Dqm_cff::dirName, Utilities::operator, and muonValidation_cff::subDir.
Referenced by analyze().
void DQMRivetClient::normalizeToIntegral | ( | const std::string & | startDir, |
const std::string & | histName, | ||
const std::string & | normHistName | ||
) |
Definition at line 219 of file DQMRivetClient.cc.
References create_public_lumi_plots::hist.
void DQMRivetClient::normalizeToLumi | ( | const std::string & | startDir, |
const std::string & | histName, | ||
const std::string & | normHistName, | ||
double | xsection | ||
) |
Definition at line 270 of file DQMRivetClient.cc.
References create_public_lumi_plots::hist.
void DQMRivetClient::scaleByFactor | ( | const std::string & | startDir, |
const std::string & | histName, | ||
double | factor | ||
) |
Definition at line 284 of file DQMRivetClient.cc.
References DEFINE_FWK_MODULE, and create_public_lumi_plots::hist.
|
private |
Definition at line 52 of file DQMRivetClient.h.
|
private |
Definition at line 51 of file DQMRivetClient.h.
|
private |
Definition at line 49 of file DQMRivetClient.h.
|
private |
Definition at line 53 of file DQMRivetClient.h.
|
private |
Definition at line 48 of file DQMRivetClient.h.
|
private |
Definition at line 47 of file DQMRivetClient.h.
|
private |
Definition at line 45 of file DQMRivetClient.h.