![]() |
![]() |
#include <DQMStore.h>
Classes | |
class | IBooker |
class | IGetter |
Public Types | |
enum | OpenRunDirs { KeepRunDirs, StripRunDirs } |
enum | SaveReferenceTag { SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest } |
Public Member Functions | |
MonitorElement * | book1D (const char *name, const char *title, int nchX, double lowX, double highX) |
Book 1D histogram. More... | |
MonitorElement * | book1D (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1D histogram. More... | |
MonitorElement * | book1D (const char *name, const char *title, int nchX, const float *xbinsize) |
Book 1D variable bin histogram. More... | |
MonitorElement * | book1D (const std::string &name, const std::string &title, int nchX, const float *xbinsize) |
Book 1D variable bin histogram. More... | |
MonitorElement * | book1D (const char *name, TH1F *h) |
Book 1D histogram by cloning an existing histogram. More... | |
MonitorElement * | book1D (const std::string &name, TH1F *h) |
Book 1D histogram by cloning an existing histogram. More... | |
MonitorElement * | book1DD (const char *name, const char *title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1DD (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1DD (const char *name, const char *title, int nchX, const float *xbinsize) |
MonitorElement * | book1DD (const std::string &name, const std::string &title, int nchX, const float *xbinsize) |
MonitorElement * | book1DD (const char *name, TH1D *h) |
Book 1D double histogram by cloning an existing histogram. More... | |
MonitorElement * | book1DD (const std::string &name, TH1D *h) |
Book 1D double histogram by cloning an existing histogram. More... | |
MonitorElement * | book1S (const char *name, const char *title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1S (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1S (const char *name, const char *title, int nchX, const float *xbinsize) |
MonitorElement * | book1S (const std::string &name, const std::string &title, int nchX, const float *xbinsize) |
MonitorElement * | book1S (const char *name, TH1S *h) |
Book 1S histogram by cloning an existing histogram. More... | |
MonitorElement * | book1S (const std::string &name, TH1S *h) |
Book 1S histogram by cloning an existing histogram. More... | |
MonitorElement * | book2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D histogram. More... | |
MonitorElement * | book2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D histogram. More... | |
MonitorElement * | book2D (const char *name, const char *title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
Book 2D variable bin histogram. More... | |
MonitorElement * | book2D (const std::string &name, const std::string &title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
Book 2D variable bin histogram. More... | |
MonitorElement * | book2D (const char *name, TH2F *h) |
Book 2D histogram by cloning an existing histogram. More... | |
MonitorElement * | book2D (const std::string &name, TH2F *h) |
Book 2D histogram by cloning an existing histogram. More... | |
MonitorElement * | book2DD (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D double histogram. More... | |
MonitorElement * | book2DD (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2S histogram. More... | |
MonitorElement * | book2DD (const char *name, const char *title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
MonitorElement * | book2DD (const std::string &name, const std::string &title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
MonitorElement * | book2DD (const char *name, TH2D *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book2DD (const std::string &name, TH2D *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book2S (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2S histogram. More... | |
MonitorElement * | book2S (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2S histogram. More... | |
MonitorElement * | book2S (const char *name, const char *title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
MonitorElement * | book2S (const std::string &name, const std::string &title, int nchX, const float *xbinsize, int nchY, const float *ybinsize) |
MonitorElement * | book2S (const char *name, TH2S *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book2S (const std::string &name, TH2S *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book3D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ) |
Book 3D histogram. More... | |
MonitorElement * | book3D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ) |
Book 3D histogram. More... | |
MonitorElement * | book3D (const char *name, TH3F *h) |
Book 3D histogram by cloning an existing histogram. More... | |
MonitorElement * | book3D (const std::string &name, TH3F *h) |
Book 3D histogram by cloning an existing histogram. More... | |
MonitorElement * | bookFloat (const char *name) |
Book float. More... | |
MonitorElement * | bookFloat (const std::string &name) |
Book float. More... | |
MonitorElement * | bookInt (const char *name) |
Book int. More... | |
MonitorElement * | bookInt (const std::string &name) |
Book int. More... | |
MonitorElement * | bookProfile (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const char *name, const char *title, int nchX, double lowX, double highX, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const char *name, const char *title, int nchX, const double *xbinsize, int nchY, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, const double *xbinsize, int nchY, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const char *name, const char *title, int nchX, const double *xbinsize, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, const double *xbinsize, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const char *name, TProfile *h) |
Book TProfile by cloning an existing profile. More... | |
MonitorElement * | bookProfile (const std::string &name, TProfile *h) |
Book TProfile by cloning an existing profile. More... | |
MonitorElement * | bookProfile2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s") |
MonitorElement * | bookProfile2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s") |
MonitorElement * | bookProfile2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, const char *option="s") |
MonitorElement * | bookProfile2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, const char *option="s") |
MonitorElement * | bookProfile2D (const char *name, TProfile2D *h) |
Book TProfile2D by cloning an existing profile. More... | |
MonitorElement * | bookProfile2D (const std::string &name, TProfile2D *h) |
Book TProfile2D by cloning an existing profile. More... | |
MonitorElement * | bookString (const char *name, const char *value) |
Book string. More... | |
MonitorElement * | bookString (const std::string &name, const std::string &value) |
Book string. More... | |
template<typename iFunc > | |
void | bookTransaction (iFunc f, uint32_t run, uint32_t streamId, uint32_t moduleId) |
void | cd (void) |
go to top directory (ie. root) More... | |
void | cd (const std::string &subdir) |
cd to subdirectory (if there) More... | |
bool | containsAnyMonitorable (const std::string &path) const |
QCriterion * | createQTest (const std::string &algoname, const std::string &qtname) |
void | deleteUnusedLumiHistograms (uint32_t run, uint32_t lumi) |
bool | dirExists (const std::string &path) const |
true if directory exists More... | |
void | disableSoftReset (MonitorElement *me) |
DQMStore (const edm::ParameterSet &pset, edm::ActivityRegistry &) | |
DQMStore (const edm::ParameterSet &pset) | |
MonitorElement * | get (const std::string &path) const |
get ME from full pathname (e.g. "my/long/dir/my_histo") More... | |
std::vector< MonitorElement * > | get (unsigned int tag) const |
get all MonitorElements tagged as <tag> More... | |
std::vector< MonitorElement * > | getAllContents (const std::string &path, uint32_t runNumber=0, uint32_t lumi=0) const |
void | getAllTags (std::vector< std::string > &into) const |
std::vector< MonitorElement * > | getContents (const std::string &path) const |
std::vector< MonitorElement * > | getContents (const std::string &path, unsigned int tag) const |
same as above for tagged MonitorElements More... | |
void | getContents (std::vector< std::string > &into, bool showContents=true) const |
std::vector< MonitorElement * > | getMatchingContents (const std::string &pattern, lat::Regexp::Syntax syntaxType=lat::Regexp::Wildcard) const |
std::vector< std::string > | getMEs (void) const |
get list of (non-dir) MEs of current directory More... | |
QCriterion * | getQCriterion (const std::string &qtname) const |
int | getStatus (const std::string &path="") const |
std::vector< std::string > | getSubdirs (void) const |
void | goUp (void) |
equivalent to "cd .." More... | |
bool | isCollate (void) const |
bool | load (const std::string &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
template<typename iFunc > | |
void | meBookerGetter (iFunc f) |
template<typename iFunc > | |
void | meGetter (iFunc f) |
void | mergeAndResetMEsLuminositySummaryCache (uint32_t run, uint32_t lumi, uint32_t streamId, uint32_t moduleId) |
void | mergeAndResetMEsRunSummaryCache (uint32_t run, uint32_t streamId, uint32_t moduleId) |
bool | mtEnabled () |
bool | open (const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true) |
const std::string & | pwd (void) const |
void | removeContents (void) |
erase all monitoring elements in current directory (not including subfolders); More... | |
void | removeContents (const std::string &dir) |
remove all monitoring elements from directory; More... | |
void | removeElement (const std::string &name) |
void | removeElement (const std::string &dir, const std::string &name, bool warning=true) |
void | rmdir (const std::string &fullpath) |
void | runQTests (void) |
void | save (const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false) |
void | savePB (const std::string &filename, const std::string &path="", const uint32_t run=0, const uint32_t lumi=0, const bool resetMEsAfterWriting=false) |
void | scaleElements (void) |
void | setCurrentFolder (const std::string &fullpath) |
void | setVerbose (unsigned level) |
void | showDirStructure (void) const |
void | softReset (MonitorElement *me) |
void | tag (MonitorElement *me, unsigned int myTag) |
void | tag (const std::string &path, unsigned int myTag) |
tag ME specified by full pathname (e.g. "my/long/dir/my_histo") More... | |
void | tagAllContents (const std::string &path, unsigned int myTag) |
void | tagContents (const std::string &path, unsigned int myTag) |
tag all children of folder (does NOT include subfolders) More... | |
void | useQTest (const std::string &dir, const std::string &qtname) |
int | useQTestByMatch (const std::string &pattern, const std::string &qtname) |
attach quality test <qc> to monitor elements matching <pattern>. More... | |
~DQMStore (void) | |
Private Types | |
typedef std::set< MonitorElement > | MEMap |
typedef std::map< std::string, QCriterion *(*)(const std::string &)> | QAMap |
typedef std::map< std::string, QCriterion * > | QCMap |
typedef std::pair< fastmatch *, QCriterion * > | QTestSpec |
typedef std::list< QTestSpec > | QTestSpecs |
Private Member Functions | |
MonitorElement * | book (const std::string &dir, const std::string &name, const char *context) |
template<class HISTO , class COLLATE > | |
MonitorElement * | book (const std::string &dir, const std::string &name, const char *context, int kind, HISTO *h, COLLATE collate) |
MonitorElement * | book1D (const std::string &dir, const std::string &name, TH1F *h) |
Book 1D histogram based on TH1F. More... | |
MonitorElement * | book1DD (const std::string &dir, const std::string &name, TH1D *h) |
Book 1D histogram based on TH1D. More... | |
MonitorElement * | book1S (const std::string &dir, const std::string &name, TH1S *h) |
Book 1D histogram based on TH1S. More... | |
MonitorElement * | book2D (const std::string &dir, const std::string &name, TH2F *h) |
Book 2D histogram based on TH2F. More... | |
MonitorElement * | book2DD (const std::string &dir, const std::string &name, TH2D *h) |
Book 2D histogram based on TH2D. More... | |
MonitorElement * | book2S (const std::string &dir, const std::string &name, TH2S *h) |
Book 2D histogram based on TH2S. More... | |
MonitorElement * | book3D (const std::string &dir, const std::string &name, TH3F *h) |
Book 3D histogram based on TH3F. More... | |
MonitorElement * | bookFloat (const std::string &dir, const std::string &name) |
Book float. More... | |
MonitorElement * | bookInt (const std::string &dir, const std::string &name) |
Book int. More... | |
MonitorElement * | bookProfile (const std::string &dir, const std::string &name, TProfile *h) |
Book profile histogram based on TProfile. More... | |
MonitorElement * | bookProfile2D (const std::string &folder, const std::string &name, TProfile2D *h) |
Book 2D profile histogram based on TProfile2D. More... | |
MonitorElement * | bookString (const std::string &dir, const std::string &name, const std::string &value) |
Book string. More... | |
bool | cdInto (const std::string &path) const |
DQMStore (const DQMStore &) | |
bool | extract (TObject *obj, const std::string &dir, bool overwrite, bool collateHistograms) |
TObject * | extractNextObject (TBufferFile &) const |
MonitorElement * | findObject (const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const |
void | forceReset (void) |
void | get_info (const dqmstorepb::ROOTFilePB_Histo &, std::string &dirname, std::string &objname, TObject **obj) |
MonitorElement * | initialise (MonitorElement *me, const std::string &path) |
void | initializeFrom (const edm::ParameterSet &) |
bool | isCollateME (MonitorElement *me) const |
void | makeDirectory (const std::string &path) |
const DQMStore & | operator= (const DQMStore &) |
void | print_trace (const std::string &dir, const std::string &name) |
unsigned int | readDirectory (TFile *file, bool overwrite, const std::string &path, const std::string &prepend, const std::string &curdir, OpenRunDirs stripdirs) |
bool | readFile (const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
bool | readFilePB (const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
void | reset (void) |
void | setAccumulate (MonitorElement *me, bool flag) |
Static Private Member Functions | |
static bool | checkBinningMatches (MonitorElement *me, TH1 *h, unsigned verbose) |
static void | collate1D (MonitorElement *me, TH1F *h, unsigned verbose) |
static void | collate1DD (MonitorElement *me, TH1D *h, unsigned verbose) |
static void | collate1S (MonitorElement *me, TH1S *h, unsigned verbose) |
static void | collate2D (MonitorElement *me, TH2F *h, unsigned verbose) |
static void | collate2DD (MonitorElement *me, TH2D *h, unsigned verbose) |
static void | collate2S (MonitorElement *me, TH2S *h, unsigned verbose) |
static void | collate3D (MonitorElement *me, TH3F *h, unsigned verbose) |
static void | collateProfile (MonitorElement *me, TProfile *h, unsigned verbose) |
static void | collateProfile2D (MonitorElement *me, TProfile2D *h, unsigned verbose) |
Private Attributes | |
std::mutex | book_mutex_ |
bool | collateHistograms_ |
MEMap | data_ |
std::set< std::string > | dirs_ |
bool | enableMultiThread_ |
bool | forceResetOnBeginLumi_ |
IBooker * | ibooker_ |
IGetter * | igetter_ |
bool | LSbasedMode_ |
uint32_t | moduleId_ |
std::string | pwd_ |
QAMap | qalgos_ |
QCMap | qtests_ |
QTestSpecs | qtestspecs_ |
std::string | readSelectedDirectory_ |
bool | reset_ |
uint32_t | run_ |
double | scaleFlag_ |
std::ofstream * | stream_ |
uint32_t | streamId_ |
unsigned | verbose_ |
unsigned | verboseQT_ |
Friends | |
class | DQMArchiver |
class | DQMFileSaver |
class | DQMNet |
class | DQMRootOutputModule |
class | DQMRootSource |
class | DQMService |
class | DQMStoreExample |
class | edm::DQMHttpSource |
class | MEtoEDMConverter |
Definition at line 75 of file DQMStore.h.
|
private |
Definition at line 695 of file DQMStore.h.
|
private |
Definition at line 697 of file DQMStore.h.
|
private |
Definition at line 696 of file DQMStore.h.
|
private |
Definition at line 693 of file DQMStore.h.
|
private |
Definition at line 694 of file DQMStore.h.
Enumerator | |
---|---|
KeepRunDirs | |
StripRunDirs |
Definition at line 84 of file DQMStore.h.
Enumerator | |
---|---|
SaveWithoutReference | |
SaveWithReference | |
SaveWithReferenceForQTest |
Definition at line 78 of file DQMStore.h.
DQMStore::DQMStore | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 503 of file DQMStore.cc.
DQMStore::DQMStore | ( | const edm::ParameterSet & | pset | ) |
Definition at line 539 of file DQMStore.cc.
DQMStore::~DQMStore | ( | void | ) |
Definition at line 561 of file DQMStore.cc.
|
private |
|
private |
Definition at line 876 of file DQMStore.cc.
|
private |
Definition at line 800 of file DQMStore.cc.
MonitorElement * DQMStore::book1D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1D histogram.
Definition at line 1021 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), DQMLumiMonitor::bookHistograms(), HarvestingAnalyzer::endJob(), and DQMDcsInfoClient::endRun().
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1D histogram.
Definition at line 1029 of file DQMStore.cc.
MonitorElement * DQMStore::book1D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
Book 1D variable bin histogram.
Definition at line 1069 of file DQMStore.cc.
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
Book 1D variable bin histogram.
Definition at line 1077 of file DQMStore.cc.
MonitorElement * DQMStore::book1D | ( | const char * | name, |
TH1F * | h | ||
) |
Book 1D histogram by cloning an existing histogram.
Definition at line 1085 of file DQMStore.cc.
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
TH1F * | h | ||
) |
Book 1D histogram by cloning an existing histogram.
Definition at line 1092 of file DQMStore.cc.
|
private |
Book 1D histogram based on TH1F.
Definition at line 1000 of file DQMStore.cc.
MonitorElement * DQMStore::book1DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1053 of file DQMStore.cc.
MonitorElement * DQMStore::book1DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1061 of file DQMStore.cc.
MonitorElement* DQMStore::book1DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
MonitorElement* DQMStore::book1DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1DD | ( | const char * | name, |
TH1D * | h | ||
) |
Book 1D double histogram by cloning an existing histogram.
Definition at line 1113 of file DQMStore.cc.
MonitorElement * DQMStore::book1DD | ( | const std::string & | name, |
TH1D * | h | ||
) |
Book 1D double histogram by cloning an existing histogram.
Definition at line 1120 of file DQMStore.cc.
|
private |
Book 1D histogram based on TH1D.
Definition at line 1014 of file DQMStore.cc.
MonitorElement * DQMStore::book1S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1037 of file DQMStore.cc.
MonitorElement * DQMStore::book1S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1045 of file DQMStore.cc.
MonitorElement* DQMStore::book1S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
MonitorElement* DQMStore::book1S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1S | ( | const char * | name, |
TH1S * | h | ||
) |
Book 1S histogram by cloning an existing histogram.
Definition at line 1099 of file DQMStore.cc.
MonitorElement * DQMStore::book1S | ( | const std::string & | name, |
TH1S * | h | ||
) |
Book 1S histogram by cloning an existing histogram.
Definition at line 1106 of file DQMStore.cc.
|
private |
Book 1D histogram based on TH1S.
Definition at line 1007 of file DQMStore.cc.
MonitorElement * DQMStore::book2D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2D histogram.
Definition at line 1149 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), and DQMDcsInfoClient::endRun().
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2D histogram.
Definition at line 1160 of file DQMStore.cc.
MonitorElement * DQMStore::book2D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
Book 2D variable bin histogram.
Definition at line 1215 of file DQMStore.cc.
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
Book 2D variable bin histogram.
Definition at line 1224 of file DQMStore.cc.
MonitorElement * DQMStore::book2D | ( | const char * | name, |
TH2F * | h | ||
) |
Book 2D histogram by cloning an existing histogram.
Definition at line 1233 of file DQMStore.cc.
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
TH2F * | h | ||
) |
Book 2D histogram by cloning an existing histogram.
Definition at line 1240 of file DQMStore.cc.
|
private |
Book 2D histogram based on TH2F.
Definition at line 1128 of file DQMStore.cc.
MonitorElement * DQMStore::book2DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2D double histogram.
Definition at line 1193 of file DQMStore.cc.
Referenced by AcceptanceHistoProducer::beginJob().
MonitorElement * DQMStore::book2DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2S histogram.
Definition at line 1204 of file DQMStore.cc.
MonitorElement* DQMStore::book2DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
MonitorElement* DQMStore::book2DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2DD | ( | const char * | name, |
TH2D * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1261 of file DQMStore.cc.
MonitorElement * DQMStore::book2DD | ( | const std::string & | name, |
TH2D * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1268 of file DQMStore.cc.
|
private |
Book 2D histogram based on TH2D.
Definition at line 1142 of file DQMStore.cc.
MonitorElement * DQMStore::book2S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2S histogram.
Definition at line 1171 of file DQMStore.cc.
MonitorElement * DQMStore::book2S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2S histogram.
Definition at line 1182 of file DQMStore.cc.
MonitorElement* DQMStore::book2S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
MonitorElement* DQMStore::book2S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const float * | xbinsize, | ||
int | nchY, | ||
const float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2S | ( | const char * | name, |
TH2S * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1247 of file DQMStore.cc.
MonitorElement * DQMStore::book2S | ( | const std::string & | name, |
TH2S * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1254 of file DQMStore.cc.
|
private |
Book 2D histogram based on TH2S.
Definition at line 1135 of file DQMStore.cc.
MonitorElement * DQMStore::book3D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
int | nchZ, | ||
double | lowZ, | ||
double | highZ | ||
) |
Book 3D histogram.
Definition at line 1283 of file DQMStore.cc.
Referenced by ConverterTester::beginJob().
MonitorElement * DQMStore::book3D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
int | nchZ, | ||
double | lowZ, | ||
double | highZ | ||
) |
Book 3D histogram.
Definition at line 1296 of file DQMStore.cc.
MonitorElement * DQMStore::book3D | ( | const char * | name, |
TH3F * | h | ||
) |
Book 3D histogram by cloning an existing histogram.
Definition at line 1309 of file DQMStore.cc.
MonitorElement * DQMStore::book3D | ( | const std::string & | name, |
TH3F * | h | ||
) |
Book 3D histogram by cloning an existing histogram.
Definition at line 1316 of file DQMStore.cc.
|
private |
Book 3D histogram based on TH3F.
Definition at line 1276 of file DQMStore.cc.
MonitorElement * DQMStore::bookFloat | ( | const char * | name | ) |
Book float.
Definition at line 958 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), DQMDaqInfo::beginJob(), DQMDcsInfoClient::endRun(), and SubTaskSummaryStatus::WriteThreshold().
MonitorElement * DQMStore::bookFloat | ( | const std::string & | name | ) |
Book float.
Definition at line 963 of file DQMStore.cc.
|
private |
Book float.
Definition at line 941 of file DQMStore.cc.
MonitorElement * DQMStore::bookInt | ( | const char * | name | ) |
Book int.
Definition at line 928 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), and FineDelayTask::book().
MonitorElement * DQMStore::bookInt | ( | const std::string & | name | ) |
Book int.
Definition at line 933 of file DQMStore.cc.
|
private |
Book int.
Definition at line 911 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1335 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), hcaldqm::ContainerSingleProf1D::book(), and DQMLumiMonitor::bookHistograms().
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1350 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1365 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1380 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const double * | xbinsize, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1395 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const double * | xbinsize, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1410 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
const double * | xbinsize, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1425 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
const double * | xbinsize, | ||
double | lowY, | ||
double | highY, | ||
const char * | option = "s" |
||
) |
Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.
Definition at line 1440 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
TProfile * | h | ||
) |
Book TProfile by cloning an existing profile.
Definition at line 1453 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
TProfile * | h | ||
) |
Book TProfile by cloning an existing profile.
Definition at line 1460 of file DQMStore.cc.
|
private |
Book profile histogram based on TProfile.
Definition at line 1324 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile2D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
int | nchZ, | ||
double | lowZ, | ||
double | highZ, | ||
const char * | option = "s" |
||
) |
Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.
Definition at line 1479 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), hcaldqm::ContainerSingleProf2D::book(), and DQMLumiMonitor::bookHistograms().
MonitorElement * DQMStore::bookProfile2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
int | nchZ, | ||
double | lowZ, | ||
double | highZ, | ||
const char * | option = "s" |
||
) |
Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.
Definition at line 1496 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile2D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
double | lowZ, | ||
double | highZ, | ||
const char * | option = "s" |
||
) |
Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.
Definition at line 1513 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
double | lowZ, | ||
double | highZ, | ||
const char * | option = "s" |
||
) |
Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.
Definition at line 1530 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile2D | ( | const char * | name, |
TProfile2D * | h | ||
) |
Book TProfile2D by cloning an existing profile.
Definition at line 1545 of file DQMStore.cc.
MonitorElement * DQMStore::bookProfile2D | ( | const std::string & | name, |
TProfile2D * | h | ||
) |
Book TProfile2D by cloning an existing profile.
Definition at line 1552 of file DQMStore.cc.
|
private |
Book 2D profile histogram based on TProfile2D.
Definition at line 1468 of file DQMStore.cc.
MonitorElement * DQMStore::bookString | ( | const char * | name, |
const char * | value | ||
) |
Book string.
Definition at line 987 of file DQMStore.cc.
Referenced by DQMFileReader::beginJob(), ConverterTester::beginJob(), and DQMDcsInfoClient::beginRun().
MonitorElement * DQMStore::bookString | ( | const std::string & | name, |
const std::string & | value | ||
) |
Book string.
Definition at line 992 of file DQMStore.cc.
|
private |
Book string.
Definition at line 971 of file DQMStore.cc.
|
inline |
Definition at line 245 of file DQMStore.h.
Referenced by DQMEDAnalyzer::beginRun(), and thread_unsafe::DQMEDAnalyzer::beginRun().
void DQMStore::cd | ( | void | ) |
go to top directory (ie. root)
Definition at line 704 of file DQMStore.cc.
Referenced by DQMFileReader::beginJob(), DQMDcsInfoClient::beginRun(), and DQMDcsInfoClient::endRun().
void DQMStore::cd | ( | const std::string & | subdir | ) |
cd to subdirectory (if there)
Definition at line 709 of file DQMStore.cc.
|
private |
Use this for saving monitoring objects in ROOT files with dir structure; cd into directory (create first if it doesn't exist); returns success flag
Definition at line 2464 of file DQMStore.cc.
|
staticprivate |
Definition at line 1561 of file DQMStore.cc.
|
staticprivate |
Definition at line 1588 of file DQMStore.cc.
|
staticprivate |
Definition at line 1602 of file DQMStore.cc.
|
staticprivate |
Definition at line 1595 of file DQMStore.cc.
|
staticprivate |
Definition at line 1609 of file DQMStore.cc.
|
staticprivate |
Definition at line 1623 of file DQMStore.cc.
|
staticprivate |
Definition at line 1616 of file DQMStore.cc.
|
staticprivate |
Definition at line 1630 of file DQMStore.cc.
|
staticprivate |
Definition at line 1637 of file DQMStore.cc.
|
staticprivate |
Definition at line 1647 of file DQMStore.cc.
bool DQMStore::containsAnyMonitorable | ( | const std::string & | path | ) | const |
true if directory (or any subfolder at any level below it) contains at least one monitorable element
Definition at line 1765 of file DQMStore.cc.
QCriterion * DQMStore::createQTest | ( | const std::string & | algoname, |
const std::string & | qtname | ||
) |
create quality test with unique name <qtname> (analogous to ME name); quality test can then be attached to ME with useQTest method (<algo_name> must match one of known algorithms)
Definition at line 3278 of file DQMStore.cc.
void DQMStore::deleteUnusedLumiHistograms | ( | uint32_t | run, |
uint32_t | lumi | ||
) |
Delete global histograms which are no longer in used. Such histograms are created at the end of each lumi and should be deleted after last globalEndLuminosityBlock.
Definition at line 2121 of file DQMStore.cc.
bool DQMStore::dirExists | ( | const std::string & | path | ) | const |
true if directory exists
Definition at line 792 of file DQMStore.cc.
void DQMStore::disableSoftReset | ( | MonitorElement * | me | ) |
Definition at line 3412 of file DQMStore.cc.
|
private |
extract object (TH1F, TH2F, ...) from <to>; return success flag flag fromRemoteNode indicating if ME arrived from different node
Definition at line 2163 of file DQMStore.cc.
|
inlineprivate |
Extract the next serialised ROOT object from @a buf. Returns null
if there are no more objects in the buffer, or a null pointer was serialised at this location.
Definition at line 3090 of file DQMStore.cc.
|
private |
get MonitorElement <name> in directory <dir> (null if MonitorElement does not exist)
Definition at line 1905 of file DQMStore.cc.
|
private |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.
Definition at line 2097 of file DQMStore.cc.
MonitorElement * DQMStore::get | ( | const std::string & | path | ) | const |
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition at line 1775 of file DQMStore.cc.
Referenced by Options.Options::__getitem__(), HarvestingAnalyzer::endJob(), DQMDcsInfoClient::endLuminosityBlock(), DQMDcsInfoClient::endRun(), PFDQMEventSelector::filter(), QTestStatusChecker::processAlarms(), and SubTaskSummaryStatus::WriteThreshold().
std::vector< MonitorElement * > DQMStore::get | ( | unsigned int | tag | ) | const |
get all MonitorElements tagged as <tag>
Definition at line 1788 of file DQMStore.cc.
Referenced by Options.Options::__getitem__().
|
private |
Definition at line 3098 of file DQMStore.cc.
std::vector< MonitorElement * > DQMStore::getAllContents | ( | const std::string & | path, |
uint32_t | runNumber = 0 , |
||
uint32_t | lumi = 0 |
||
) | const |
get vector with children of folder, including all subfolders + their children; must use an exact pathname
Definition at line 1988 of file DQMStore.cc.
Referenced by edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), and StatisticsFilter::filter().
void DQMStore::getAllTags | ( | std::vector< std::string > & | into | ) | const |
get tags for various maps, return vector with strings of the form <dir pathname>="">:<obj1>/<tag1>/<tag2>,<obj2>/<tag1>/<tag3>, etc.
Definition at line 1935 of file DQMStore.cc.
std::vector< MonitorElement * > DQMStore::getContents | ( | const std::string & | path | ) | const |
get vector with all children of folder (does NOT include contents of subfolders)
Definition at line 1804 of file DQMStore.cc.
Referenced by QTestStatusChecker::fullPathNames().
std::vector< MonitorElement * > DQMStore::getContents | ( | const std::string & | path, |
unsigned int | tag | ||
) | const |
same as above for tagged MonitorElements
Definition at line 1823 of file DQMStore.cc.
void DQMStore::getContents | ( | std::vector< std::string > & | into, |
bool | showContents = true |
||
) | const |
get contents; return vector<string> of the form <dir pathname>="">:<obj1>,<obj2>,<obj3>; if showContents = false, change form to <dir pathname>="">: (useful for subscription requests; meant to imply "all contents")
Definition at line 1847 of file DQMStore.cc.
std::vector< MonitorElement * > DQMStore::getMatchingContents | ( | const std::string & | pattern, |
lat::Regexp::Syntax | syntaxType = lat::Regexp::Wildcard |
||
) | const |
get vector with children of folder, including all subfolders + their children; matches names against a wildcard pattern matched against the full ME path
Definition at line 2037 of file DQMStore.cc.
std::vector< std::string > DQMStore::getMEs | ( | void | ) | const |
get list of (non-dir) MEs of current directory
Definition at line 1749 of file DQMStore.cc.
QCriterion * DQMStore::getQCriterion | ( | const std::string & | qtname | ) | const |
get QCriterion corresponding to <qtname> (null pointer if QCriterion does not exist)
Definition at line 3267 of file DQMStore.cc.
int DQMStore::getStatus | ( | const std::string & | path = "" | ) | const |
get "global" folder <path> status (one of:STATUS_OK, WARNING, ERROR, OTHER); returns most sever error, where ERROR > WARNING > OTHER > STATUS_OK; see Core/interface/QTestStatus.h for details on "OTHER"
Definition at line 3373 of file DQMStore.cc.
Referenced by QTestStatusChecker::checkGlobalStatus().
std::vector< std::string > DQMStore::getSubdirs | ( | void | ) | const |
get list of subdirectories of current directory
Definition at line 1726 of file DQMStore.cc.
void DQMStore::goUp | ( | void | ) |
equivalent to "cd .."
Definition at line 738 of file DQMStore.cc.
|
private |
|
private |
Definition at line 575 of file DQMStore.cc.
bool DQMStore::isCollate | ( | void | ) | const |
Definition at line 3451 of file DQMStore.cc.
|
private |
Definition at line 3460 of file DQMStore.cc.
bool DQMStore::load | ( | const std::string & | filename, |
OpenRunDirs | stripdirs = StripRunDirs , |
||
bool | fileMustExist = true |
||
) |
public load root file <filename>, and copy MonitorElements; overwrite identical MonitorElements (default: true); set DQMStore.collateHistograms to true to sum several files note: by default this method strips off run dir structure
Definition at line 3008 of file DQMStore.cc.
Referenced by DQMFileReader::beginJob().
|
private |
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition at line 751 of file DQMStore.cc.
|
inline |
Definition at line 275 of file DQMStore.h.
Referenced by DQMEDHarvester::endJob(), and DQMEDHarvester::endLuminosityBlock().
|
inline |
Definition at line 284 of file DQMStore.h.
void DQMStore::mergeAndResetMEsLuminositySummaryCache | ( | uint32_t | run, |
uint32_t | lumi, | ||
uint32_t | streamId, | ||
uint32_t | moduleId | ||
) |
Definition at line 432 of file DQMStore.cc.
Referenced by DQMEDAnalyzer::endLuminosityBlockSummary().
void DQMStore::mergeAndResetMEsRunSummaryCache | ( | uint32_t | run, |
uint32_t | streamId, | ||
uint32_t | moduleId | ||
) |
Function to transfer the local copies of histograms from each stream into the global ROOT Object. Since this involves de-facto a booking action in the case in which the global object is not yet there, the function requires the acquisition of the central lock into the DQMStore. In case we book the global object for the first time, no Add action is needed since the ROOT histograms is cloned starting from the local one.
Definition at line 359 of file DQMStore.cc.
Referenced by DQMEDAnalyzer::endRunSummary().
|
inline |
Definition at line 561 of file DQMStore.h.
bool DQMStore::open | ( | const std::string & | filename, |
bool | overwrite = false , |
||
const std::string & | onlypath = "" , |
||
const std::string & | prepend = "" , |
||
OpenRunDirs | stripdirs = KeepRunDirs , |
||
bool | fileMustExist = true |
||
) |
public open/read root file <filename>, and copy MonitorElements; if flag=true, overwrite identical MonitorElements (default: false); if onlypath != "", read only selected directory if prepend !="", prepend string to path note: by default this method keeps the dir structure as in file and does not update monitor element references!
Definition at line 2993 of file DQMStore.cc.
Referenced by DQMFileReader::beginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), PFDQMEventSelector::openInputFile(), and StatisticsFilter::StatisticsFilter().
|
private |
Definition at line 635 of file DQMStore.cc.
const std::string & DQMStore::pwd | ( | void | ) | const |
return pathname of current directory
Definition at line 699 of file DQMStore.cc.
Referenced by FineDelayTask::book(), and SubTaskSummaryStatus::WriteThreshold().
|
private |
read ROOT objects from file <file> in directory <onlypath>; return total # of ROOT objects read
Definition at line 2838 of file DQMStore.cc.
|
private |
private readFile <filename>, and copy MonitorElements; if flag=true, overwrite identical MonitorElements (default: false); if onlypath != "", read only selected directory if prepend !="", prepend string to path if StripRunDirs is set the run and run summary folders are erased.
Definition at line 3035 of file DQMStore.cc.
|
private |
Definition at line 3119 of file DQMStore.cc.
void DQMStore::removeContents | ( | void | ) |
erase all monitoring elements in current directory (not including subfolders);
Definition at line 3234 of file DQMStore.cc.
void DQMStore::removeContents | ( | const std::string & | dir | ) |
remove all monitoring elements from directory;
Definition at line 3220 of file DQMStore.cc.
void DQMStore::removeElement | ( | const std::string & | name | ) |
erase monitoring element in current directory (opposite of book1D,2D,etc. action);
Definition at line 3242 of file DQMStore.cc.
Referenced by DQMDcsInfoClient::endRun(), and SubTaskSummaryStatus::WriteThreshold().
void DQMStore::removeElement | ( | const std::string & | dir, |
const std::string & | name, | ||
bool | warning = true |
||
) |
remove monitoring element from directory; if warning = true, print message if element does not exist
Definition at line 3250 of file DQMStore.cc.
|
private |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all recently updated MEs and calls their Reset() method for those that have resetMe = true.
Definition at line 2073 of file DQMStore.cc.
Referenced by DQMService::flushStandalone().
void DQMStore::rmdir | ( | const std::string & | path | ) |
delete directory and all contents; delete directory (all contents + subfolders);
Definition at line 3200 of file DQMStore.cc.
void DQMStore::runQTests | ( | void | ) |
run quality tests (also finds updated contents in last monitoring cycle, including newly added content)
Definition at line 3352 of file DQMStore.cc.
void DQMStore::save | ( | const std::string & | filename, |
const std::string & | path = "" , |
||
const std::string & | pattern = "" , |
||
const std::string & | rewrite = "" , |
||
const uint32_t | run = 0 , |
||
const uint32_t | lumi = 0 , |
||
SaveReferenceTag | ref = SaveWithReference , |
||
int | minStatus = dqm::qstatus::STATUS_OK , |
||
const std::string & | fileupdate = "RECREATE" , |
||
const bool | resetMEsAfterWriting = false |
||
) |
save directory with monitoring objects into root file <filename>; include quality test results with status >= minimum_status (defined in Core/interface/QTestStatus.h); if directory="", save full monitoring structure
Definition at line 2636 of file DQMStore.cc.
Referenced by TauDQMSimpleFileSaver::endJob(), and SiStripMonitorRawData::endRun().
void DQMStore::savePB | ( | const std::string & | filename, |
const std::string & | path = "" , |
||
const uint32_t | run = 0 , |
||
const uint32_t | lumi = 0 , |
||
const bool | resetMEsAfterWriting = false |
||
) |
Definition at line 2506 of file DQMStore.cc.
void DQMStore::scaleElements | ( | void | ) |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.
Definition at line 3468 of file DQMStore.cc.
|
private |
if true, will accumulate ME contents (over many periods) until method is called with flag = false again
Definition at line 3421 of file DQMStore.cc.
void DQMStore::setCurrentFolder | ( | const std::string & | fullpath | ) |
set the last directory in fullpath as the current directory(create if needed); to be invoked by user to specify directories for monitoring objects before booking; commands book1D (etc) & removeElement(name) imply elements in this directory!;
Definition at line 727 of file DQMStore.cc.
Referenced by DQMFileReader::beginJob(), AcceptanceHistoProducer::beginJob(), ConverterTester::beginJob(), DQMDaqInfo::beginJob(), DQMDcsInfoClient::beginRun(), FineDelayTask::book(), hcaldqm::ContainerSingleProf1D::book(), hcaldqm::ContainerSingleProf2D::book(), DQMLumiMonitor::bookHistograms(), HarvestingAnalyzer::endJob(), DQMDcsInfoClient::endRun(), and SubTaskSummaryStatus::WriteThreshold().
void DQMStore::setVerbose | ( | unsigned | level | ) |
set verbose level (0 turns all non-error messages off)
Definition at line 691 of file DQMStore.cc.
void DQMStore::showDirStructure | ( | void | ) | const |
Definition at line 3431 of file DQMStore.cc.
Referenced by EcalBarrelMonitorDbModule::EcalBarrelMonitorDbModule().
void DQMStore::softReset | ( | MonitorElement * | me | ) |
reset contents (does not erase contents permanently) (makes copy of current contents; will be subtracted from future contents)
Definition at line 3404 of file DQMStore.cc.
void DQMStore::tag | ( | MonitorElement * | me, |
unsigned int | myTag | ||
) |
tag ME as <myTag> (myTag > 0)
Definition at line 1661 of file DQMStore.cc.
Referenced by ConverterTester::beginJob(), and Inspector.Inspector::SetTag().
void DQMStore::tag | ( | const std::string & | path, |
unsigned int | myTag | ||
) |
tag ME specified by full pathname (e.g. "my/long/dir/my_histo")
Definition at line 1676 of file DQMStore.cc.
Referenced by Inspector.Inspector::SetTag().
void DQMStore::tagAllContents | ( | const std::string & | path, |
unsigned int | myTag | ||
) |
tag all children of folder, including all subfolders and their children; path must be an exact path name
Definition at line 1704 of file DQMStore.cc.
void DQMStore::tagContents | ( | const std::string & | path, |
unsigned int | myTag | ||
) |
tag all children of folder (does NOT include subfolders)
Definition at line 1692 of file DQMStore.cc.
void DQMStore::useQTest | ( | const std::string & | dir, |
const std::string & | qtname | ||
) |
attach quality test <qtname> to directory contents (need exact pathname without wildcards, e.g. A/B/C);
Definition at line 3299 of file DQMStore.cc.
int DQMStore::useQTestByMatch | ( | const std::string & | pattern, |
const std::string & | qtname | ||
) |
attach quality test <qc> to monitor elements matching <pattern>.
Definition at line 3317 of file DQMStore.cc.
Referenced by QTestHandle::attachTests().
|
friend |
Definition at line 728 of file DQMStore.h.
|
friend |
Definition at line 732 of file DQMStore.h.
|
friend |
Definition at line 727 of file DQMStore.h.
|
friend |
Definition at line 730 of file DQMStore.h.
|
friend |
Definition at line 731 of file DQMStore.h.
|
friend |
Definition at line 726 of file DQMStore.h.
|
friend |
Definition at line 729 of file DQMStore.h.
|
friend |
Definition at line 725 of file DQMStore.h.
|
friend |
Definition at line 733 of file DQMStore.h.
|
private |
Definition at line 721 of file DQMStore.h.
|
private |
Definition at line 703 of file DQMStore.h.
|
private |
Definition at line 714 of file DQMStore.h.
Referenced by DQMService::flushStandalone().
|
private |
Definition at line 715 of file DQMStore.h.
|
private |
Definition at line 704 of file DQMStore.h.
|
private |
Definition at line 706 of file DQMStore.h.
|
private |
Definition at line 722 of file DQMStore.h.
|
private |
Definition at line 723 of file DQMStore.h.
|
private |
Definition at line 705 of file DQMStore.h.
|
private |
Definition at line 710 of file DQMStore.h.
|
private |
Current directory.
Definition at line 713 of file DQMStore.h.
|
private |
Set of all the available quality test algorithms.
Definition at line 718 of file DQMStore.h.
|
private |
All the quality tests.
Definition at line 717 of file DQMStore.h.
|
private |
Definition at line 719 of file DQMStore.h.
|
private |
If non-empty, read from file only selected directory.
Definition at line 707 of file DQMStore.h.
|
private |
Flag used to print out a warning when calling quality tests. twice without having called reset() in between; to be reset in DQMOldReceiver::runQualityTests.
Definition at line 701 of file DQMStore.h.
|
private |
Definition at line 708 of file DQMStore.h.
|
private |
Definition at line 702 of file DQMStore.h.
|
private |
Definition at line 711 of file DQMStore.h.
|
private |
Definition at line 709 of file DQMStore.h.
|
private |
Universal verbose flag for DQM.
Definition at line 699 of file DQMStore.h.
|
private |
Verbose flag for xml-based QTests.
Definition at line 700 of file DQMStore.h.