#include <DQMStore.h>
Classes | |
class | char_string |
class | ConcurrentBooker |
class | IBooker |
class | IGetter |
Public Types | |
enum | OpenRunDirs { KeepRunDirs, StripRunDirs } |
enum | SaveReferenceTag { SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest } |
Public Member Functions | |
MonitorElement * | book1D (char_string const &name, char_string const &title, int const nchX, double const lowX, double const highX) |
Book 1D histogram. More... | |
MonitorElement * | book1D (char_string const &name, char_string const &title, int nchX, float const *xbinsize) |
MonitorElement * | book1D (char_string const &name, TH1F *h) |
Book 1D histogram by cloning an existing histogram. More... | |
MonitorElement * | book1DD (char_string const &name, char_string const &title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1DD (char_string const &name, char_string const &title, int nchX, float const *xbinsize) |
MonitorElement * | book1DD (char_string const &name, TH1D *h) |
Book 1D double histogram by cloning an existing histogram. More... | |
MonitorElement * | book1S (char_string const &name, char_string const &title, int nchX, double lowX, double highX) |
Book 1S histogram. More... | |
MonitorElement * | book1S (char_string const &name, char_string const &title, int nchX, float const *xbinsize) |
MonitorElement * | book1S (char_string const &name, TH1S *h) |
Book 1S histogram by cloning an existing histogram. More... | |
MonitorElement * | book2D (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D histogram. More... | |
MonitorElement * | book2D (char_string const &name, char_string const &title, int nchX, float const *xbinsize, int nchY, float const *ybinsize) |
MonitorElement * | book2D (char_string const &name, TH2F *h) |
Book 2D histogram by cloning an existing histogram. More... | |
MonitorElement * | book2DD (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D histogram. More... | |
MonitorElement * | book2DD (char_string const &name, char_string const &title, int nchX, float const *xbinsize, int nchY, float const *ybinsize) |
MonitorElement * | book2DD (char_string const &name, TH2D *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book2S (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2S histogram. More... | |
MonitorElement * | book2S (char_string const &name, char_string const &title, int nchX, float const *xbinsize, int nchY, float const *ybinsize) |
MonitorElement * | book2S (char_string const &name, TH2S *h) |
Book 2DS histogram by cloning an existing histogram. More... | |
MonitorElement * | book3D (char_string const &name, char_string const &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 (char_string const &name, TH3F *h) |
Book 3D histogram by cloning an existing histogram. More... | |
template<typename iFunc > | |
void | bookConcurrentTransaction (iFunc f, uint32_t run) |
MonitorElement * | bookFloat (char_string const &name) |
Book float. More... | |
MonitorElement * | bookInt (char_string const &name) |
Book int. More... | |
MonitorElement * | bookProfile (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, char const *option="s") |
MonitorElement * | bookProfile (char_string const &name, char_string const &title, int nchX, double lowX, double highX, double lowY, double highY, char const *option="s") |
MonitorElement * | bookProfile (char_string const &name, char_string const &title, int nchX, double const *xbinsize, int nchY, double lowY, double highY, char const *option="s") |
MonitorElement * | bookProfile (char_string const &name, char_string const &title, int nchX, double const *xbinsize, double lowY, double highY, char const *option="s") |
MonitorElement * | bookProfile (char_string const &name, TProfile *h) |
Book TProfile by cloning an existing profile. More... | |
MonitorElement * | bookProfile2D (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s") |
MonitorElement * | bookProfile2D (char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, char const *option="s") |
MonitorElement * | bookProfile2D (char_string const &name, TProfile2D *h) |
Book TProfile2D by cloning an existing profile. More... | |
MonitorElement * | bookString (char_string const &name, char_string const &value) |
Book string. More... | |
template<typename iFunc > | |
void | bookTransaction (iFunc f, uint32_t run, uint32_t moduleId, bool canSaveByLumi) |
void | cd () |
go to top directory (ie. root) More... | |
void | cd (std::string const &subdir) |
cd to subdirectory (if there) More... | |
void | cloneLumiHistograms (uint32_t run, uint32_t lumi, uint32_t moduleId) |
void | cloneRunHistograms (uint32_t run, uint32_t moduleId) |
bool | containsAnyMonitorable (std::string const &path) const |
QCriterion * | createQTest (std::string const &algoname, std::string const &qtname) |
void | deleteUnusedLumiHistograms (uint32_t run, uint32_t lumi) |
bool | dirExists (std::string const &path) const |
true if directory exists More... | |
void | disableSoftReset (MonitorElement *me) |
DQMStore (edm::ParameterSet const &pset, edm::ActivityRegistry &) | |
DQMStore (edm::ParameterSet const &pset) | |
DQMStore (DQMStore const &)=delete | |
MonitorElement * | get (std::string const &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 (std::string const &path, uint32_t runNumber=0, uint32_t lumi=0) const |
std::vector< MonitorElement * > | getContents (std::string const &path) const |
std::vector< MonitorElement * > | getContents (std::string const &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 (std::string const &pattern, lat::Regexp::Syntax syntaxType=lat::Regexp::Wildcard) const |
std::vector< std::string > | getMEs () const |
get list of (non-dir) MEs of current directory More... | |
QCriterion * | getQCriterion (std::string const &qtname) const |
int | getStatus (std::string const &path="") const |
std::vector< std::string > | getSubdirs () const |
void | goUp () |
equivalent to "cd .." More... | |
bool | isCollate () const |
bool | load (std::string const &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
template<typename iFunc > | |
void | meBookerGetter (iFunc f) |
bool | mtEnabled () |
bool | open (std::string const &filename, bool overwrite=false, std::string const &path="", std::string const &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true) |
DQMStore & | operator= (DQMStore const &)=delete |
std::string const & | pwd () const |
void | removeContents () |
erase all monitoring elements in current directory (not including subfolders); More... | |
void | removeContents (std::string const &dir) |
remove all monitoring elements from directory; More... | |
void | removeElement (std::string const &name) |
void | removeElement (std::string const &dir, std::string const &name, bool warning=true) |
void | rmdir (std::string const &fullpath) |
void | runQTests () |
void | save (std::string const &filename, std::string const &path="", std::string const &pattern="", std::string const &rewrite="", uint32_t run=0, uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, std::string const &fileupdate="RECREATE") |
void | savePB (std::string const &filename, std::string const &path="", uint32_t run=0, uint32_t lumi=0) |
void | scaleElements () |
void | setCurrentFolder (std::string const &fullpath) |
void | setVerbose (unsigned level) |
void | showDirStructure () const |
void | softReset (MonitorElement *me) |
void | tag (MonitorElement *me, unsigned int myTag) |
void | tag (std::string const &path, unsigned int myTag) |
tag ME specified by full pathname (e.g. "my/long/dir/my_histo") More... | |
void | tagAllContents (std::string const &path, unsigned int myTag) |
void | tagContents (std::string const &path, unsigned int myTag) |
tag all children of folder (does NOT include subfolders) More... | |
void | useQTest (std::string const &dir, std::string const &qtname) |
int | useQTestByMatch (std::string const &pattern, std::string const &qtname) |
attach quality test <qc> to monitor elements matching <pattern>. More... | |
~DQMStore () | |
Private Types | |
using | MEMap = std::set< MonitorElement > |
using | QAMap = std::map< std::string, QCriterion *(*)(std::string const &)> |
using | QCMap = std::map< std::string, QCriterion * > |
using | QTestSpec = std::pair< fastmatch *, QCriterion * > |
using | QTestSpecs = std::list< QTestSpec > |
Private Member Functions | |
MonitorElement * | book1D_ (std::string const &dir, std::string const &name, TH1F *h) |
Book 1D histogram based on TH1F. More... | |
MonitorElement * | book1DD_ (std::string const &dir, std::string const &name, TH1D *h) |
Book 1D histogram based on TH1D. More... | |
MonitorElement * | book1S_ (std::string const &dir, std::string const &name, TH1S *h) |
Book 1D histogram based on TH1S. More... | |
MonitorElement * | book2D_ (std::string const &dir, std::string const &name, TH2F *h) |
Book 2D histogram based on TH2F. More... | |
MonitorElement * | book2DD_ (std::string const &dir, std::string const &name, TH2D *h) |
Book 2D histogram based on TH2D. More... | |
MonitorElement * | book2S_ (std::string const &dir, std::string const &name, TH2S *h) |
Book 2D histogram based on TH2S. More... | |
MonitorElement * | book3D_ (std::string const &dir, std::string const &name, TH3F *h) |
Book 3D histogram based on TH3F. More... | |
MonitorElement * | book_ (std::string const &dir, std::string const &name, char const *context) |
template<class HISTO , class COLLATE > | |
MonitorElement * | book_ (std::string const &dir, std::string const &name, char const *context, int kind, HISTO *h, COLLATE collate) |
MonitorElement * | bookFloat_ (std::string const &dir, std::string const &name) |
Book float. More... | |
MonitorElement * | bookInt_ (std::string const &dir, std::string const &name) |
Book int. More... | |
MonitorElement * | bookProfile2D_ (std::string const &dir, std::string const &name, TProfile2D *h) |
Book 2D profile histogram based on TProfile2D. More... | |
MonitorElement * | bookProfile_ (std::string const &dir, std::string const &name, TProfile *h) |
Book profile histogram based on TProfile. More... | |
MonitorElement * | bookString_ (std::string const &dir, std::string const &name, std::string const &value) |
Book string. More... | |
bool | cdInto (std::string const &path) const |
bool | extract (TObject *obj, std::string const &dir, bool overwrite, bool collateHistograms) |
TObject * | extractNextObject (TBufferFile &) const |
MonitorElement * | findObject (uint32_t run, uint32_t lumi, uint32_t moduleId, std::string const &dir, std::string const &name) const |
void | forceReset () |
void | get_info (dqmstorepb::ROOTFilePB_Histo const &, std::string &dirname, std::string &objname, TObject **obj) |
MonitorElement * | initialise (MonitorElement *me, std::string const &path) |
void | initializeFrom (const edm::ParameterSet &) |
bool | isCollateME (MonitorElement *me) const |
void | makeDirectory (std::string const &path) |
void | postGlobalBeginLumi (const edm::GlobalContext &) |
void | print_trace (std::string const &dir, std::string const &name) |
unsigned int | readDirectory (TFile *file, bool overwrite, std::string const &path, std::string const &prepend, std::string const &curdir, OpenRunDirs stripdirs) |
bool | readFile (std::string const &filename, bool overwrite=false, std::string const &path="", std::string const &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
bool | readFilePB (std::string const &filename, bool overwrite=false, std::string const &path="", std::string const &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
void | reset () |
void | saveMonitorElementRangeToPB (std::string const &dir, unsigned int run, MEMap::const_iterator begin, MEMap::const_iterator end, dqmstorepb::ROOTFilePB &file, unsigned int &counter) |
void | saveMonitorElementRangeToROOT (std::string const &dir, std::string const &refpath, SaveReferenceTag ref, int minStatus, unsigned int run, MEMap::const_iterator begin, MEMap::const_iterator end, TFile &file, unsigned int &counter) |
void | saveMonitorElementToPB (MonitorElement const &me, dqmstorepb::ROOTFilePB &file) |
void | saveMonitorElementToROOT (MonitorElement const &me, TFile &file) |
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 | canSaveByLumi_ {false} |
bool | collateHistograms_ {false} |
MEMap | data_ |
std::set< std::string > | dirs_ |
bool | doSaveByLumi_ {false} |
bool | enableMultiThread_ {false} |
bool | forceResetOnBeginLumi_ {false} |
bool | LSbasedMode_ |
uint32_t | moduleId_ {} |
std::string | pwd_ {} |
QAMap | qalgos_ |
QCMap | qtests_ |
QTestSpecs | qtestspecs_ |
std::string | readSelectedDirectory_ {} |
bool | reset_ {false} |
uint32_t | run_ {} |
double | scaleFlag_ |
std::unique_ptr< std::ostream > | stream_ {nullptr} |
unsigned | verbose_ {1} |
unsigned | verboseQT_ {1} |
Friends | |
class | DQMArchiver |
class | DQMFileSaver |
class | DQMNet |
class | DQMRootOutputModule |
class | DQMRootSource |
class | DQMService |
class | DQMStoreExample |
class | edm::DQMHttpSource |
class | MEtoEDMConverter |
Definition at line 76 of file DQMStore.h.
|
private |
Definition at line 607 of file DQMStore.h.
|
private |
Definition at line 609 of file DQMStore.h.
|
private |
Definition at line 608 of file DQMStore.h.
|
private |
Definition at line 605 of file DQMStore.h.
|
private |
Definition at line 606 of file DQMStore.h.
Enumerator | |
---|---|
KeepRunDirs | |
StripRunDirs |
Definition at line 83 of file DQMStore.h.
Enumerator | |
---|---|
SaveWithoutReference | |
SaveWithReference | |
SaveWithReferenceForQTest |
Definition at line 78 of file DQMStore.h.
DQMStore::DQMStore | ( | edm::ParameterSet const & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 367 of file DQMStore.cc.
References enableMultiThread_, forceReset(), forceResetOnBeginLumi_, edm::service::SystemBounds::maxNumberOfStreams(), postGlobalBeginLumi(), and muonDTDigis_cfi::pset.
DQMStore::DQMStore | ( | edm::ParameterSet const & | pset | ) |
DQMStore::~DQMStore | ( | ) |
Definition at line 392 of file DQMStore.cc.
References qtests_, and qtestspecs_.
Referenced by meBookerGetter().
|
delete |
MonitorElement * DQMStore::book1D | ( | char_string const & | name, |
char_string const & | title, | ||
int const | nchX, | ||
double const | lowX, | ||
double const | highX | ||
) |
Book 1D histogram.
Definition at line 1098 of file DQMStore.cc.
References book1D_(), and pwd_.
Referenced by DQMFEDIntegrityClient::beginJob(), ConverterTester::beginJob(), SimplePhotonAnalyzer::beginJob(), StripValidationPlots::beginJob(), APVValidationPlots::beginJob(), MuonAlignment::beginJob(), MEtoMEComparitor::book(), book1DD(), SiStripBaseCondObjDQM::bookCumulMEs(), TrackerOfflineValidationSummary::bookHarvestingHists(), PixelVTXMonitor::bookHistograms(), DQMLumiMonitor::bookHistograms(), SiStripBaseCondObjDQM::bookProfileMEs(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), dqmRegisterHistogram(), HarvestingAnalyzer::endJob(), HLTScalersClient::endLuminosityBlock(), GlobalHitsProdHistStripper::endRun(), SiStripQualityDQM::fillGrandSummaryMEs(), SiStripSummaryCreator::getSummaryME(), HLTScalersClient::HLTScalersClient(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), LaserDQM::initMonitors(), L1ScalersClient::L1ScalersClient(), and MonitorElementsDb::MonitorElementsDb().
MonitorElement* DQMStore::book1D | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize | ||
) |
MonitorElement * DQMStore::book1D | ( | char_string const & | name, |
TH1F * | h | ||
) |
Book 1D histogram by cloning an existing histogram.
Definition at line 1130 of file DQMStore.cc.
References book1D_(), and pwd_.
|
private |
Book 1D histogram based on TH1F.
Definition at line 1077 of file DQMStore.cc.
References book_(), collate1D(), and MonitorElement::DQM_KIND_TH1F.
Referenced by book1D(), book1DD(), and extract().
MonitorElement * DQMStore::book1DD | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1114 of file DQMStore.cc.
References book1D(), book1D_(), book1DD_(), pwd_, and runGCPTkAlMap::title.
Referenced by MEtoMEComparitor::book().
MonitorElement* DQMStore::book1DD | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize | ||
) |
MonitorElement * DQMStore::book1DD | ( | char_string const & | name, |
TH1D * | h | ||
) |
Book 1D double histogram by cloning an existing histogram.
Definition at line 1144 of file DQMStore.cc.
References book1DD_(), and pwd_.
|
private |
Book 1D histogram based on TH1D.
Definition at line 1091 of file DQMStore.cc.
References book_(), collate1DD(), and MonitorElement::DQM_KIND_TH1D.
Referenced by book1DD(), and extract().
MonitorElement * DQMStore::book1S | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 1106 of file DQMStore.cc.
References book1S_(), and pwd_.
Referenced by MEtoMEComparitor::book(), and dqmRegisterHistogram().
MonitorElement* DQMStore::book1S | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize | ||
) |
MonitorElement * DQMStore::book1S | ( | char_string const & | name, |
TH1S * | h | ||
) |
Book 1S histogram by cloning an existing histogram.
Definition at line 1137 of file DQMStore.cc.
References book1S_(), and pwd_.
|
private |
Book 1D histogram based on TH1S.
Definition at line 1084 of file DQMStore.cc.
References book_(), collate1S(), and MonitorElement::DQM_KIND_TH1S.
Referenced by book1S(), and extract().
MonitorElement * DQMStore::book2D | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2D histogram.
Definition at line 1173 of file DQMStore.cc.
References book2D_(), and pwd_.
Referenced by DQMFEDIntegrityClient::beginJob(), ConverterTester::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), MuonAlignment::beginJob(), book2DD(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), dqmRegisterHistogram(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), L1ScalersClient::L1ScalersClient(), and MonitorElementsDb::MonitorElementsDb().
MonitorElement* DQMStore::book2D | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize, | ||
int | nchY, | ||
float const * | ybinsize | ||
) |
MonitorElement * DQMStore::book2D | ( | char_string const & | name, |
TH2F * | h | ||
) |
Book 2D histogram by cloning an existing histogram.
Definition at line 1224 of file DQMStore.cc.
References book2D_(), and pwd_.
|
private |
Book 2D histogram based on TH2F.
Definition at line 1152 of file DQMStore.cc.
References book_(), collate2D(), and MonitorElement::DQM_KIND_TH2F.
Referenced by book2D(), book2DD(), and extract().
MonitorElement * DQMStore::book2DD | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2D histogram.
Definition at line 1195 of file DQMStore.cc.
References book2D(), book2D_(), book2DD_(), book2S(), book2S_(), and pwd_.
MonitorElement* DQMStore::book2DD | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize, | ||
int | nchY, | ||
float const * | ybinsize | ||
) |
MonitorElement * DQMStore::book2DD | ( | char_string const & | name, |
TH2D * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1238 of file DQMStore.cc.
References book2DD_(), and pwd_.
|
private |
Book 2D histogram based on TH2D.
Definition at line 1166 of file DQMStore.cc.
References book_(), collate2DD(), and MonitorElement::DQM_KIND_TH2D.
Referenced by book2DD(), and extract().
MonitorElement * DQMStore::book2S | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
Book 2S histogram.
Definition at line 1184 of file DQMStore.cc.
References book2S_(), and pwd_.
Referenced by book2DD(), and dqmRegisterHistogram().
MonitorElement* DQMStore::book2S | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
float const * | xbinsize, | ||
int | nchY, | ||
float const * | ybinsize | ||
) |
MonitorElement * DQMStore::book2S | ( | char_string const & | name, |
TH2S * | h | ||
) |
Book 2DS histogram by cloning an existing histogram.
Definition at line 1231 of file DQMStore.cc.
References book2S_(), and pwd_.
|
private |
Book 2D histogram based on TH2S.
Definition at line 1159 of file DQMStore.cc.
References book_(), collate2S(), and MonitorElement::DQM_KIND_TH2S.
Referenced by book2DD(), book2S(), and extract().
MonitorElement * DQMStore::book3D | ( | char_string const & | name, |
char_string const & | 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 1253 of file DQMStore.cc.
References book3D_(), and pwd_.
Referenced by ConverterTester::beginJob(), and dqmRegisterHistogram().
MonitorElement * DQMStore::book3D | ( | char_string const & | name, |
TH3F * | h | ||
) |
Book 3D histogram by cloning an existing histogram.
Definition at line 1266 of file DQMStore.cc.
References book3D_(), and pwd_.
|
private |
Book 3D histogram based on TH3F.
Definition at line 1246 of file DQMStore.cc.
References book_(), collate3D(), and MonitorElement::DQM_KIND_TH3F.
Referenced by book3D(), and extract().
|
private |
Definition at line 980 of file DQMStore.cc.
References gather_cfg::cout, data_, dirs_, findObject(), moduleId_, eostools::move(), dataset::name, callgraph::path, print_trace(), run_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by book1D_(), book1DD_(), book1S_(), book2D_(), book2DD_(), book2S_(), book3D_(), bookFloat_(), bookInt_(), bookProfile2D_(), bookProfile_(), and bookString_().
|
private |
Definition at line 904 of file DQMStore.cc.
References MonitorElement::addQReport(), canSaveByLumi_, collateHistograms_, gather_cfg::cout, MonitorElement::data_, data_, dir, dirs_, doSaveByLumi_, DQMNet::DQM_PROP_HAS_REFERENCE, findObject(), DQMNet::CoreObject::flags, h, initialise(), callgraph::kind, moduleId_, eostools::move(), dataset::name, MonitorElement::object_, callgraph::path, print_trace(), lumiQueryAPI::q, qtestspecs_, MonitorElement::reference_, MonitorElement::Reset(), run_, MonitorElement::setLumiFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
|
inline |
Definition at line 266 of file DQMStore.h.
References book_mutex_, enableMultiThread_, f, writedatasetfile::run, and run_.
MonitorElement * DQMStore::bookFloat | ( | char_string const & | name | ) |
Book float.
Definition at line 1048 of file DQMStore.cc.
References bookFloat_(), and pwd_.
Referenced by DQMFEDIntegrityClient::beginJob(), ConverterTester::beginJob(), DQMDaqInfo::beginJob(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), EgHLTOfflineSummaryClient::runClient_(), and DQMFileSaver::saveForOffline().
|
private |
Book float.
Definition at line 1035 of file DQMStore.cc.
References book_(), collateHistograms_, MonitorElement::DQM_KIND_REAL, MonitorElement::Fill(), findObject(), MonitorElement::initialise(), moduleId_, and run_.
Referenced by bookFloat(), and extract().
MonitorElement * DQMStore::bookInt | ( | char_string const & | name | ) |
Book int.
Definition at line 1027 of file DQMStore.cc.
References bookInt_(), and pwd_.
Referenced by SiStripDcsInfo::addBadModules(), ConverterTester::beginJob(), FineDelayTask::book(), SiStripQualityChecker::fillFaultyModuleStatus(), and SiStripDaqInfo::findExcludedModule().
|
private |
Book int.
Definition at line 1014 of file DQMStore.cc.
References book_(), collateHistograms_, MonitorElement::DQM_KIND_INT, MonitorElement::Fill(), findObject(), MonitorElement::initialise(), moduleId_, and run_.
Referenced by bookInt(), and extract().
MonitorElement * DQMStore::bookProfile | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
char const * | 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 1285 of file DQMStore.cc.
References bookProfile_(), and pwd_.
Referenced by ConverterTester::beginJob(), StripValidationPlots::beginJob(), SiStripLAProfileBooker::beginRun(), DQMLumiMonitor::bookHistograms(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), dqmRegisterHistogram(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), and MonitorElementsDb::MonitorElementsDb().
MonitorElement * DQMStore::bookProfile | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
double | lowY, | ||
double | highY, | ||
char const * | 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 1300 of file DQMStore.cc.
References bookProfile_(), and pwd_.
MonitorElement * DQMStore::bookProfile | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double const * | xbinsize, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
char const * | 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 1315 of file DQMStore.cc.
References bookProfile_(), and pwd_.
MonitorElement * DQMStore::bookProfile | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double const * | xbinsize, | ||
double | lowY, | ||
double | highY, | ||
char const * | 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 1330 of file DQMStore.cc.
References bookProfile_(), and pwd_.
MonitorElement * DQMStore::bookProfile | ( | char_string const & | name, |
TProfile * | h | ||
) |
Book TProfile by cloning an existing profile.
Definition at line 1343 of file DQMStore.cc.
References bookProfile_(), and pwd_.
MonitorElement * DQMStore::bookProfile2D | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
double | lowZ, | ||
double | highZ, | ||
char const * | 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 1379 of file DQMStore.cc.
References bookProfile2D_(), and pwd_.
Referenced by ConverterTester::beginJob(), DQMLumiMonitor::bookHistograms(), dqmRegisterHistogram(), and MonitorElementsDb::MonitorElementsDb().
MonitorElement * DQMStore::bookProfile2D | ( | char_string const & | name, |
char_string const & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY, | ||
int | nchZ, | ||
double | lowZ, | ||
double | highZ, | ||
char const * | 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 1362 of file DQMStore.cc.
References bookProfile2D_(), and pwd_.
MonitorElement * DQMStore::bookProfile2D | ( | char_string const & | name, |
TProfile2D * | h | ||
) |
Book TProfile2D by cloning an existing profile.
Definition at line 1394 of file DQMStore.cc.
References bookProfile2D_(), and pwd_.
|
private |
Book 2D profile histogram based on TProfile2D.
Definition at line 1351 of file DQMStore.cc.
References book_(), collateProfile2D(), and MonitorElement::DQM_KIND_TPROFILE2D.
Referenced by bookProfile2D(), and extract().
|
private |
Book profile histogram based on TProfile.
Definition at line 1274 of file DQMStore.cc.
References book_(), collateProfile(), and MonitorElement::DQM_KIND_TPROFILE.
Referenced by bookProfile(), and extract().
MonitorElement * DQMStore::bookString | ( | char_string const & | name, |
char_string const & | value | ||
) |
Book string.
Definition at line 1069 of file DQMStore.cc.
References bookString_(), and pwd_.
Referenced by DQMFileReader::beginJob(), ConverterTester::beginJob(), and DQMFileSaver::saveForOffline().
|
private |
Book string.
Definition at line 1056 of file DQMStore.cc.
References book_(), collateHistograms_, MonitorElement::DQM_KIND_STRING, findObject(), MonitorElement::initialise(), moduleId_, and run_.
Referenced by bookString(), and extract().
|
inline |
Definition at line 243 of file DQMStore.h.
References book_mutex_, canSaveByLumi_, enableMultiThread_, f, moduleId_, writedatasetfile::run, and run_.
void DQMStore::cd | ( | ) |
go to top directory (ie. root)
Definition at line 546 of file DQMStore.cc.
References setCurrentFolder().
Referenced by SiStripDcsInfo::addBadModules(), DQMFileReader::beginJob(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDcsInfo::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripTrackerMapCreator::createForOffline(), SiStripTrackerMapCreator::createInfoFile(), SiStripSummaryCreator::createSummary(), SiStripActionExecutor::createSummary(), SiStripActionExecutor::createSummaryOffline(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), SiStripDaqInfo::findExcludedModule(), dqm_interfaces.DQMcommunicator::get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_recursive(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getModuleFolderList(), SiStripBadModuleFedErrESSource::getProcessedEvents(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripActionExecutor::printFaultyModuleList(), readFilePB(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and dqm_interfaces.DirWalkerFile::walk().
void DQMStore::cd | ( | std::string const & | subdir | ) |
cd to subdirectory (if there)
Definition at line 553 of file DQMStore.cc.
References clean, dirExists(), raiseDQMError(), setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqm_interfaces.DQMcommunicator::get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_recursive(), and dqm_interfaces.DirWalkerFile::walk().
|
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 2314 of file DQMStore.cc.
References end, connectstrParser::o, raiseDQMError(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by save().
|
staticprivate |
Definition at line 1403 of file DQMStore.cc.
References MonitorElement::CheckBinLabels(), gather_cfg::cout, MonitorElement::getFullname(), and MonitorElement::getTH1().
Referenced by collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateProfile(), collateProfile2D(), utils.BinToBin::do_test(), and utils.BinToBin1percent::do_test().
void DQMStore::cloneLumiHistograms | ( | uint32_t | run, |
uint32_t | lumi, | ||
uint32_t | moduleId | ||
) |
Clone the lumisection-based histograms from the 'global' ones (which have lumi = 0) into per-lumi ones (with the lumi number) and reset the global ones. The per-lumi histograms can be saved by the output modules, and will be deleted at the beginninng of the next lumisection.
Definition at line 1920 of file DQMStore.cc.
References book_mutex_, clone(), gather_cfg::cout, data_, MillePedeFileConverter_cfg::e, mps_fire::i, LSbasedMode_, eostools::move(), HcalObjRepresent::Reset(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
void DQMStore::cloneRunHistograms | ( | uint32_t | run, |
uint32_t | moduleId | ||
) |
Same as above, but for run histograms.
Definition at line 1962 of file DQMStore.cc.
References book_mutex_, clone(), gather_cfg::cout, data_, MillePedeFileConverter_cfg::e, mps_fire::i, LSbasedMode_, eostools::move(), or, HcalObjRepresent::Reset(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
|
staticprivate |
Definition at line 1429 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1F().
Referenced by book1D_(), and extract().
|
staticprivate |
Definition at line 1443 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1D().
Referenced by book1DD_(), and extract().
|
staticprivate |
Definition at line 1436 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1S().
Referenced by book1S_(), and extract().
|
staticprivate |
Definition at line 1450 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2F().
Referenced by book2D_(), and extract().
|
staticprivate |
Definition at line 1464 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2D().
Referenced by book2DD_(), and extract().
|
staticprivate |
Definition at line 1457 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2S().
Referenced by book2S_(), and extract().
|
staticprivate |
Definition at line 1471 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH3F().
Referenced by book3D_(), and extract().
|
staticprivate |
Definition at line 1478 of file DQMStore.cc.
References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile().
Referenced by bookProfile_(), and extract().
|
staticprivate |
Definition at line 1487 of file DQMStore.cc.
References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile2D().
Referenced by bookProfile2D_(), and extract().
bool DQMStore::containsAnyMonitorable | ( | std::string const & | path | ) | const |
true if directory (or any subfolder at any level below it) contains at least one monitorable element
Definition at line 1603 of file DQMStore.cc.
References data_, MillePedeFileConverter_cfg::e, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DQMStore::IGetter::removeElement().
QCriterion * DQMStore::createQTest | ( | std::string const & | algoname, |
std::string const & | 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 3163 of file DQMStore.cc.
References mps_fire::i, qalgos_, qtests_, raiseDQMError(), QCriterion::setVerbose(), and verboseQT_.
Referenced by QTestConfigure::EnableCheckVarianceTest(), QTestConfigure::EnableComp2Ref2DChi2Test(), QTestConfigure::EnableComp2RefChi2Test(), QTestConfigure::EnableComp2RefEqualHTest(), QTestConfigure::EnableComp2RefKolmogorovTest(), QTestConfigure::EnableCompareLastFilledBinTest(), QTestConfigure::EnableCompareToMedianTest(), QTestConfigure::EnableContentSigmaTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), and QTestConfigure::EnableYRangeTest().
void DQMStore::deleteUnusedLumiHistograms | ( | uint32_t | run, |
uint32_t | lumi | ||
) |
Delete global histograms which are no longer in use. Such histograms are created at the end of each lumi and should be deleted after the last globalEndLuminosityBlock.
Definition at line 2005 of file DQMStore.cc.
References book_mutex_, gather_cfg::cout, data_, MillePedeFileConverter_cfg::e, enableMultiThread_, mps_fire::i, MonitorElement::setLumi(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by DQMFileSaver::globalEndLuminosityBlock().
bool DQMStore::dirExists | ( | std::string const & | path | ) | const |
true if directory exists
Definition at line 635 of file DQMStore.cc.
References dirs_.
Referenced by cd(), SiStripActionExecutor::createSummary(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripBadModuleFedErrESSource::getProcessedEvents(), SiStripUtility::getTopFolderPath(), SiStripActionExecutor::printFaultyModuleList(), scaleElements(), and SiStripTrackerMapCreator::setTkMapFromHistogram().
void DQMStore::disableSoftReset | ( | MonitorElement * | me | ) |
Definition at line 3288 of file DQMStore.cc.
References MonitorElement::disableSoftReset().
Referenced by ecaldqm::MESet::recoverStats().
|
private |
extract object (TH1F, TH2F, ...) from <to>; return success flag flag fromRemoteNode indicating if ME arrived from different node
Definition at line 2047 of file DQMStore.cc.
References MonitorElement::addQReport(), DQMNet::QValue::algorithm, book1D_(), book1DD_(), book1S_(), book2D_(), book2DD_(), book2S_(), book3D_(), bookFloat_(), bookInt_(), bookProfile2D_(), bookProfile_(), bookString_(), DQMNet::QValue::code, collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateHistograms_, collateProfile(), collateProfile2D(), MonitorElement::copyFrom(), gather_cfg::cout, dot(), DQMNet::DQM_PROP_HAS_REFERENCE, MonitorElement::Fill(), findObject(), h, isCollateME(), callgraph::kind, label, funct::m, funct::master(), DQMNet::QValue::message, gen::n, MonitorElement::object_, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, alignCSCRings::s, s_rxmeval(), MonitorElement::setEfficiencyFlag(), AlCaHLTBitMon_QueryRunRegistry::string, tag(), heppy_batch::val, and verbose_.
Referenced by readDirectory(), and readFilePB().
|
inlineprivate |
Extract the next serialised ROOT object from buf. Returns null if there are no more objects in the buffer, or a null pointer was serialised at this location.
Definition at line 2974 of file DQMStore.cc.
Referenced by get_info().
|
private |
get MonitorElement <name> in directory <dir> (null if MonitorElement does not exist)
Definition at line 1739 of file DQMStore.cc.
References MonitorElement::data_, data_, dir, DQMNet::CoreObject::dirname, csvLumiCalc::lumi, DQMNet::CoreObject::lumi, DQMNet::CoreObject::moduleId, dataset::name, DQMNet::CoreObject::objname, raiseDQMError(), writedatasetfile::run, and DQMNet::CoreObject::run.
Referenced by book_(), bookFloat_(), bookInt_(), bookString_(), extract(), makeDirectory(), readFilePB(), and tag().
|
private |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.
Definition at line 1864 of file DQMStore.cc.
References data_, forceResetOnBeginLumi_, funct::m, MonitorElement::Reset(), and reset_.
Referenced by DQMStore().
MonitorElement * DQMStore::get | ( | std::string const & | path | ) | const |
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition at line 1613 of file DQMStore.cc.
References data_, dir, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), SiStripDcsInfo::addBadModules(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), SiStripActionExecutor::createShiftReport(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), dqmCopyRecursively(), HarvestingAnalyzer::endJob(), MuonAlignment::endJob(), L1ScalersClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), TauDQMHistPlotter::endRun(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripQualityChecker::fillFaultyModuleStatus(), DQMFEDIntegrityClient::fillHistograms(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), PFDQMEventSelector::filter(), SiStripDaqInfo::findExcludedModule(), betterConfigParser.BetterConfigParser::getCompares(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), betterConfigParser.BetterConfigParser::getGeneral(), SiStripQualityChecker::getModuleStatus(), SiStripBadModuleFedErrESSource::getProcessedEvents(), betterConfigParser.BetterConfigParser::getResultingSection(), SiStripHistoPlotter::makePlot(), SiStripActionExecutor::printShiftHistoParameters(), QTestStatusChecker::processAlarms(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), EgHLTOfflineSummaryClient::runClient_(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
std::vector< MonitorElement * > DQMStore::get | ( | unsigned int | tag | ) | const |
get all MonitorElements tagged as <tag>
Definition at line 1626 of file DQMStore.cc.
References data_, DQMNet::DQM_PROP_TAGGED, and mps_fire::result.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
private |
Definition at line 2983 of file DQMStore.cc.
References extractNextObject(), dqmstorepb::ROOTFilePB_Histo::full_pathname(), raiseDQMError(), dqmstorepb::ROOTFilePB_Histo::size(), pickleFileParser::slash, and dqmstorepb::ROOTFilePB_Histo::streamed_histo().
Referenced by readFilePB().
std::vector< MonitorElement * > DQMStore::getAllContents | ( | std::string const & | 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 1767 of file DQMStore.cc.
References clean, data_, MillePedeFileConverter_cfg::e, enableMultiThread_, mps_fire::i, or, mps_fire::result, MonitorElement::setLumi(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), SiStripQualityHotStripIdentifierRoot::bookHistos(), StatisticsFilter::filter(), DQMStore::IGetter::removeElement(), DQMRootOutputModule::writeLuminosityBlock(), and DQMRootOutputModule::writeRun().
std::vector< MonitorElement * > DQMStore::getContents | ( | std::string const & | path | ) | const |
get vector with all children of folder (does NOT include contents of subfolders)
Definition at line 1640 of file DQMStore.cc.
References clean, data_, MillePedeFileConverter_cfg::e, mps_fire::i, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), QTestStatusChecker::fullPathNames(), SiStripSummaryCreator::getSummaryME(), SiStripHistoPlotter::makeCondDBPlots(), SiStripActionExecutor::printFaultyModuleList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and showDirStructure().
std::vector< MonitorElement * > DQMStore::getContents | ( | std::string const & | path, |
unsigned int | tag | ||
) | const |
same as above for tagged MonitorElements
Definition at line 1659 of file DQMStore.cc.
References clean, data_, DQMNet::DQM_PROP_TAGGED, MillePedeFileConverter_cfg::e, mps_fire::i, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and tag().
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 1683 of file DQMStore.cc.
References data_, dir, dirs_, funct::m, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< MonitorElement * > DQMStore::getMatchingContents | ( | std::string const & | 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 1813 of file DQMStore.cc.
References data_, MillePedeFileConverter_cfg::e, callgraph::path, raiseDQMError(), mps_fire::result, corrVsCorr::rx, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EgHLTOfflineSummaryClient::getQTestResults_(), and DQMFileSaver::saveForOnline().
std::vector< std::string > DQMStore::getMEs | ( | ) | const |
get list of (non-dir) MEs of current directory
Definition at line 1587 of file DQMStore.cc.
References data_, MillePedeFileConverter_cfg::e, mps_fire::i, pwd_, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmCopyRecursively(), and DQMStore::IGetter::removeElement().
QCriterion * DQMStore::getQCriterion | ( | std::string const & | qtname | ) | const |
get QCriterion corresponding to <qtname> (null pointer if QCriterion does not exist)
Definition at line 3152 of file DQMStore.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, and qtests_.
Referenced by QTestConfigure::EnableCheckVarianceTest(), QTestConfigure::EnableComp2Ref2DChi2Test(), QTestConfigure::EnableComp2RefChi2Test(), QTestConfigure::EnableComp2RefEqualHTest(), QTestConfigure::EnableComp2RefKolmogorovTest(), QTestConfigure::EnableCompareLastFilledBinTest(), QTestConfigure::EnableCompareToMedianTest(), QTestConfigure::EnableContentSigmaTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), QTestConfigure::EnableYRangeTest(), and useQTestByMatch().
int DQMStore::getStatus | ( | std::string const & | 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 3252 of file DQMStore.cc.
References clean, data_, dqm::qstatus::ERROR, dqm::qstatus::OTHER, mps_update::status, dqm::qstatus::STATUS_OK, AlCaHLTBitMon_QueryRunRegistry::string, and dqm::qstatus::WARNING.
Referenced by QTestStatusChecker::checkGlobalStatus().
std::vector< std::string > DQMStore::getSubdirs | ( | ) | const |
get list of subdirectories of current directory
Definition at line 1564 of file DQMStore.cc.
References dirs_, MillePedeFileConverter_cfg::e, mps_fire::i, pwd_, and mps_fire::result.
Referenced by SiStripSummaryCreator::createSummary(), dqmCopyRecursively(), TauDQMFileLoader::endRun(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), SiStripUtility::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::goToDir(), DQMStore::IGetter::removeElement(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), and SiStripTrackerMapCreator::setTkMapFromHistogram().
void DQMStore::goUp | ( | ) |
equivalent to "cd .."
Definition at line 582 of file DQMStore.cc.
References pwd_, and setCurrentFolder().
Referenced by SiStripSummaryCreator::createSummary(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripSummaryCreator::fillSummaryHistos(), SiStripUtility::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::goToDir(), and meBookerGetter().
|
private |
Referenced by book_().
|
private |
Definition at line 402 of file DQMStore.cc.
References collateHistograms_, gather_cfg::cout, doSaveByLumi_, enableMultiThread_, edm::ParameterSet::getUntrackedParameter(), LSbasedMode_, makeDirectory(), qalgos_, readFile(), reset(), scaleFlag_, AlCaHLTBitMon_QueryRunRegistry::string, StripRunDirs, verbose_, and verboseQT_.
Referenced by DQMStore().
bool DQMStore::isCollate | ( | ) | const |
|
private |
Definition at line 3336 of file DQMStore.cc.
References MonitorElement::data_, and DQMNet::CoreObject::dirname.
Referenced by extract().
bool DQMStore::load | ( | std::string const & | 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 2898 of file DQMStore.cc.
References collateHistograms_, gather_cfg::cout, readFile(), readFilePB(), and verbose_.
Referenced by DQMFileReader::beginJob().
|
private |
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition at line 595 of file DQMStore.cc.
References dirs_, findObject(), dataset::name, raiseDQMError(), pickleFileParser::slash, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initializeFrom(), readDirectory(), and setCurrentFolder().
|
inline |
Definition at line 288 of file DQMStore.h.
References hippyaddtobaddatafiles::cd(), CommonMethods::dirExists(), fastjetJetProducer_validation_cfg::DQMStore, f, goUp(), hcalDigis_cfi::level, callgraph::path, muonDTDigis_cfi::pset, alignCSCRings::pwd, setCurrentFolder(), setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, and ~DQMStore().
Referenced by DQMEDHarvester::endJob(), DQMEDHarvester::endLuminosityBlock(), TkHistoMap::loadTkHistoMap(), and TkHistoMap::TkHistoMap().
|
inline |
Definition at line 477 of file DQMStore.h.
References estimatePileup2::algoname, HGCalValidator_cff::collateHistograms, dir, compare_using_db::dirname, fastjetJetProducer_validation_cfg::DQMStore, extract(), extractNextObject(), FrontierConditions_GlobalTag_cff::file, corrVsCorr::filename, RemoveAddSevLevel::flag, get_info(), h, callgraph::kind, dataset::name, hgcalPlots::obj, listBenchmarks::pattern, reset(), writedatasetfile::run, convertSQLiteXML::runNumber, and AlCaHLTBitMon_QueryRunRegistry::string.
bool DQMStore::open | ( | std::string const & | filename, |
bool | overwrite = false , |
||
std::string const & | onlypath = "" , |
||
std::string const & | 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 2883 of file DQMStore.cc.
References readFile().
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), DQMFileReader::beginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), EcalCondDBWriter::EcalCondDBWriter(), TauDQMFileLoader::endRun(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::importConfig(), PFDQMEventSelector::openInputFile(), SiStripOfflineDQM::openInputFile(), BuildTrackerMapPlugin::read(), readFilePB(), savePB(), SiStripQualityHotStripIdentifierRoot::SiStripQualityHotStripIdentifierRoot(), and StatisticsFilter::StatisticsFilter().
|
private |
Called after all globalBeginLuminosityBlock. Reset global per-lumi MEs (or all MEs if LSbasedMode) so that they can be reused.
Definition at line 1886 of file DQMStore.cc.
References begin, data_, MillePedeFileConverter_cfg::e, end, mps_fire::i, LSbasedMode_, edm::GlobalContext::luminosityBlockID(), MonitorElement::Reset(), writedatasetfile::run, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DQMStore().
|
private |
Definition at line 468 of file DQMStore.cc.
References mps_check::array, symbols::demangled, mps_fire::i, hcalDigis_cfi::level, funct::m, alignCSCRings::r, findQualityFiles::size, stream_, nano_cff::strings, and verbose_.
Referenced by book_().
std::string const & DQMStore::pwd | ( | ) | const |
return pathname of current directory
Definition at line 539 of file DQMStore.cc.
References pwd_.
Referenced by SiStripDcsInfo::addBadModules(), FineDelayTask::book(), LatencyTask::book(), SiStripTrackerMapCreator::createForOffline(), SiStripTrackerMapCreator::createInfoFile(), SiStripSummaryCreator::createSummary(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripSummaryCreator::fillSummaryHistos(), SiStripDaqInfo::findExcludedModule(), SiStripUtility::getModuleFolderList(), SiStripQualityChecker::getModuleStatus(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripActionExecutor::printFaultyModuleList(), and SiStripTrackerMapCreator::setTkMapFromHistogram().
|
private |
read ROOT objects from file <file> in directory <onlypath>; return total # of ROOT objects read
Definition at line 2737 of file DQMStore.cc.
References collateHistograms_, KineDebug3::count(), gather_cfg::cout, extract(), crabWrapper::key, makeDirectory(), GetRecoTauVFromDQM_MC_cff::next, hgcalPlots::obj, raiseDQMError(), createPayload::skip, AlCaHLTBitMon_QueryRunRegistry::string, StripRunDirs, and verbose_.
Referenced by readFile().
|
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 2925 of file DQMStore.cc.
References gather_cfg::cout, data_, cppFunctionSkipper::exception, f, gen::n, raiseDQMError(), readDirectory(), and verbose_.
Referenced by initializeFrom(), load(), Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), Vispa.Main.TabController.TabController::open(), open(), and Vispa.Main.TabController.TabController::refresh().
|
private |
Definition at line 3004 of file DQMStore.cc.
References cd(), gather_cfg::cout, MonitorElement::data_, DQMNet::DQM_PROP_LUMI, extract(), groupFilesInBlocks::fin, findObject(), DQMNet::CoreObject::flags, dqmstorepb::ROOTFilePB_Histo::flags(), get_info(), h, dqmstorepb::ROOTFilePB::histo(), dqmstorepb::ROOTFilePB::histo_size(), mps_fire::i, input, hgcalPlots::obj, open(), callgraph::path, raiseDQMError(), setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by load().
void DQMStore::removeContents | ( | ) |
erase all monitoring elements in current directory (not including subfolders);
Definition at line 3118 of file DQMStore.cc.
References pwd_.
void DQMStore::removeContents | ( | std::string const & | dir | ) |
remove all monitoring elements from directory;
Definition at line 3104 of file DQMStore.cc.
References data_, MillePedeFileConverter_cfg::e, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
void DQMStore::removeElement | ( | std::string const & | name | ) |
erase monitoring element in current directory (opposite of book1D,2D,etc. action);
Definition at line 3126 of file DQMStore.cc.
References pwd_.
Referenced by MonitorElementsDb::endJob(), and TrackerOfflineValidationSummary::fillTree().
void DQMStore::removeElement | ( | std::string const & | dir, |
std::string const & | name, | ||
bool | warning = true |
||
) |
remove monitoring element from directory; if warning = true, print message if element does not exist
Definition at line 3134 of file DQMStore.cc.
References gather_cfg::cout, and data_.
|
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 1844 of file DQMStore.cc.
References data_, funct::m, MonitorElement::Reset(), and reset_.
Referenced by DQMService::flushStandalone(), and initializeFrom().
void DQMStore::rmdir | ( | std::string const & | path | ) |
delete directory and all contents; delete directory (all contents + subfolders);
Definition at line 3084 of file DQMStore.cc.
References clean, data_, dirs_, MillePedeFileConverter_cfg::e, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmCopyRecursively().
void DQMStore::runQTests | ( | ) |
run quality tests (also finds updated contents in last monitoring cycle, including newly added content)
Definition at line 3233 of file DQMStore.cc.
References gather_cfg::cout, data_, reset_, and verbose_.
void DQMStore::save | ( | std::string const & | filename, |
std::string const & | path = "" , |
||
std::string const & | pattern = "" , |
||
std::string const & | rewrite = "" , |
||
uint32_t | run = 0 , |
||
uint32_t | lumi = 0 , |
||
SaveReferenceTag | ref = SaveWithReference , |
||
int | minStatus = dqm::qstatus::STATUS_OK , |
||
std::string const & | fileupdate = "RECREATE" |
||
) |
save directory with monitoring objects into protobuf file <filename>; if directory="", save full monitoring structure
Definition at line 2465 of file DQMStore.cc.
References begin, book_mutex_, cdInto(), gather_cfg::cout, data_, dirs_, enableMultiThread_, end, f, FrontierConditions_GlobalTag_cff::file, LSbasedMode_, callgraph::path, raiseDQMError(), python.rootplot.root2matplotlib::replace(), saveMonitorElementRangeToROOT(), MonitorElement::setLumi(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by Vispa.Main.TabController.TabController::allowClose(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), doSaveForOnline(), TauDQMSimpleFileSaver::endJob(), SiStripDigiValid::endJob(), TrackingTruthValid::endJob(), SiPixelDigiValid::endJob(), LaserDQM::endJob(), TrackerHitAnalyzer::endJob(), SiStripLAProfileBooker::endJob(), dEdxAnalyzer::endJob(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), TrackEfficiencyMonitor::endJob(), LogMessageMonitor::endJob(), MuonAlignment::endJob(), SiStripMonitorQuality::endRun(), SiStripMonitorRawData::endRun(), SiStripMonitorPedestals::endRun(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), TkHistoMap::save(), DQMFileSaver::saveForFilterUnit(), DQMFileSaver::saveForOffline(), GlobalHitsProdHistStripper::~GlobalHitsProdHistStripper(), and SiPixelTrackingRecHitsValid::~SiPixelTrackingRecHitsValid().
|
private |
Definition at line 2604 of file DQMStore.cc.
References counter, gather_cfg::cout, saveMonitorElementToPB(), and verbose_.
Referenced by savePB().
|
private |
Definition at line 2385 of file DQMStore.cc.
References counter, gather_cfg::cout, funct::master(), SiStripPI::max, or, saveMonitorElementToROOT(), SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest, mps_update::status, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by save().
|
private |
Definition at line 2576 of file DQMStore.cc.
References dqmstorepb::ROOTFilePB::add_histo(), edmScanValgrind::buffer, MonitorElement::data_, DQMNet::CoreObject::dirname, MonitorElement::DQM_KIND_TH1F, DQMNet::CoreObject::flags, trackerHits::histo, MonitorElement::kind(), resolutioncreator_cfi::object, MonitorElement::object_, DQMNet::CoreObject::objname, dqmstorepb::ROOTFilePB_Histo::set_flags(), dqmstorepb::ROOTFilePB_Histo::set_full_pathname(), dqmstorepb::ROOTFilePB_Histo::set_size(), dqmstorepb::ROOTFilePB_Histo::set_streamed_histo(), and MonitorElement::tagString().
Referenced by saveMonitorElementRangeToPB().
|
private |
Definition at line 2356 of file DQMStore.cc.
References MonitorElement::data_, DQMNet::CoreObject::dirname, MonitorElement::DQM_KIND_TH1F, DQMNet::DQM_PROP_EFFICIENCY_PLOT, DQMNet::DQM_PROP_TAGGED, MonitorElement::effLabelString(), DQMNet::CoreObject::flags, MonitorElement::kind(), MonitorElement::object_, DQMNet::CoreObject::qreports, MonitorElement::qualityTagString(), edmIntegrityCheck::report, MonitorElement::tagLabelString(), and MonitorElement::tagString().
Referenced by saveMonitorElementRangeToROOT().
void DQMStore::savePB | ( | std::string const & | filename, |
std::string const & | path = "" , |
||
uint32_t | run = 0 , |
||
uint32_t | lumi = 0 |
||
) |
save directory with monitoring objects into protobuf file <filename>; if directory="", save full monitoring structure
Definition at line 2650 of file DQMStore.cc.
References begin, book_mutex_, gather_cfg::cout, data_, dirs_, enableMultiThread_, end, LSbasedMode_, open(), AlcaSiPixelAliHarvester0T_cff::options, saveMonitorElementRangeToPB(), MonitorElement::setLumi(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
Referenced by doSaveForOnline(), DQMFileSaver::saveForFilterUnit(), and DQMFileSaver::saveForOfflinePB().
void DQMStore::scaleElements | ( | ) |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.
Definition at line 3347 of file DQMStore.cc.
References gather_cfg::cout, data_, dirExists(), MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, MonitorElement::DQM_KIND_TH3F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, PatBasicFWLiteAnalyzer::events, MonitorElement::getFloatValue(), MonitorElement::getIntValue(), MonitorElement::kind(), funct::m, scaleFlag_, and verbose_.
|
private |
if true, will accumulate ME contents (over many periods) until method is called with flag = false again
Definition at line 3297 of file DQMStore.cc.
References MonitorElement::setAccumulate().
void DQMStore::setCurrentFolder | ( | std::string const & | 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 571 of file DQMStore.cc.
References clean, makeDirectory(), pwd_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripDcsInfo::addBadModules(), DQMFileReader::beginJob(), L1ScalersClient::beginJob(), DQMFEDIntegrityClient::beginJob(), ConverterTester::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), DQMDaqInfo::beginJob(), MuonAlignment::beginJob(), HLTScalersClient::beginJob(), LatencyTask::book(), FineDelayTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), MEtoMEComparitor::book(), TrackerOfflineValidationSummary::bookHarvestingHists(), PixelVTXMonitor::bookHistograms(), DQMLumiMonitor::bookHistograms(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDcsInfo::bookStatus(), SiStripDaqInfo::bookStatus(), cd(), dqmCopyRecursively(), HarvestingAnalyzer::endJob(), HLTScalersClient::endLuminosityBlock(), TauDQMFileLoader::endRun(), GlobalHitsProdHistStripper::endRun(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerOfflineValidationSummary::fillTree(), SiStripDaqInfo::findExcludedModule(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), goUp(), HLTScalersClient::HLTScalersClient(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), LaserDQM::initMonitors(), L1ScalersClient::L1ScalersClient(), meBookerGetter(), MonitorElementsDb::MonitorElementsDb(), readFilePB(), DQMStore::IGetter::removeElement(), EgHLTOfflineSummaryClient::runClient_(), DQMFileSaver::saveForOffline(), SiStripFolderOrganizer::setDetectorFolder(), SiPixelFolderOrganizer::setFedFolder(), SiStripFolderOrganizer::setLayerFolder(), SiPixelFolderOrganizer::setModuleFolder(), SiStripFolderOrganizer::setSiStripControlFolder(), SiStripFolderOrganizer::setSiStripFolder(), and SiStripFolderOrganizer::setSiStripTopControlFolder().
void DQMStore::setVerbose | ( | unsigned | level | ) |
set verbose level (0 turns all non-error messages off)
Definition at line 531 of file DQMStore.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TrackerHitAnalyzer::bookHistograms(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), HLTScalersClient::HLTScalersClient(), meBookerGetter(), and SiStripQualityHotStripIdentifierRoot::SiStripQualityHotStripIdentifierRoot().
void DQMStore::showDirStructure | ( | ) | const |
Definition at line 3307 of file DQMStore.cc.
References relmon_rootfiles_spy::contents, popcon2dropbox::copy(), gather_cfg::cout, and getContents().
Referenced by TrackerHitAnalyzer::bookHistograms(), EcalBarrelMonitorDbModule::EcalBarrelMonitorDbModule(), dEdxAnalyzer::endJob(), LogMessageMonitor::endJob(), HLTScalersClient::endLuminosityBlock(), TauDQMFileLoader::endRun(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), and LaserDQM::initMonitors().
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 3280 of file DQMStore.cc.
References MonitorElement::softReset().
Referenced by ecaldqm::MESet::softReset().
void DQMStore::tag | ( | MonitorElement * | me, |
unsigned int | myTag | ||
) |
tag ME as <myTag> (myTag > 0)
Definition at line 1500 of file DQMStore.cc.
References MonitorElement::data_, DQMNet::DQM_PROP_TAGGED, DQMNet::CoreObject::flags, MonitorElement::getFullname(), raiseDQMError(), and DQMNet::CoreObject::tag.
Referenced by ConverterTester::beginJob(), SiStripBaseCondObjDQM::bookCumulMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), extract(), getContents(), tag(), tagAllContents(), and tagContents().
void DQMStore::tag | ( | std::string const & | path, |
unsigned int | myTag | ||
) |
tag ME specified by full pathname (e.g. "my/long/dir/my_histo")
Definition at line 1515 of file DQMStore.cc.
References dir, findObject(), dataset::name, raiseDQMError(), AlCaHLTBitMon_QueryRunRegistry::string, and tag().
void DQMStore::tagAllContents | ( | std::string const & | 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 1543 of file DQMStore.cc.
References clean, data_, MillePedeFileConverter_cfg::e, mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and tag().
void DQMStore::tagContents | ( | std::string const & | path, |
unsigned int | myTag | ||
) |
tag all children of folder (does NOT include subfolders)
Definition at line 1531 of file DQMStore.cc.
References data_, MillePedeFileConverter_cfg::e, mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and tag().
void DQMStore::useQTest | ( | std::string const & | dir, |
std::string const & | qtname | ||
) |
attach quality test <qtname> to directory contents (need exact pathname without wildcards, e.g. A/B/C);
Definition at line 3184 of file DQMStore.cc.
References clean, raiseDQMError(), AlCaHLTBitMon_QueryRunRegistry::string, and useQTestByMatch().
int DQMStore::useQTestByMatch | ( | std::string const & | pattern, |
std::string const & | qtname | ||
) |
attach quality test <qc> to monitor elements matching <pattern>.
Definition at line 3202 of file DQMStore.cc.
References data_, getQCriterion(), callgraph::path, qtestspecs_, raiseDQMError(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by QTestHandle::attachTests(), and useQTest().
|
friend |
Definition at line 662 of file DQMStore.h.
|
friend |
Definition at line 666 of file DQMStore.h.
|
friend |
Definition at line 661 of file DQMStore.h.
|
friend |
Definition at line 664 of file DQMStore.h.
|
friend |
Definition at line 665 of file DQMStore.h.
|
friend |
Definition at line 660 of file DQMStore.h.
|
friend |
Definition at line 663 of file DQMStore.h.
|
friend |
Definition at line 659 of file DQMStore.h.
|
friend |
Definition at line 667 of file DQMStore.h.
|
private |
Definition at line 657 of file DQMStore.h.
Referenced by bookConcurrentTransaction(), bookTransaction(), cloneLumiHistograms(), cloneRunHistograms(), deleteUnusedLumiHistograms(), save(), and savePB().
|
private |
Definition at line 644 of file DQMStore.h.
Referenced by book_(), and bookTransaction().
|
private |
Definition at line 636 of file DQMStore.h.
Referenced by book_(), bookFloat_(), bookInt_(), bookString_(), extract(), initializeFrom(), isCollate(), load(), and readDirectory().
|
private |
Definition at line 650 of file DQMStore.h.
Referenced by book_(), cloneLumiHistograms(), cloneRunHistograms(), containsAnyMonitorable(), deleteUnusedLumiHistograms(), findObject(), DQMService::flushStandalone(), forceReset(), get(), getAllContents(), getContents(), getMatchingContents(), getMEs(), getStatus(), postGlobalBeginLumi(), readFile(), removeContents(), removeElement(), reset(), rmdir(), runQTests(), save(), savePB(), scaleElements(), tagAllContents(), tagContents(), and useQTestByMatch().
|
private |
Definition at line 651 of file DQMStore.h.
Referenced by book_(), dirExists(), getContents(), getSubdirs(), makeDirectory(), rmdir(), save(), and savePB().
|
private |
Definition at line 646 of file DQMStore.h.
Referenced by book_(), and initializeFrom().
|
private |
Definition at line 637 of file DQMStore.h.
Referenced by DQMFileSaver::beginJob(), DQMRootOutputModule::beginJob(), bookConcurrentTransaction(), bookTransaction(), deleteUnusedLumiHistograms(), DQMStore(), getAllContents(), initializeFrom(), save(), and savePB().
|
private |
Definition at line 639 of file DQMStore.h.
Referenced by DQMStore(), and forceReset().
|
private |
Definition at line 638 of file DQMStore.h.
Referenced by cloneLumiHistograms(), cloneRunHistograms(), initializeFrom(), postGlobalBeginLumi(), save(), and savePB().
|
private |
Definition at line 642 of file DQMStore.h.
Referenced by book_(), bookFloat_(), bookInt_(), bookString_(), and bookTransaction().
|
private |
Current directory.
Definition at line 649 of file DQMStore.h.
Referenced by book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), bookString(), getMEs(), getSubdirs(), goUp(), pwd(), removeContents(), removeElement(), and setCurrentFolder().
|
private |
Set of all the available quality test algorithms.
Definition at line 654 of file DQMStore.h.
Referenced by createQTest(), and initializeFrom().
|
private |
All the quality tests.
Definition at line 653 of file DQMStore.h.
Referenced by createQTest(), getQCriterion(), and ~DQMStore().
|
private |
Definition at line 655 of file DQMStore.h.
Referenced by book_(), useQTestByMatch(), and ~DQMStore().
|
private |
If non-empty, read from file only selected directory.
Definition at line 640 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 634 of file DQMStore.h.
Referenced by forceReset(), reset(), and runQTests().
|
private |
Definition at line 641 of file DQMStore.h.
Referenced by book_(), bookConcurrentTransaction(), bookFloat_(), bookInt_(), bookString_(), and bookTransaction().
|
private |
Definition at line 635 of file DQMStore.h.
Referenced by initializeFrom(), and scaleElements().
|
private |
Definition at line 647 of file DQMStore.h.
Referenced by print_trace().
|
private |
Universal verbose flag for DQM.
Definition at line 632 of file DQMStore.h.
Referenced by book_(), cloneLumiHistograms(), cloneRunHistograms(), deleteUnusedLumiHistograms(), extract(), initializeFrom(), load(), print_trace(), readDirectory(), readFile(), readFilePB(), runQTests(), save(), saveMonitorElementRangeToPB(), saveMonitorElementRangeToROOT(), savePB(), and scaleElements().
|
private |
Verbose flag for xml-based QTests.
Definition at line 633 of file DQMStore.h.
Referenced by createQTest(), and initializeFrom().