#include <DQMRivetClient.h>
Classes | |
struct | LumiOption |
struct | ScaleFactorOption |
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) override |
DQMRivetClient (const edm::ParameterSet &pset) | |
void | endJob () override |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
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 () override | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 writedatasetfile::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.
|
inlineoverride |
Definition at line 19 of file DQMRivetClient.h.
|
inlineoverride |
Definition at line 21 of file DQMRivetClient.h.
References EnergyCorrector::c, endJob(), endRun(), and alignCSCRings::r.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 208 of file DQMRivetClient.cc.
References LogTrace.
Referenced by analyze().
|
override |
EndRun.
Definition at line 142 of file DQMRivetClient.cc.
References TrackerOfflineValidation_Dqm_cff::dirName, Utilities::operator, and RecoMuonValidator_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.