#include <EmDQMPostProcessor.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
TProfile * | dividehistos (DQMStore *dqm, const std::string &num, const std::string &denom, const std::string &out, const std::string &label, const std::string &titel="") |
EmDQMPostProcessor (const edm::ParameterSet &pset) | |
void | endRun (edm::Run const &, edm::EventSetup const &) |
~EmDQMPostProcessor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
TH1F * | getHistogram (DQMStore *dqm, const std::string &histoPath) |
Static Private Member Functions | |
static void | Efficiency (int passing, int total, double level, double &mode, double &lowerBound, double &upperBound) |
Private Attributes | |
std::string | dataSet_ |
bool | noPhiPlots |
bool | normalizeToReco |
std::string | subDir_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 9 of file EmDQMPostProcessor.h.
EmDQMPostProcessor::EmDQMPostProcessor | ( | const edm::ParameterSet & | pset | ) |
Definition at line 18 of file EmDQMPostProcessor.cc.
References dataSet_, edm::ParameterSet::getUntrackedParameter(), noPhiPlots, normalizeToReco, and subDir_.
|
inline |
Definition at line 12 of file EmDQMPostProcessor.h.
|
inlinevirtual |
TProfile * EmDQMPostProcessor::dividehistos | ( | DQMStore * | dqm, |
const std::string & | num, | ||
const std::string & | denom, | ||
const std::string & | out, | ||
const std::string & | label, | ||
const std::string & | titel = "" |
||
) |
Definition at line 307 of file EmDQMPostProcessor.cc.
References DQMStore::bookProfile(), alignCSCRings::e, Efficiency(), getHistogram(), MonitorElement::getTProfile(), i, NULL, dbtoconf::out, and mathSSE::sqrt().
Referenced by endRun().
|
staticprivate |
a replacement for the function TGraphAsymmErrors::Efficiency(..) used with earlier versions of ROOT (this functionality has been moved to a separate class TEfficiency)
Definition at line 365 of file EmDQMPostProcessor.cc.
Referenced by dividehistos(), and endRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 31 of file EmDQMPostProcessor.cc.
References newFWLiteAna::bin, DQMStore::book1D(), DQMStore::bookProfile(), DQMStore::cd(), dataSet_, dir, DQMStore::dirExists(), dividehistos(), Efficiency(), error, alcazmumu_cfi::filter, reco_skim_cfg_mod::filterName, getHistogram(), DQMStore::getSubdirs(), getTProfile(), MonitorElement::getTProfile(), DQMStore::goUp(), noPhiPlots, normalizeToReco, NULL, cppFunctionSkipper::operator, python.multivaluedict::pop(), DQMStore::pwd(), mathSSE::sqrt(), subDir_, groupFilesInBlocks::temp, pileupDistInMC::total, relativeConstraints::value, and summarizeEdmComparisonLogfiles::varNames.
|
private |
convenience method to get a histogram but checks first whether the corresponding MonitorElement is non-null.
Definition at line 353 of file EmDQMPostProcessor.cc.
References DQMStore::get(), MonitorElement::getTH1F(), and NULL.
Referenced by dividehistos(), and endRun().
|
private |
dataset with which these histograms were produced. This is set by a user parameter in the configuration file.
It is just used for writing it to the DQM output file. Useful to remember with which dataset a histogram file was produced. This code does not do much with this information (apart from copying it to the output file) but it can be used when generating reports.
Definition at line 48 of file EmDQMPostProcessor.h.
Referenced by EmDQMPostProcessor(), and endRun().
|
private |
read from the configuration: if set to true, efficiencies are calculated with respect to reconstructed objects (instead of generated objects). This is e.g. a useful option when running on data.
Definition at line 28 of file EmDQMPostProcessor.h.
Referenced by EmDQMPostProcessor(), and endRun().
|
private |
Definition at line 29 of file EmDQMPostProcessor.h.
Referenced by EmDQMPostProcessor(), and endRun().
|
private |
Definition at line 36 of file EmDQMPostProcessor.h.
Referenced by EmDQMPostProcessor(), and endRun().