#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 () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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, and DQMRivetClient::LumiOption::xsection.
|
inline |
Definition at line 19 of file DQMRivetClient.h.
|
inlinevirtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 208 of file DQMRivetClient.cc.
References LogTrace.
|
virtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 142 of file DQMRivetClient.cc.
References TrackerOfflineValidation_Dqm_cff::dirName, and cppFunctionSkipper::operator.
void DQMRivetClient::normalizeToIntegral | ( | const std::string & | startDir, |
const std::string & | histName, | ||
const std::string & | normHistName | ||
) |
Definition at line 219 of file DQMRivetClient.cc.
References estimatePileup::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 estimatePileup::hist.
void DQMRivetClient::scaleByFactor | ( | const std::string & | startDir, |
const std::string & | histName, | ||
double | factor | ||
) |
Definition at line 284 of file DQMRivetClient.cc.
References estimatePileup::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.