#include <DQMRivetClient.h>
Classes | |
struct | LumiOption |
struct | NormOption |
struct | ScaleFactorOption |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 |
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
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< NormOption > | normOptions_ |
std::string | outputFileName_ |
std::vector< ScaleFactorOption > | scaleOptions_ |
std::vector< std::string > | subDirs_ |
DQMStore * | theDQM |
unsigned int | verbose_ |
Additional Inherited Members | |
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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
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) |
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) |
Definition at line 12 of file DQMRivetClient.h.
Definition at line 14 of file DQMRivetClient.h.
Definition at line 15 of file DQMRivetClient.h.
DQMRivetClient::DQMRivetClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 29 of file DQMRivetClient.cc.
References writedatasetfile::args, edm::ParameterSet::getUntrackedParameter(), DQMRivetClient::NormOption::name, DQMRivetClient::LumiOption::name, DQMRivetClient::ScaleFactorOption::name, DQMRivetClient::NormOption::normHistName, DQMRivetClient::LumiOption::normHistName, runTheMatrix::opt, or, DQMRivetClient::ScaleFactorOption::scale, HistogramManager_cfi::VPSet(), and DQMRivetClient::LumiOption::xsection.
|
inlineoverride |
Definition at line 21 of file DQMRivetClient.h.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 189 of file DQMRivetClient.cc.
References LogTrace.
|
overridevirtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 129 of file DQMRivetClient.cc.
References TrackerOfflineValidation_Dqm_cff::dirName, and Utilities::operator.
void DQMRivetClient::normalizeToIntegral | ( | const std::string & | startDir, |
const std::string & | histName, | ||
const std::string & | normHistName | ||
) |
Definition at line 196 of file DQMRivetClient.cc.
References gpuVertexFinder::hist.
void DQMRivetClient::normalizeToLumi | ( | const std::string & | startDir, |
const std::string & | histName, | ||
const std::string & | normHistName, | ||
double | xsection | ||
) |
Definition at line 247 of file DQMRivetClient.cc.
References gpuVertexFinder::hist.
void DQMRivetClient::scaleByFactor | ( | const std::string & | startDir, |
const std::string & | histName, | ||
double | factor | ||
) |
Definition at line 264 of file DQMRivetClient.cc.
References gpuVertexFinder::hist.
|
private |
Definition at line 55 of file DQMRivetClient.h.
|
private |
Definition at line 54 of file DQMRivetClient.h.
|
private |
Definition at line 52 of file DQMRivetClient.h.
|
private |
Definition at line 56 of file DQMRivetClient.h.
|
private |
Definition at line 51 of file DQMRivetClient.h.
|
private |
Definition at line 50 of file DQMRivetClient.h.
|
private |
Definition at line 48 of file DQMRivetClient.h.