#include <DQMStore.h>
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. | |
MonitorElement * | book1D (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1D histogram. | |
MonitorElement * | book1D (const char *name, const char *title, int nchX, float *xbinsize) |
Book 1D variable bin histogram. | |
MonitorElement * | book1D (const std::string &name, const std::string &title, int nchX, float *xbinsize) |
Book 1D variable bin histogram. | |
MonitorElement * | book1D (const char *name, TH1F *h) |
Book 1D histogram by cloning an existing histogram. | |
MonitorElement * | book1D (const std::string &name, TH1F *h) |
Book 1D histogram by cloning an existing histogram. | |
MonitorElement * | book1DD (const std::string &name, const std::string &title, int nchX, float *xbinsize) |
MonitorElement * | book1DD (const char *name, TH1D *h) |
Book 1D double histogram by cloning an existing histogram. | |
MonitorElement * | book1DD (const std::string &name, TH1D *h) |
Book 1D double histogram by cloning an existing histogram. | |
MonitorElement * | book1DD (const char *name, const char *title, int nchX, double lowX, double highX) |
Book 1S histogram. | |
MonitorElement * | book1DD (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1S histogram. | |
MonitorElement * | book1DD (const char *name, const char *title, int nchX, float *xbinsize) |
MonitorElement * | book1S (const char *name, const char *title, int nchX, double lowX, double highX) |
Book 1S histogram. | |
MonitorElement * | book1S (const char *name, const char *title, int nchX, float *xbinsize) |
MonitorElement * | book1S (const std::string &name, const std::string &title, int nchX, float *xbinsize) |
MonitorElement * | book1S (const char *name, TH1S *h) |
Book 1S histogram by cloning an existing histogram. | |
MonitorElement * | book1S (const std::string &name, TH1S *h) |
Book 1S histogram by cloning an existing histogram. | |
MonitorElement * | book1S (const std::string &name, const std::string &title, int nchX, double lowX, double highX) |
Book 1S histogram. | |
MonitorElement * | book2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D histogram. | |
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. | |
MonitorElement * | book2D (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
Book 2D variable bin histogram. | |
MonitorElement * | book2D (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
Book 2D variable bin histogram. | |
MonitorElement * | book2D (const char *name, TH2F *h) |
Book 2D histogram by cloning an existing histogram. | |
MonitorElement * | book2D (const std::string &name, TH2F *h) |
Book 2D histogram by cloning an existing histogram. | |
MonitorElement * | book2DD (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2D double histogram. | |
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. | |
MonitorElement * | book2DD (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
MonitorElement * | book2DD (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
MonitorElement * | book2DD (const char *name, TH2D *h) |
Book 2DS histogram by cloning an existing histogram. | |
MonitorElement * | book2DD (const std::string &name, TH2D *h) |
Book 2DS histogram by cloning an existing histogram. | |
MonitorElement * | book2S (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
Book 2S histogram. | |
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. | |
MonitorElement * | book2S (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
MonitorElement * | book2S (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize) |
MonitorElement * | book2S (const char *name, TH2S *h) |
Book 2DS histogram by cloning an existing histogram. | |
MonitorElement * | book2S (const std::string &name, TH2S *h) |
Book 2DS histogram by cloning an existing histogram. | |
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. | |
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. | |
MonitorElement * | book3D (const char *name, TH3F *h) |
Book 3D histogram by cloning an existing histogram. | |
MonitorElement * | book3D (const std::string &name, TH3F *h) |
Book 3D histogram by cloning an existing histogram. | |
MonitorElement * | bookFloat (const char *name) |
Book float. | |
MonitorElement * | bookFloat (const std::string &name) |
Book float. | |
MonitorElement * | bookInt (const std::string &name) |
Book int. | |
MonitorElement * | bookInt (const char *name) |
Book int. | |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, double *xbinsize, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const char *name, TProfile *h) |
Book TProfile by cloning an existing profile. | |
MonitorElement * | bookProfile (const std::string &name, TProfile *h) |
Book TProfile by cloning an existing profile. | |
MonitorElement * | bookProfile (const char *name, const char *title, int nchX, double *xbinsize, double lowY, double highY, const char *option="s") |
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, double *xbinsize, int nchY, double lowY, double highY, const char *option="s") |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nchX, double *xbinsize, int nchY, double lowY, double highY, const char *option="s") |
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 std::string &name, TProfile2D *h) |
Book TProfile2D by cloning an existing profile. | |
MonitorElement * | bookProfile2D (const char *name, TProfile2D *h) |
Book TProfile2D by cloning an existing profile. | |
MonitorElement * | bookString (const char *name, const char *value) |
Book string. | |
MonitorElement * | bookString (const std::string &name, const std::string &value) |
Book string. | |
void | cd (void) |
go to top directory (ie. root) | |
void | cd (const std::string &subdir) |
cd to subdirectory (if there) | |
bool | containsAnyMonitorable (const std::string &path) const |
QCriterion * | createQTest (const std::string &algoname, const std::string &qtname) |
bool | dirExists (const std::string &path) const |
true if directory exists | |
void | disableSoftReset (MonitorElement *me) |
DQMStore (const edm::ParameterSet &pset) | |
DQMStore (const edm::ParameterSet &pset, edm::ActivityRegistry &) | |
MonitorElement * | get (const std::string &path) const |
get ME from full pathname (e.g. "my/long/dir/my_histo") | |
std::vector< MonitorElement * > | get (unsigned int tag) const |
get all MonitorElements tagged as <tag> | |
std::vector< MonitorElement * > | getAllContents (const std::string &path) const |
void | getAllTags (std::vector< std::string > &into) const |
void | getContents (std::vector< std::string > &into, bool showContents=true) 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 | |
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 | |
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 .." | |
bool | load (const std::string &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true) |
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); | |
void | removeContents (const std::string &dir) |
remove all monitoring elements from directory; | |
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="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE") |
void | setCurrentFolder (const std::string &fullpath) |
void | setVerbose (unsigned level) |
void | showDirStructure (void) const |
void | softReset (MonitorElement *me) |
void | tag (const std::string &path, unsigned int myTag) |
tag ME specified by full pathname (e.g. "my/long/dir/my_histo") | |
void | tag (MonitorElement *me, unsigned int myTag) |
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) | |
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>. | |
~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. | |
MonitorElement * | book1DD (const std::string &dir, const std::string &name, TH1D *h) |
Book 1D histogram based on TH1D. | |
MonitorElement * | book1S (const std::string &dir, const std::string &name, TH1S *h) |
Book 1D histogram based on TH1S. | |
MonitorElement * | book2D (const std::string &dir, const std::string &name, TH2F *h) |
Book 2D histogram based on TH2F. | |
MonitorElement * | book2DD (const std::string &dir, const std::string &name, TH2D *h) |
Book 2D histogram based on TH2D. | |
MonitorElement * | book2S (const std::string &dir, const std::string &name, TH2S *h) |
Book 2D histogram based on TH2S. | |
MonitorElement * | book3D (const std::string &dir, const std::string &name, TH3F *h) |
Book 3D histogram based on TH3F. | |
MonitorElement * | bookFloat (const std::string &dir, const std::string &name) |
Book float. | |
MonitorElement * | bookInt (const std::string &dir, const std::string &name) |
Book int. | |
MonitorElement * | bookProfile (const std::string &dir, const std::string &name, TProfile *h) |
Book profile histogram based on TProfile. | |
MonitorElement * | bookProfile2D (const std::string &folder, const std::string &name, TProfile2D *h) |
Book 2D profile histogram based on TProfile2D. | |
MonitorElement * | bookString (const std::string &dir, const std::string &name, const std::string &value) |
Book string. | |
bool | cdInto (const std::string &path) const |
DQMStore (const DQMStore &) | |
bool | extract (TObject *obj, const std::string &dir, bool overwrite) |
MonitorElement * | findObject (const std::string &dir, const std::string &name) const |
void | forceReset (void) |
MonitorElement * | initialise (MonitorElement *me, const std::string &path) |
void | initializeFrom (const edm::ParameterSet &) |
bool | isCollateME (MonitorElement *me) const |
void | makeDirectory (const std::string &path) |
get folder corresponding to inpath wrt to root (create subdirs if necessary) | |
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) |
void | reset (void) |
void | setAccumulate (MonitorElement *me, bool flag) |
Static Private Member Functions | |
static bool | checkBinningMatches (MonitorElement *me, TH1 *h) |
static void | collate1D (MonitorElement *me, TH1F *h) |
static void | collate1DD (MonitorElement *me, TH1D *h) |
static void | collate1S (MonitorElement *me, TH1S *h) |
static void | collate2D (MonitorElement *me, TH2F *h) |
static void | collate2DD (MonitorElement *me, TH2D *h) |
static void | collate2S (MonitorElement *me, TH2S *h) |
static void | collate3D (MonitorElement *me, TH3F *h) |
static void | collateProfile (MonitorElement *me, TProfile *h) |
static void | collateProfile2D (MonitorElement *me, TProfile2D *h) |
Private Attributes | |
bool | collateHistograms_ |
MEMap | data_ |
std::set< std::string > | dirs_ |
std::string | pwd_ |
QAMap | qalgos_ |
QCMap | qtests_ |
QTestSpecs | qtestspecs_ |
std::string | readSelectedDirectory_ |
bool | reset_ |
unsigned | verbose_ |
unsigned | verboseQT_ |
Friends | |
class | DQMArchiver |
class | DQMNet |
class | DQMService |
class | DQMStoreExample |
class | edm::DQMHttpSource |
Definition at line 67 of file DQMStore.h.
typedef std::set<MonitorElement> DQMStore::MEMap [private] |
Definition at line 446 of file DQMStore.h.
typedef std::map<std::string, QCriterion *(*)(const std::string &) DQMStore::QAMap) [private] |
Definition at line 448 of file DQMStore.h.
typedef std::map<std::string, QCriterion *> DQMStore::QCMap [private] |
Definition at line 447 of file DQMStore.h.
typedef std::pair<fastmatch *, QCriterion *> DQMStore::QTestSpec [private] |
Definition at line 444 of file DQMStore.h.
typedef std::list<QTestSpec> DQMStore::QTestSpecs [private] |
Definition at line 445 of file DQMStore.h.
Definition at line 76 of file DQMStore.h.
{ KeepRunDirs, StripRunDirs };
Definition at line 70 of file DQMStore.h.
DQMStore::DQMStore | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 259 of file DQMStore.cc.
References forceReset(), edm::ParameterSet::getUntrackedParameter(), initializeFrom(), and edm::ActivityRegistry::watchPostSourceRun().
: verbose_ (1), verboseQT_ (1), reset_ (false), collateHistograms_ (false), readSelectedDirectory_ (""), pwd_ ("") { initializeFrom(pset); if(pset.getUntrackedParameter<bool>("forceResetOnBeginRun",false)) { ar.watchPostSourceRun(this,&DQMStore::forceReset); } }
DQMStore::DQMStore | ( | const edm::ParameterSet & | pset | ) |
Definition at line 273 of file DQMStore.cc.
References initializeFrom().
: verbose_ (1), verboseQT_ (1), reset_ (false), collateHistograms_ (false), readSelectedDirectory_ (""), pwd_ ("") { initializeFrom(pset); }
DQMStore::~DQMStore | ( | void | ) |
Definition at line 284 of file DQMStore.cc.
References alignCSCRings::e, i, qtests_, and qtestspecs_.
DQMStore::DQMStore | ( | const DQMStore & | ) | [private] |
MonitorElement * DQMStore::book | ( | const std::string & | dir, |
const std::string & | name, | ||
const char * | context | ||
) | [private] |
Definition at line 572 of file DQMStore.cc.
References gather_cfg::cout, data_, dirs_, findObject(), mergePath(), mergeVDriftHistosByStation::name, scaleCards::path, print_trace(), and verbose_.
Referenced by book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), and bookString().
{ assert(name.find('/') == std::string::npos); if (verbose_ > 3) print_trace(dir, name); // Check if the request monitor element already exists. if (MonitorElement *me = findObject(dir, name)) { if (verbose_ > 1) { std::string path; mergePath(path, dir, name); std::cout << "DQMStore: " << context << ": monitor element '" << path << "' already exists, resetting" << std::endl; } me->Reset(); return me; } else { // Create it and return for initialisation. assert(dirs_.count(dir)); MonitorElement nme(&*dirs_.find(dir), name); return &const_cast<MonitorElement &>(*data_.insert(nme).first); } }
MonitorElement * DQMStore::book | ( | const std::string & | dir, |
const std::string & | name, | ||
const char * | context, | ||
int | kind, | ||
HISTO * | h, | ||
COLLATE | collate | ||
) | [private] |
Definition at line 501 of file DQMStore.cc.
References collateHistograms_, gather_cfg::cout, data_, dir, dirs_, DQMNet::DQM_PROP_HAS_REFERENCE, findObject(), h, initialise(), mergePath(), mergeVDriftHistosByStation::name, scaleCards::path, print_trace(), qtestspecs_, MonitorElement::Reset(), s_referenceDirName, and verbose_.
{ assert(name.find('/') == std::string::npos); if (verbose_ > 3) print_trace(dir, name); std::string path; mergePath(path, dir, name); // Put us in charge of h. h->SetDirectory(0); // Check if the request monitor element already exists. MonitorElement *me = findObject(dir, name); if (me) { if (collateHistograms_) { collate(me, h); delete h; return me; } else { if (verbose_ > 1) std::cout << "DQMStore: " << context << ": monitor element '" << path << "' already exists, collating" << std::endl; me->Reset(); collate(me, h); delete h; return me; } } else { // Create and initialise core object. assert(dirs_.count(dir)); MonitorElement proto(&*dirs_.find(dir), name); me = const_cast<MonitorElement &>(*data_.insert(proto).first) .initialise((MonitorElement::Kind)kind, h); // Initialise quality test information. QTestSpecs::iterator qi = qtestspecs_.begin(); QTestSpecs::iterator qe = qtestspecs_.end(); for ( ; qi != qe; ++qi) { if ( qi->first->match(path) ) me->addQReport(qi->second); } // Assign reference if we have one. std::string refdir; refdir.reserve(s_referenceDirName.size() + dir.size() + 2); refdir += s_referenceDirName; refdir += '/'; refdir += dir; if (MonitorElement *refme = findObject(refdir, name)) { me->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE; me->reference_ = refme->object_; } // Return the monitor element. return me; } }
MonitorElement * DQMStore::book1D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1D | ( | const char * | name, |
TH1F * | h | ||
) |
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
TH1F * | h | ||
) |
MonitorElement * DQMStore::book1D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1D histogram.
Definition at line 717 of file DQMStore.cc.
References pwd_.
Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), XmasToDQMSource::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), ecaldqm::MESetChannel::append_(), TTbar_GenJetAnalyzer::beginJob(), L1Scalers::beginJob(), RPCTTUMonitor::beginJob(), L1TCSCTPG::beginJob(), BxTiming::beginJob(), PFTester::beginJob(), BasicHepMCValidation::beginJob(), PFJetAnalyzer::beginJob(), APVValidationPlots::beginJob(), TrackAnalyzer::beginJob(), GlobalTest::beginJob(), DQMClientExample::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), Vx3DHLTAnalyzer::beginJob(), VVVValidation::beginJob(), BasicGenParticleValidation::beginJob(), EfficiencyAnalyzer::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1EmulatorErrorFlagClient::beginJob(), HLTMonPhotonSource::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), METAnalyzer::beginJob(), L1TFED::beginJob(), WValidation::beginJob(), EgammaSuperClusters::beginJob(), EgammaBasicClusters::beginJob(), ConverterTester::beginJob(), TcMETAnalyzer::beginJob(), SiStripFEDCheckPlugin::beginJob(), RPCMonitorLinkSynchro::beginJob(), TopDiLeptonDQM::beginJob(), L1TCSCTF::beginJob(), HLTMonHcalIsoTrack::beginJob(), HLTMon::beginJob(), MuonAlignment::beginJob(), MBUEandQCDValidation::beginJob(), TrackSplittingMonitor::beginJob(), TrackEfficiencyMonitor::beginJob(), L1TGCT::beginJob(), HLTMonPhotonClient::beginJob(), PhotonValidator::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), PhotonAnalyzer::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), L1TdeRCT::beginJob(), AlcaBeamMonitor::beginJob(), MuonTrackAnalyzer::beginJob(), TauValidation::beginJob(), TopHLTDiMuonDQM::beginJob(), PFMETAnalyzer::beginJob(), DQMSourceEleCalib::beginJob(), HLTScalers::beginJob(), TrackBuildingAnalyzer::beginJob(), MonitorLTC::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), HLTMonSimpleBTag::beginJob(), BeamConditionsMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), SimHitsValidationHcal::beginJob(), DrellYanValidation::beginJob(), JetPtAnalyzer::beginJob(), StripValidationPlots::beginJob(), DQMHOAlCaRecoStream::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), SiStripMonitorHLT::beginJob(), QcdHighPtDQM::beginJob(), L1TRPCTPG::beginJob(), L1TRCT::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), TkConvValidator::beginJob(), ZdcSimHitStudy::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), MuonIdDQM::beginJob(), DiMuonHistograms::beginJob(), MuCorrMETAnalyzer::beginJob(), dEdxAnalyzer::beginJob(), TrigResRateMon::beginJob(), HLTMonBitSummary::beginJob(), DuplicationChecker::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), VertexMonitor::beginJob(), SiStripMonitorFilter::beginJob(), L1TLTC::beginJob(), L1TdeCSCTF::beginJob(), CastorMonitorModule::beginJob(), HcalSimHitStudy::beginJob(), TopValidation::beginJob(), L1TDEMON::beginJob(), HLTAlCaMonPi0::beginJob(), DQMSourceExample::beginJob(), MuonRecoOneHLT::beginJob(), HTMHTAnalyzer::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), EcalZmassTask::beginJob(), L1TDTTF::beginJob(), FourVectorHLT::beginJob(), BeamMonitor::beginJob(), MuonTrackResidualAnalyzer::beginJob(), TTbar_Kinematics::beginJob(), EmDQMReco::beginJob(), JetAnalyzer::beginJob(), DQMSourcePi0::beginJob(), RPCMonitorRaw::beginJob(), L1TGCTClient::beginJob(), HLTMonElectronConsumer::beginJob(), ElectronConversionRejectionValidator::beginJob(), TTbar_GenLepAnalyzer::beginJob(), HiggsValidation::beginJob(), TrackingMonitor::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), TauTagValidation::beginJob(), MuonIdVal::beginJob(), EgHLTOfflineSource::beginJob(), CaloMETAnalyzer::beginJob(), PiZeroAnalyzer::beginJob(), TrackEfficiencyClient::beginJob(), HLTMonElectron::beginJob(), RPCRecHitValid::beginRun(), RPCMonitorDigi::beginRun(), RPCOccupancyTest::beginRun(), RPCEfficiencySecond::beginRun(), FourVectorHLTriggerOffline::beginRun(), HLTOfflineReproducibility::beginRun(), RPCBxTest::beginRun(), DQMProvInfo::beginRun(), EcalZmassClient::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTMonBitSummary::beginRun(), HLTJetMETDQMSource::beginRun(), RPCMultiplicityTest::beginRun(), CaloTowerAnalyzer::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalRecHitClient::beginRun(), RPCChamberQuality::beginRun(), TrigResRateMon::beginRun(), AlcaBeamMonitor::beginRun(), DTnoiseDBValidation::beginRun(), SiStripMonitorRawData::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCClusterSizeTest::beginRun(), HcalSummaryClient::beginRun(), METTester::beginRun(), DQMDcsInfo::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), RPCNoisyStripTest::beginRun(), HLTInclusiveVBFSource::beginRun(), RPCDcsInfo::beginRun(), HcalCoarsePedestalClient::beginRun(), TriggerValidator::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), MuonAlignmentSummary::beginRun(), RPCRecHitProbability::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), FourVectorHLTOnline::beginRun(), HLTJetMETValidation::beginRun(), GeneralHLTOffline::beginRun(), L1TOccupancyClient::beginRun(), MuonTrackValidator::beginRun(), V0Validator::beginRun(), MEtoMEComparitor::book(), SiPixelHitEfficiencyModule::book(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), SiPixelTrackResidualModule::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book1D(), HcalSubdetDigiMonitor::book1D(), EcalSelectiveReadoutValidation::book1D(), book1D(), QcdUeDQM::book1D(), QcdLowPtDQM::book1D(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), SiStripBaseCondObjDQM::bookCumulMEs(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), HLTHiggsSubAnalysis::bookHist(), HLTHiggsPlotter::bookHist(), HLTMuonValidator::bookHist(), BTagDifferentialPlot::bookHisto(), JPTJetAnalyzer::bookHistogram(), EwkMuTauHistManager::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookHistograms(), L1TGT::bookHistograms(), RPCValidHistograms::bookHistograms(), DQMLumiMonitor::bookHistograms(), PixelVTXMonitor::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), PlotMakerReco::bookHistos(), HiggsDQM::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), PlotMakerL1::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), DTDCSByLumiTask::bookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), SiStripMonitorTrack::bookLayerMEs(), SiStripMonitorDigi::bookME1D(), SiStripMonitorCluster::bookME1D(), SiStripMonitorTrack::bookME1D(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiStripMonitorTrack::bookModMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), HLTOniaSource::bookOniaTriggerInvariantMassMEs(), HLTOniaSource::bookOniaTriggerMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), recoBSVTagInfoValidationAnalyzer::bookRecoToSim(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookRollME(), MTVHistoProducerAlgoForTracker::bookSimHistos(), recoBSVTagInfoValidationAnalyzer::bookSimToReco(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), TrigResRateMon::bookTestHisto(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), HTrackVariables::computeEfficiency(), HcalTrigPrimMonitor::create_et_histogram(), PFClient::createEfficiencyPlots(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), CSCWireDigiValidation::CSCWireDigiValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), BTagValidator::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), HarvestingAnalyzer::endJob(), HLTScalersClient::endLuminosityBlock(), RPCRecHitValidClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), GlobalHitsProdHistStripper::endRun(), TauDQMHistEffProducer::endRun(), HltSusyExoPostProcessor::endRun(), AlcaBeamMonitorClient::endRun(), EmDQMPostProcessor::endRun(), extract(), SiStripQualityDQM::fillGrandSummaryMEs(), EgHLTOfflineClient::FillHLTvsOfflineHist(), StorageAccount::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), BeamMonitor::FitAndFill(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), EmDQMReco::FourVectorMonitorElements::FourVectorMonitorElements(), EDMtoMEConverter::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripMonitorQuality::getQualityME(), SiStripSummaryCreator::getSummaryME(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EwkElecDQM::init_histograms(), EwkMuLumiMonitorDQM::init_histograms(), EwkMuDQM::init_histograms(), MuIsoValidation::InitHistos(), MuonIsolationDQM::InitHistos(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), evf::iDie::initMonitorElementsDatasets(), evf::iDie::initMonitorElementsStreams(), LaserDQM::initMonitors(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook1D(), RivetAnalyzer::normalizeTree(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), FastTimerService::preBeginRun(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), EEHltTask::setup(), EEPedestalClient::setup(), EBTimingTask::setup(), EBIntegrityTask::setup(), EBClusterTask::setup(), HcalZDCMonitor::setup(), HcalNZSMonitor::setup(), HcalEEUSMonitor::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), CastorLEDMonitor::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), CastorDataIntegrityMonitor::setup(), ZDCMonitorModule::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), HcalDataIntegrityTask::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EBHltTask::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), EBCosmicTask::setup(), CastorHIMonitor::setup(), HcalDetDiagLEDMonitor::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), HcalDeadCellMonitor::setup(), HcalMonitorModule::setup(), EECosmicTask::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), CastorRecHitMonitor::setup(), EERawDataTask::setup(), EBSummaryClient::setup(), CastorDigiMonitor::setup(), EBLaserClient::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), HcalTrigPrimMonitor::setup(), HcalHotCellMonitor::setup(), HcalBaseDQMonitor::setup(), CastorTowerJetMonitor::setup(), EEClusterTask::setup(), EESummaryClient::setup(), CastorPSMonitor::setup(), HcalBaseMonitor::setupDepthHists1D(), HLXMonitor::SetupHists(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TopElectronHLTOfflineSource::EleMEs::setupMESet(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), and TrigResRateMon::TrigResRateMon().
MonitorElement * DQMStore::book1D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
MonitorElement * DQMStore::book1D | ( | const std::string & | dir, |
const std::string & | name, | ||
TH1F * | h | ||
) | [private] |
Book 1D histogram based on TH1F.
Definition at line 696 of file DQMStore.cc.
References book(), collate1D(), and MonitorElement::DQM_KIND_TH1F.
MonitorElement * DQMStore::book1DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 749 of file DQMStore.cc.
References pwd_.
Referenced by MEtoMEComparitor::book(), book1DD(), extract(), EDMtoMEConverter::getData(), EBOccupancyTask::setup(), and EEOccupancyTask::setup().
MonitorElement * DQMStore::book1DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
MonitorElement* DQMStore::book1DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement* DQMStore::book1DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1DD | ( | const char * | name, |
TH1D * | h | ||
) |
MonitorElement * DQMStore::book1DD | ( | const std::string & | dir, |
const std::string & | name, | ||
TH1D * | h | ||
) | [private] |
Book 1D histogram based on TH1D.
Definition at line 710 of file DQMStore.cc.
References book(), collate1DD(), and MonitorElement::DQM_KIND_TH1D.
{ return book(dir, name, "book1DD", MonitorElement::DQM_KIND_TH1D, h, collate1DD); }
MonitorElement * DQMStore::book1DD | ( | const std::string & | name, |
TH1D * | h | ||
) |
MonitorElement * DQMStore::book1S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
Book 1S histogram.
Definition at line 733 of file DQMStore.cc.
References pwd_.
Referenced by DQMSourceExample::beginJob(), MEtoMEComparitor::book(), book1S(), dqmRegisterHistogram(), extract(), and EDMtoMEConverter::getData().
MonitorElement * DQMStore::book1S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX | ||
) |
MonitorElement* DQMStore::book1S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement* DQMStore::book1S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize | ||
) |
MonitorElement * DQMStore::book1S | ( | const std::string & | name, |
TH1S * | h | ||
) |
MonitorElement * DQMStore::book1S | ( | const char * | name, |
TH1S * | h | ||
) |
MonitorElement * DQMStore::book1S | ( | const std::string & | dir, |
const std::string & | name, | ||
TH1S * | h | ||
) | [private] |
Book 1D histogram based on TH1S.
Definition at line 703 of file DQMStore.cc.
References book(), collate1S(), and MonitorElement::DQM_KIND_TH1S.
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 845 of file DQMStore.cc.
References pwd_.
Referenced by SiStripGainFromData::algoBeginJob(), RPCMon_SS_Dbx_Global::analyze(), HcalSummaryClient::analyze(), FourVectorHLT::analyze(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), L1Scalers::beginJob(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), APVValidationPlots::beginJob(), PFJetAnalyzer::beginJob(), Vx3DHLTAnalyzer::beginJob(), HcalDCSInfo::beginJob(), L1TDTTPGClient::beginJob(), TkAlCaRecoMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), DQMFEDIntegrityClient::beginJob(), HcalDAQInfo::beginJob(), HLTMonPhotonSource::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), RPCDaqInfo::beginJob(), EgammaSuperClusters::beginJob(), EgammaBasicClusters::beginJob(), MuonAlignment::beginJob(), HLTMon::beginJob(), HLTMonHcalIsoTrack::beginJob(), L1TCSCTF::beginJob(), TopDiLeptonDQM::beginJob(), RPCMonitorLinkSynchro::beginJob(), ConverterTester::beginJob(), DTBlockedROChannelsTest::beginJob(), EBDataCertificationTask::beginJob(), L1TGCT::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), PhotonValidator::beginJob(), L1TdeRCT::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), MuonTrackAnalyzer::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), LogMessageMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), DQMSourceEleCalib::beginJob(), TopHLTDiMuonDQM::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), L1TCompare::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), L1TRCT::beginJob(), QcdHighPtDQM::beginJob(), StripValidationPlots::beginJob(), JetPtAnalyzer::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), TkConvValidator::beginJob(), ZdcSimHitStudy::beginJob(), HLTMonBitSummary::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), CastorMonitorModule::beginJob(), HcalDataCertification::beginJob(), L1TdeCSCTF::beginJob(), L1TLTC::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), DTDataIntegrityTest::beginJob(), L1TDEMON::beginJob(), BeamMonitor::beginJob(), EEDataCertificationTask::beginJob(), FourVectorHLT::beginJob(), L1TDTTF::beginJob(), DQMSourceExample::beginJob(), MuonTrackResidualAnalyzer::beginJob(), TTbar_Kinematics::beginJob(), EmDQMReco::beginJob(), RPCMonitorRaw::beginJob(), JetAnalyzer::beginJob(), TrackingMonitor::beginJob(), MuonIdVal::beginJob(), HLTEventInfoClient::beginJob(), HLTMonElectron::beginJob(), ZDCMonitorClient::beginRun(), RPCEfficiencySecond::beginRun(), RPCOccupancyTest::beginRun(), FourVectorHLTriggerOffline::beginRun(), HLTOfflineReproducibility::beginRun(), DTOfflineSummaryClients::beginRun(), HcalHotCellClient::beginRun(), SiPixelClusterSource::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HLTJetMETDQMSource::beginRun(), RPCEfficiencyShiftHisto::beginRun(), DQMProvInfo::beginRun(), HcalDigiClient::beginRun(), RPCMultiplicityTest::beginRun(), HcalRecHitClient::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCEventSummary::beginRun(), CaloTowerAnalyzer::beginRun(), HcalNZSClient::beginRun(), HcalRawDataClient::beginRun(), RPCChamberQuality::beginRun(), RPCDataCertification::beginRun(), RPCDeadChannelTest::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalSummaryClient::beginRun(), RPCClusterSizeTest::beginRun(), EcalBarrelMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), RPCNoisyStripTest::beginRun(), SiPixelTrackResidualSource::beginRun(), FourVectorHLTOffline::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), HLTInclusiveVBFSource::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), RPCRecHitProbability::beginRun(), MuonAlignmentSummary::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), EcalEndcapMonitorClient::beginRun(), HcalTrigPrimClient::beginRun(), FourVectorHLTOnline::beginRun(), L1TOccupancyClient::beginRun(), MuonTrackValidator::beginRun(), HcalBeamClient::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book2D(), HcalSubdetDigiMonitor::book2D(), book2D(), EcalSelectiveReadoutValidation::book2D(), QcdUeDQM::book2D(), QcdLowPtDQM::book2D(), JPTJetAnalyzer::book2DHistogram(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), DTnoiseDBValidation::bookHisto(), L1TGT::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), RPCValidHistograms::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), DTDataIntegrityTask::bookHistos(), DTt0DBValidation::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), ecaldqm::bookME(), SiStripMonitorTrack::bookME2D(), SiPixelDigiSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelActionExecutor::bookOccupancyPlots(), HLTOniaSource::bookOniaTriggerMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), BeamMonitorBx::BookTables(), SiPixelActionExecutor::bookTrackerMaps(), RPCMonitorDigi::bookWheelDiskME(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), HcalTrigPrimMonitor::create_errorflag(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_map(), HcalTrigPrimMonitor::create_summary(), HcalTrigPrimMonitor::create_tp_correlation(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), CSCRecHit2DValidation::CSCRecHit2DValidation(), dqmRegisterHistogram(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), BTagValidator::endJob(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), extract(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalTimingMonitorModule::HcalTimingMonitorModule(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), EwkElecDQM::init_histograms(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), evf::iDie::initMonitorElements(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook2D(), RecoMuonValidator::RecoMuonValidator(), JetMETHLTOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), EBClusterTask::setup(), EBIntegrityTask::setup(), EBTimingTask::setup(), EEPedestalClient::setup(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), HcalEEUSMonitor::setup(), HcalZDCMonitor::setup(), CastorDataIntegrityMonitor::setup(), EBTriggerTowerClient::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), CastorChannelQualityMonitor::setup(), EBTestPulseClient::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EBIntegrityClient::setup(), EBOccupancyTask::setup(), EELaserClient::setup(), EBTimingClient::setup(), EETriggerTowerClient::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EEPedestalOnlineClient::setup(), EtaPhiHists::setup(), EEIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBTriggerTowerTask::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), HcalDetDiagLEDMonitor::setup(), CastorRecHitMonitor::setup(), EBPedestalClient::setup(), EETestPulseClient::setup(), EcalEndcapMonitorModule::setup(), HcalDeadCellMonitor::setup(), EBSummaryClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), HcalCaloTowerMonitor::setup(), HcalBaseDQMonitor::setup(), CastorPSMonitor::setup(), EEIntegrityClient::setup(), EESummaryClient::setup(), EEClusterTask::setup(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOnline::setupHltMatrix(), and TrigResRateMon::setupStreamMatrix().
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
MonitorElement * DQMStore::book2D | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2D | ( | const char * | name, |
TH2F * | h | ||
) |
MonitorElement * DQMStore::book2D | ( | const std::string & | name, |
TH2F * | h | ||
) |
MonitorElement * DQMStore::book2D | ( | const std::string & | dir, |
const std::string & | name, | ||
TH2F * | h | ||
) | [private] |
Book 2D histogram based on TH2F.
Definition at line 824 of file DQMStore.cc.
References book(), collate2D(), and MonitorElement::DQM_KIND_TH2F.
MonitorElement * DQMStore::book2DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
MonitorElement * DQMStore::book2DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
MonitorElement* DQMStore::book2DD | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement* DQMStore::book2DD | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2DD | ( | const char * | name, |
TH2D * | h | ||
) |
MonitorElement * DQMStore::book2DD | ( | const std::string & | name, |
TH2D * | h | ||
) |
MonitorElement * DQMStore::book2DD | ( | const std::string & | dir, |
const std::string & | name, | ||
TH2D * | h | ||
) | [private] |
Book 2D histogram based on TH2D.
Definition at line 838 of file DQMStore.cc.
References book(), collate2DD(), and MonitorElement::DQM_KIND_TH2D.
{ return book(dir, name, "book2DD", MonitorElement::DQM_KIND_TH2D, h, collate2DD); }
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 867 of file DQMStore.cc.
References pwd_.
Referenced by book2S(), dqmRegisterHistogram(), extract(), and EDMtoMEConverter::getData().
MonitorElement * DQMStore::book2S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
double | lowX, | ||
double | highX, | ||
int | nchY, | ||
double | lowY, | ||
double | highY | ||
) |
MonitorElement* DQMStore::book2S | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement* DQMStore::book2S | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
float * | xbinsize, | ||
int | nchY, | ||
float * | ybinsize | ||
) |
MonitorElement * DQMStore::book2S | ( | const char * | name, |
TH2S * | h | ||
) |
MonitorElement * DQMStore::book2S | ( | const std::string & | name, |
TH2S * | h | ||
) |
MonitorElement * DQMStore::book2S | ( | const std::string & | dir, |
const std::string & | name, | ||
TH2S * | h | ||
) | [private] |
Book 2D histogram based on TH2S.
Definition at line 831 of file DQMStore.cc.
References book(), collate2S(), and MonitorElement::DQM_KIND_TH2S.
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 979 of file DQMStore.cc.
References pwd_.
Referenced by ConverterTester::beginJob(), book3D(), SiStripMonitorTrack::bookME3D(), CSCMonitorModule::bookMonitorObject(), dqmRegisterHistogram(), BTagValidator::endJob(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), CastorEventDisplay::setup(), EBTriggerTowerTask::setup(), and EETriggerTowerTask::setup().
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 | ||
) |
MonitorElement * DQMStore::book3D | ( | const char * | name, |
TH3F * | h | ||
) |
MonitorElement * DQMStore::book3D | ( | const std::string & | name, |
TH3F * | h | ||
) |
MonitorElement * DQMStore::book3D | ( | const std::string & | dir, |
const std::string & | name, | ||
TH3F * | h | ||
) | [private] |
Book 3D histogram based on TH3F.
Definition at line 972 of file DQMStore.cc.
References book(), collate3D(), and MonitorElement::DQM_KIND_TH3F.
MonitorElement * DQMStore::bookFloat | ( | const std::string & | name | ) |
MonitorElement * DQMStore::bookFloat | ( | const std::string & | dir, |
const std::string & | name | ||
) | [private] |
Book float.
Definition at line 637 of file DQMStore.cc.
References book(), collateHistograms_, MonitorElement::DQM_KIND_REAL, MonitorElement::Fill(), findObject(), and MonitorElement::initialise().
{ if (collateHistograms_) { if (MonitorElement *me = findObject(dir, name)) { me->Fill(0.); return me; } } return book(dir, name, "bookFloat") ->initialise(MonitorElement::DQM_KIND_REAL); }
MonitorElement * DQMStore::bookFloat | ( | const char * | name | ) |
Book float.
Definition at line 654 of file DQMStore.cc.
References pwd_.
Referenced by EEDcsInfoTask::beginJob(), EEDaqInfoTask::beginJob(), DQMFEDIntegrityClient::beginJob(), HcalDCSInfo::beginJob(), Vx3DHLTAnalyzer::beginJob(), L1TEventInfoClient::beginJob(), HcalDAQInfo::beginJob(), RPCDaqInfo::beginJob(), ConverterTester::beginJob(), EBDataCertificationTask::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), SiPixelDcsInfo::beginJob(), SiPixelDaqInfo::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), HcalDataCertification::beginJob(), SiPixelCertification::beginJob(), DQMSourceExample::beginJob(), DQMDaqInfo::beginJob(), EEDataCertificationTask::beginJob(), BeamMonitor::beginJob(), HLTMonElectronConsumer::beginJob(), HLTEventInfoClient::beginJob(), DTOfflineSummaryClients::beginRun(), DTLocalTriggerBaseTask::beginRun(), HLTMuonPlotter::beginRun(), DQMProvInfo::beginRun(), DTNoiseTask::beginRun(), RPCEventSummary::beginRun(), RPCDataCertification::beginRun(), HcalSummaryClient::beginRun(), EcalBarrelMonitorClient::beginRun(), HLTInclusiveVBFSource::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), RPCDCSSummary::beginRun(), DTSummaryClients::beginRun(), EcalEndcapMonitorClient::beginRun(), DTSegmentAnalysisTask::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), bookFloat(), EcalSelectiveReadoutValidation::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), L1TEMUEventInfoClient::bookHistograms(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTScalerInfoTask::bookHistos(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripCertificationInfo::bookTrackingCertificationMEs(), QcdLowPtDQM::createHistos(), DQMEventInfo::DQMEventInfo(), DataCertificationJetMET::endRun(), DQMDcsInfoClient::endRun(), HLTTauCertifier::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), HcalTimingMonitorModule::HcalTimingMonitorModule(), evf::iDie::initDQMEventInfo(), evf::iDie::initMonitorElements(), EgHLTOfflineSummaryClient::runClient_(), DQMFileSaver::saveForOffline(), HcalRecHitMonitor::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), HcalDeadCellMonitor::setup(), HcalHotCellMonitor::setup(), CastorPSMonitor::setup(), HLXMonitor::SetupEventInfo(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), SubTaskSummaryStatus::WriteThreshold(), and XmasToDQMEventInfo::XmasToDQMEventInfo().
MonitorElement * DQMStore::bookInt | ( | const char * | name | ) |
Book int.
Definition at line 624 of file DQMStore.cc.
References pwd_.
Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), L1Scalers::beginJob(), ConverterTester::beginJob(), PhotonAnalyzer::beginJob(), HLTScalers::beginJob(), CastorMonitorModule::beginJob(), L1TLTC::beginJob(), DQMSourceExample::beginJob(), EgHLTOfflineSource::beginJob(), DQMProvInfo::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), FineDelayTask::book(), CalibrationTask::book(), CalibrationScanTask::book(), SiPixelDataQuality::bookGlobalQualityFlag(), bookInt(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), CommissioningHistograms::copyCustomInformation(), DQMEventInfo::DQMEventInfo(), RPCDcsInfoClient::endRun(), HLTOverallSummary::endRun(), extract(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), evf::iDie::initDQMEventInfo(), evf::iDie::initMonitorElements(), DQMProvInfo::makeProvInfo(), edm::EventStreamHttpReader::read(), CastorLEDMonitor::setup(), EcalBarrelMonitorModule::setup(), HcalEEUSMonitor::setup(), HcalZDCMonitor::setup(), CastorDataIntegrityMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDigiMonitor::setup(), ZDCMonitorModule::setup(), HcalCoarsePedestalMonitor::setup(), CastorEventDisplay::setup(), HcalRawDataMonitor::setup(), CastorHIMonitor::setup(), HcalDetDiagLEDMonitor::setup(), CastorRecHitMonitor::setup(), EcalEndcapMonitorModule::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), CastorDigiMonitor::setup(), HcalCaloTowerMonitor::setup(), CastorTowerJetMonitor::setup(), HcalBaseDQMonitor::setup(), HcalHotCellMonitor::setup(), CastorPSMonitor::setup(), HLXMonitor::SetupEventInfo(), and XmasToDQMEventInfo::XmasToDQMEventInfo().
MonitorElement * DQMStore::bookInt | ( | const std::string & | name | ) |
MonitorElement * DQMStore::bookInt | ( | const std::string & | dir, |
const std::string & | name | ||
) | [private] |
Book int.
Definition at line 607 of file DQMStore.cc.
References book(), collateHistograms_, MonitorElement::DQM_KIND_INT, MonitorElement::Fill(), findObject(), and MonitorElement::initialise().
{ if (collateHistograms_) { if (MonitorElement *me = findObject(dir, name)) { me->Fill(0); return me; } } return book(dir, name, "bookInt") ->initialise(MonitorElement::DQM_KIND_INT); }
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
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 1136 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(), nchX, xbinsize, lowY, highY, option)); }
MonitorElement * DQMStore::bookProfile | ( | const std::string & | dir, |
const std::string & | name, | ||
TProfile * | h | ||
) | [private] |
Book profile histogram based on TProfile.
Definition at line 1020 of file DQMStore.cc.
References book(), collateProfile(), and MonitorElement::DQM_KIND_TPROFILE.
{ return book(dir, name, "bookProfile", MonitorElement::DQM_KIND_TPROFILE, h, collateProfile); }
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 1031 of file DQMStore.cc.
References pwd_.
Referenced by BxTiming::beginJob(), PFJetAnalyzer::beginJob(), TrackAnalyzer::beginJob(), L1TFED::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), AlcaBeamMonitor::beginJob(), PhotonValidator::beginJob(), TrackBuildingAnalyzer::beginJob(), LogMessageMonitor::beginJob(), StripValidationPlots::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), VertexMonitor::beginJob(), HcalSimHitStudy::beginJob(), DQMSourceExample::beginJob(), BeamMonitor::beginJob(), JetAnalyzer::beginJob(), TrackingMonitor::beginJob(), AlcaBeamMonitor::beginRun(), SiStripLAProfileBooker::beginRun(), MuonTrackValidator::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), L1TGT::bookHistograms(), DQMLumiMonitor::bookHistograms(), TrackAnalyzer::bookHistosForState(), SiStripMonitorTrack::bookMEProfile(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), CSCMonitorModule::bookMonitorObject(), HcalSubdetDigiMonitor::bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), bookProfile(), HistoProviderDQM::bookProfile(), JPTJetAnalyzer::bookProfile(), QcdUeDQM::bookProfile(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), TrigResRateMon::bookTestHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency1D(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), EmDQMPostProcessor::dividehistos(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), JetMETDQMPostProcessor::endRun(), RPCRecHitValid::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), extract(), EDMtoMEConverter::getData(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), CommissioningHistograms::histogram(), MuIsoValidation::InitHistos(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), RivetAnalyzer::normalizeTree(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), FastTimerService::preBeginRun(), EETrendClient::setup(), EBTestPulseTask::setup(), EBClusterTask::setup(), HcalNZSMonitor::setup(), EBTrendTask::setup(), EcalBarrelMonitorModule::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), EBPedestalTask::setup(), EBSelectiveReadoutTask::setup(), EELaserTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EBTrendClient::setup(), EBTimingClient::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), HcalDeadCellMonitor::setup(), EcalEndcapMonitorModule::setup(), EBLaserTask::setup(), EBSummaryClient::setup(), EETrendTask::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), HcalTrigPrimMonitor::setup(), HcalHotCellMonitor::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EELedTask::setup(), EEClusterTask::setup(), EESummaryClient::setup(), HLXMonitor::SetupHists(), and GeneralHLTOffline::setupHltMatrix().
{ return bookProfile(pwd_, name, new TProfile(name, title, nchX, lowX, highX, lowY, highY, option)); }
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 1046 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(), nchX, lowX, highX, lowY, highY, option)); }
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 1061 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name, title, nchX, lowX, highX, lowY, highY, option)); }
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 1076 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(), nchX, lowX, highX, lowY, highY, option)); }
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
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 1091 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name, title, nchX, xbinsize, lowY, highY, option)); }
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
const std::string & | title, | ||
int | nchX, | ||
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 1106 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(), nchX, xbinsize, lowY, highY, option)); }
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
const char * | title, | ||
int | nchX, | ||
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 1121 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, new TProfile(name, title, nchX, xbinsize, lowY, highY, option)); }
MonitorElement * DQMStore::bookProfile | ( | const char * | name, |
TProfile * | h | ||
) |
Book TProfile by cloning an existing profile.
Definition at line 1149 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name))); }
MonitorElement * DQMStore::bookProfile | ( | const std::string & | name, |
TProfile * | h | ||
) |
Book TProfile by cloning an existing profile.
Definition at line 1156 of file DQMStore.cc.
References bookProfile(), and pwd_.
{ return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name.c_str()))); }
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 1175 of file DQMStore.cc.
References pwd_.
Referenced by TrackAnalyzer::beginJob(), ConverterTester::beginJob(), TkConvValidator::beginJob(), DQMSourceExample::beginJob(), MuonTrackValidator::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), DQMLumiMonitor::bookHistograms(), DTLocalTriggerBaseTask::bookHistos(), ecaldqm::bookME(), CSCMonitorModule::bookMonitorObject(), bookProfile2D(), EcalSelectiveReadoutValidation::bookProfile2D(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency2D(), SiStripMonitorCluster::createSubDetMEs(), TkHistoMap::createTkHistoMap(), dqmRegisterHistogram(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBookProfile2D(), EBClusterTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEPedestalOnlineTask::setup(), EBPedestalTask::setup(), EBSelectiveReadoutTask::setup(), EBOccupancyTask::setup(), EELaserTask::setup(), EBCosmicTask::setup(), EBTriggerTowerTask::setup(), EESelectiveReadoutTask::setup(), EBLaserTask::setup(), EECosmicTask::setup(), EBPedestalOnlineTask::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), and EEClusterTask::setup().
{ return bookProfile2D(pwd_, name, new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option)); }
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 1192 of file DQMStore.cc.
References bookProfile2D(), and pwd_.
{ return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(), nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option)); }
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 1209 of file DQMStore.cc.
References bookProfile2D(), and pwd_.
{ return bookProfile2D(pwd_, name, new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option)); }
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 1226 of file DQMStore.cc.
References bookProfile2D(), and pwd_.
{ return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(), nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option)); }
MonitorElement * DQMStore::bookProfile2D | ( | const char * | name, |
TProfile2D * | h | ||
) |
Book TProfile2D by cloning an existing profile.
Definition at line 1241 of file DQMStore.cc.
References bookProfile2D(), and pwd_.
{ return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name))); }
MonitorElement * DQMStore::bookProfile2D | ( | const std::string & | name, |
TProfile2D * | h | ||
) |
Book TProfile2D by cloning an existing profile.
Definition at line 1248 of file DQMStore.cc.
References bookProfile2D(), and pwd_.
{ return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name.c_str()))); }
MonitorElement * DQMStore::bookProfile2D | ( | const std::string & | folder, |
const std::string & | name, | ||
TProfile2D * | h | ||
) | [private] |
Book 2D profile histogram based on TProfile2D.
Definition at line 1164 of file DQMStore.cc.
References book(), collateProfile2D(), and MonitorElement::DQM_KIND_TPROFILE2D.
{ return book(dir, name, "bookProfile2D", MonitorElement::DQM_KIND_TPROFILE2D, h, collateProfile2D); }
MonitorElement * DQMStore::bookString | ( | const std::string & | dir, |
const std::string & | name, | ||
const std::string & | value | ||
) | [private] |
Book string.
Definition at line 667 of file DQMStore.cc.
References book(), collateHistograms_, MonitorElement::DQM_KIND_STRING, findObject(), and MonitorElement::initialise().
{ if (collateHistograms_) { if (MonitorElement *me = findObject(dir, name)) return me; } return book(dir, name, "bookString") ->initialise(MonitorElement::DQM_KIND_STRING, value); }
MonitorElement * DQMStore::bookString | ( | const char * | name, |
const char * | value | ||
) |
Book string.
Definition at line 683 of file DQMStore.cc.
References pwd_.
Referenced by ConverterTester::beginJob(), DQMFileReader::beginJob(), DQMSourceExample::beginJob(), DQMDcsInfoClient::beginRun(), DQMEventInfo::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), DQMDcsInfo::beginRun(), HcalDetDiagLaserMonitor::beginRun(), HcalRecHitMonitor::beginRun(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), bookString(), SiStripCommissioningSource::createRunNumber(), SiStripCommissioningSource::createTask(), DQMEventInfo::DQMEventInfo(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), evf::iDie::initDQMEventInfo(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), DQMFileSaver::saveForOffline(), HcalDetDiagLEDMonitor::setup(), HLXMonitor::SetupEventInfo(), and XmasToDQMEventInfo::XmasToDQMEventInfo().
{ return bookString(pwd_, name, value); }
MonitorElement * DQMStore::bookString | ( | const std::string & | name, |
const std::string & | value | ||
) |
Book string.
Definition at line 688 of file DQMStore.cc.
References bookString(), and pwd_.
{ return bookString(pwd_, name, value); }
void DQMStore::cd | ( | void | ) |
go to top directory (ie. root)
Definition at line 406 of file DQMStore.cc.
References setCurrentFolder().
Referenced by SiStripDcsInfo::addBadModules(), SiStripGainFromData::algoEndJob(), SiPixelDigiSource::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), MuIsoValidation::beginJob(), MuonTrackAnalyzer::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DQMFileReader::beginJob(), MuonIsolationDQM::beginJob(), MuonTrackResidualAnalyzer::beginJob(), DQMDcsInfoClient::beginRun(), DQMProvInfo::beginRun(), DQMDcsInfo::beginRun(), RPCDcsInfo::beginRun(), MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), V0Validator::beginRun(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), RecoMuonValidator::MuonME::bookHistograms(), HiggsDQM::bookHistos(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), BeamMonitorBx::BookTables(), SiStripCertificationInfo::bookTrackingCertificationMEs(), BeamMonitorBx::BookTrendHistos(), EMShower::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createEfficiency(), SiStripTrackerMapCreator::createForOffline(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiPixelActionExecutor::createOccupancy(), SiStripSummaryCreator::createSummary(), SiStripActionExecutor::createSummary(), SiStripActionExecutor::createSummaryOffline(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), SiPixelActionExecutor::dumpModIds(), SiPixelActionExecutor::dumpRefValues(), EMShower::EMShower(), SiStripOfflineDQM::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), StripValidationPlots::endJob(), APVValidationPlots::endJob(), SiPixelEDAClient::endLuminosityBlock(), RPCDcsInfoClient::endRun(), JetMETDQMPostProcessor::endRun(), DQMDcsInfoClient::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelEDAClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::goToDir(), SiPixelWebInterface::handleEDARequest(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), evf::iDie::initMonitorElements(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), MuIsoValidation::MuIsoValidation(), MuonIsolationDQM::MuonIsolationDQM(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readAlarmTree(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleHistoTree(), SiStripNoisesDQMService::readNoises(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripPedestalsDQMService::readPedestals(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readSummaryHistoTree(), RecoMuonValidator::RecoMuonValidator(), CommissioningHistograms::remove(), SiStripCommissioningSource::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiPixelInformationExtractor::sendTkUpdatedStatus(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), HLXMonitor::SetupHists(), and SiPixelActionExecutor::setupQTests().
{ setCurrentFolder(""); }
void DQMStore::cd | ( | const std::string & | subdir | ) |
cd to subdirectory (if there)
Definition at line 411 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), dirExists(), raiseDQMError(), and setCurrentFolder().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(subdir, clean, cleaned); if (! dirExists(*cleaned)) raiseDQMError("DQMStore", "Cannot 'cd' into non-existent directory '%s'", cleaned->c_str()); setCurrentFolder(*cleaned); }
bool DQMStore::cdInto | ( | const std::string & | path | ) | const [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 2066 of file DQMStore.cc.
References end, python::connectstrParser::o, raiseDQMError(), and errorMatrix2Lands_multiChannel::start.
Referenced by save().
{ assert(! path.empty()); // Find the first path component. size_t start = 0; size_t end = path.find('/', start); if (end == std::string::npos) end = path.size(); while (true) { // Check if this subdirectory component exists. If yes, make sure // it is actually a subdirectory. Otherwise create or cd into it. std::string part(path, start, end-start); TObject *o = gDirectory->Get(part.c_str()); if (o && ! dynamic_cast<TDirectory *>(o)) raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file" " fails because the part '%s' already exists and is not" " directory", path.c_str(), part.c_str()); else if (! o) gDirectory->mkdir(part.c_str()); if (! gDirectory->cd(part.c_str())) raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file" " fails because could not cd into subdirectory '%s'", path.c_str(), part.c_str()); // Stop if we reached the end, ignoring any trailing '/'. if (end+1 >= path.size()) break; // Find the next path component. start = end+1; end = path.find('/', start); if (end == std::string::npos) end = path.size(); } return true; }
bool DQMStore::checkBinningMatches | ( | MonitorElement * | me, |
TH1 * | h | ||
) | [static, private] |
Definition at line 1257 of file DQMStore.cc.
References gather_cfg::cout, MonitorElement::getFullname(), and MonitorElement::getTH1().
Referenced by collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateProfile(), and collateProfile2D().
{ if (me->getTH1()->GetNbinsX() != h->GetNbinsX() || me->getTH1()->GetNbinsY() != h->GetNbinsY() || me->getTH1()->GetNbinsZ() != h->GetNbinsZ() || me->getTH1()->GetXaxis()->GetXmin() != h->GetXaxis()->GetXmin() || me->getTH1()->GetYaxis()->GetXmin() != h->GetYaxis()->GetXmin() || me->getTH1()->GetZaxis()->GetXmin() != h->GetZaxis()->GetXmin() || me->getTH1()->GetXaxis()->GetXmax() != h->GetXaxis()->GetXmax() || me->getTH1()->GetYaxis()->GetXmax() != h->GetYaxis()->GetXmax() || me->getTH1()->GetZaxis()->GetXmax() != h->GetZaxis()->GetXmax()) { // edm::LogWarning ("DQMStore") std::cout << "*** DQMStore: WARNING:" << "checkBinningMatches: different binning - cannot add object '" << h->GetName() << "' of type " << h->IsA()->GetName() << " to existing ME: '" << me->getFullname() << "'\n"; return false; } return true; }
void DQMStore::collate1D | ( | MonitorElement * | me, |
TH1F * | h | ||
) | [static, private] |
Definition at line 1281 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1F().
Referenced by book1D(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH1F()->Add(h); }
void DQMStore::collate1DD | ( | MonitorElement * | me, |
TH1D * | h | ||
) | [static, private] |
Definition at line 1295 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1D().
Referenced by book1DD(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH1D()->Add(h); }
void DQMStore::collate1S | ( | MonitorElement * | me, |
TH1S * | h | ||
) | [static, private] |
Definition at line 1288 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH1S().
Referenced by book1S(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH1S()->Add(h); }
void DQMStore::collate2D | ( | MonitorElement * | me, |
TH2F * | h | ||
) | [static, private] |
Definition at line 1302 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2F().
Referenced by book2D(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH2F()->Add(h); }
void DQMStore::collate2DD | ( | MonitorElement * | me, |
TH2D * | h | ||
) | [static, private] |
Definition at line 1316 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2D().
Referenced by book2DD(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH2D()->Add(h); }
void DQMStore::collate2S | ( | MonitorElement * | me, |
TH2S * | h | ||
) | [static, private] |
Definition at line 1309 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH2S().
Referenced by book2S(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH2S()->Add(h); }
void DQMStore::collate3D | ( | MonitorElement * | me, |
TH3F * | h | ||
) | [static, private] |
Definition at line 1323 of file DQMStore.cc.
References checkBinningMatches(), and MonitorElement::getTH3F().
Referenced by book3D(), and extract().
{ if (checkBinningMatches(me,h)) me->getTH3F()->Add(h); }
void DQMStore::collateProfile | ( | MonitorElement * | me, |
TProfile * | h | ||
) | [static, private] |
Definition at line 1330 of file DQMStore.cc.
References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile().
Referenced by bookProfile(), and extract().
{ if (checkBinningMatches(me,h)) { TProfile *meh = me->getTProfile(); me->addProfiles(h, meh, meh, 1, 1); } }
void DQMStore::collateProfile2D | ( | MonitorElement * | me, |
TProfile2D * | h | ||
) | [static, private] |
Definition at line 1340 of file DQMStore.cc.
References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile2D().
Referenced by bookProfile2D(), and extract().
{ if (checkBinningMatches(me,h)) { TProfile2D *meh = me->getTProfile2D(); me->addProfiles(h, meh, meh, 1, 1); } }
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 1458 of file DQMStore.cc.
References data_, alignCSCRings::e, i, and isSubdirectory().
Referenced by ContentReader::give_subdirs().
{ MonitorElement proto(&path, std::string()); MEMap::const_iterator e = data_.end(); MEMap::const_iterator i = data_.lower_bound(proto); return (i != e && isSubdirectory(path, *i->data_.dirname)); }
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 2608 of file DQMStore.cc.
References i, qalgos_, qtests_, raiseDQMError(), QCriterion::setVerbose(), and verboseQT_.
Referenced by createH2CompTest(), createMeanValueTest(), createXRangeTest(), createYRangeTest(), QTestConfigure::EnableComp2RefChi2Test(), QTestConfigure::EnableComp2RefEqualHTest(), QTestConfigure::EnableComp2RefKolmogorovTest(), QTestConfigure::EnableCompareLastFilledBinTest(), QTestConfigure::EnableCompareToMedianTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), and QTestConfigure::EnableYRangeTest().
{ if (qtests_.count(qtname)) raiseDQMError("DQMStore", "Attempt to create duplicate quality test '%s'", qtname.c_str()); QAMap::iterator i = qalgos_.find(algoname); if (i == qalgos_.end()) raiseDQMError("DQMStore", "Cannot create a quality test using unknown" " algorithm '%s'", algoname.c_str()); QCriterion *qc = i->second(qtname); qc->setVerbose(verboseQT_); qtests_[qtname] = qc; return qc; }
bool DQMStore::dirExists | ( | const std::string & | path | ) | const |
true if directory exists
Definition at line 493 of file DQMStore.cc.
References dirs_.
Referenced by L1GtHwValidation::beginJob(), L1ExtraRecoDQM::beginRun(), L1ExtraDQM::beginRun(), L1TGT::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), cd(), SiStripActionExecutor::createSummary(), DQMHcalIsoTrackPostProcessor::endJob(), EcalEndcapMonitorClient::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), TauDQMHistEffProducer::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getTopFolderPath(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripActionExecutor::printFaultyModuleList(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripInformationExtractor::readQTestSummary(), CommissioningHistograms::remove(), PhotonOfflineClient::runClient(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), and SiStripTrackerMapCreator::setTkMapFromHistogram().
void DQMStore::disableSoftReset | ( | MonitorElement * | me | ) |
Definition at line 2742 of file DQMStore.cc.
References MonitorElement::disableSoftReset().
Referenced by EcalBarrelMonitorClient::softReset(), EcalEndcapMonitorClient::softReset(), and TrackAnalyzer::undoSoftReset().
{ if (me) me->disableSoftReset(); }
bool DQMStore::extract | ( | TObject * | obj, |
const std::string & | dir, | ||
bool | overwrite | ||
) | [private] |
extract object (TH1F, TH2F, ...) from <to>; return success flag flag fromRemoteNode indicating if ME arrived from different node
Definition at line 1771 of file DQMStore.cc.
References MonitorElement::addQReport(), DQMNet::QValue::algorithm, book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), 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(), isSubdirectory(), diffTwoXMLs::label, m, funct::master(), DQMNet::QValue::message, n, MonitorElement::object_, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, alignCSCRings::s, s_referenceDirName, s_rxmeqr1(), s_rxmeqr2(), s_rxmeval(), MonitorElement::setEfficiencyFlag(), tag(), relativeConstraints::value, and verbose_.
Referenced by edm::DQMHttpSource::addEventToDQMBackend(), and readDirectory().
{ // NB: Profile histograms inherit from TH*D, checking order matters. MonitorElement *refcheck = 0; if (TProfile *h = dynamic_cast<TProfile *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = bookProfile(dir, h->GetName(), (TProfile *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collateProfile(me, h); refcheck = me; } else if (TProfile2D *h = dynamic_cast<TProfile2D *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = bookProfile2D(dir, h->GetName(), (TProfile2D *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collateProfile2D(me, h); refcheck = me; } else if (TH1F *h = dynamic_cast<TH1F *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book1D(dir, h->GetName(), (TH1F *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate1D(me, h); refcheck = me; } else if (TH1S *h = dynamic_cast<TH1S *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book1S(dir, h->GetName(), (TH1S *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate1S(me, h); refcheck = me; } else if (TH1D *h = dynamic_cast<TH1D *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book1DD(dir, h->GetName(), (TH1D *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate1DD(me, h); refcheck = me; } else if (TH2F *h = dynamic_cast<TH2F *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book2D(dir, h->GetName(), (TH2F *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate2D(me, h); refcheck = me; } else if (TH2S *h = dynamic_cast<TH2S *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book2S(dir, h->GetName(), (TH2S *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate2S(me, h); refcheck = me; } else if (TH2D *h = dynamic_cast<TH2D *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book2DD(dir, h->GetName(), (TH2D *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate2DD(me, h); refcheck = me; } else if (TH3F *h = dynamic_cast<TH3F *>(obj)) { MonitorElement *me = findObject(dir, h->GetName()); if (! me) me = book3D(dir, h->GetName(), (TH3F *) h->Clone()); else if (overwrite) me->copyFrom(h); else if (isCollateME(me) || collateHistograms_) collate3D(me, h); refcheck = me; } else if (dynamic_cast<TObjString *>(obj)) { lat::RegexpMatch m; if (! s_rxmeval.match(obj->GetName(), 0, 0, &m)) { if (strstr(obj->GetName(), "CMSSW")) { if (verbose_) std::cout << "Input file version: " << obj->GetName() << std::endl; return true; } else if (strstr(obj->GetName(), "DQMPATCH")) { if (verbose_) std::cout << "DQM patch version: " << obj->GetName() << std::endl; return true; } else { std::cout << "*** DQMStore: WARNING: cannot extract object '" << obj->GetName() << "' of type '" << obj->IsA()->GetName() << "'\n"; return false; } } std::string label = m.matchString(obj->GetName(), 1); std::string kind = m.matchString(obj->GetName(), 2); std::string value = m.matchString(obj->GetName(), 3); if (kind == "i") { MonitorElement *me = findObject(dir, label); if (! me || overwrite) { if (! me) me = bookInt(dir, label); me->Fill(atoll(value.c_str())); } } else if (kind == "f") { MonitorElement *me = findObject(dir, label); if (! me || overwrite) { if (! me) me = bookFloat(dir, label); me->Fill(atof(value.c_str())); } } else if (kind == "s") { MonitorElement *me = findObject(dir, label); if (! me) me = bookString(dir, label, value); else if (overwrite) me->Fill(value); } else if (kind == "e") { MonitorElement *me = findObject(dir, label); if (! me) { std::cout << "*** DQMStore: WARNING: no monitor element '" << label << "' in directory '" << dir << "' to be marked as efficiency plot.\n"; return false; } me->setEfficiencyFlag(); } else if (kind == "t") { MonitorElement *me = findObject(dir, label); if (! me) { std::cout << "*** DQMStore: WARNING: no monitor element '" << label << "' in directory '" << dir << "' for a tag\n"; return false; } errno = 0; char *endp = 0; unsigned long val = strtoul(value.c_str(), &endp, 10); if ((val == 0 && errno) || *endp || val > ~uint32_t(0)) { std::cout << "*** DQMStore: WARNING: cannot restore tag '" << value << "' for monitor element '" << label << "' in directory '" << dir << "' - invalid value\n"; return false; } tag(me, val); } else if (kind == "qr") { // Handle qreports, but skip them while reading in references. if (! isSubdirectory(s_referenceDirName, dir)) { size_t dot = label.find('.'); if (dot == std::string::npos) { std::cout << "*** DQMStore: WARNING: quality report label in '" << label << "' is missing a '.' and cannot be extracted\n"; return false; } std::string mename (label, 0, dot); std::string qrname (label, dot+1, std::string::npos); m.reset(); DQMNet::QValue qv; if (s_rxmeqr1.match(value, 0, 0, &m)) { qv.code = atoi(m.matchString(value, 1).c_str()); qv.qtresult = strtod(m.matchString(value, 2).c_str(), 0); qv.message = m.matchString(value, 4); qv.qtname = qrname; qv.algorithm = m.matchString(value, 3); } else if (s_rxmeqr2.match(value, 0, 0, &m)) { qv.code = atoi(m.matchString(value, 1).c_str()); qv.qtresult = 0; // unavailable in old format qv.message = m.matchString(value, 2); qv.qtname = qrname; // qv.algorithm unavailable in old format } else { std::cout << "*** DQMStore: WARNING: quality test value '" << value << "' is incorrectly formatted\n"; return false; } MonitorElement *me = findObject(dir, mename); if (! me) { std::cout << "*** DQMStore: WARNING: no monitor element '" << mename << "' in directory '" << dir << "' for quality test '" << label << "'\n"; return false; } me->addQReport(qv, /* FIXME: getQTest(qv.qtname)? */ 0); } } else { std::cout << "*** DQMStore: WARNING: cannot extract object '" << obj->GetName() << "' of type '" << obj->IsA()->GetName() << "'\n"; return false; } } else if (TNamed *n = dynamic_cast<TNamed *>(obj)) { // For old DQM data. std::string s; s.reserve(6 + strlen(n->GetTitle()) + 2*strlen(n->GetName())); s += '<'; s += n->GetName(); s += '>'; s += n->GetTitle(); s += '<'; s += '/'; s += n->GetName(); s += '>'; TObjString os(s.c_str()); return extract(&os, dir, overwrite); } else { std::cout << "*** DQMStore: WARNING: cannot extract object '" << obj->GetName() << "' of type '" << obj->IsA()->GetName() << "' and with title '" << obj->GetTitle() << "'\n"; return false; } // If we just read in a reference monitor element, and there is a // monitor element with the same name, link the two together. The // other direction is handled by the initialise() method. if (refcheck && isSubdirectory(s_referenceDirName, dir)) { std::string mdir(dir, s_referenceDirName.size()+1, std::string::npos); if (MonitorElement *master = findObject(mdir, obj->GetName())) { master->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE; master->reference_ = refcheck->object_; } } return true; }
MonitorElement * DQMStore::findObject | ( | const std::string & | dir, |
const std::string & | name | ||
) | const [private] |
get MonitorElement <name> in directory <dir> (null if MonitorElement does not exist)
Definition at line 1598 of file DQMStore.cc.
References data_, MonitorElement::data_, dir, DQMNet::CoreObject::dirname, mergeVDriftHistosByStation::name, DQMNet::CoreObject::objname, raiseDQMError(), and s_safe.
Referenced by book(), bookFloat(), bookInt(), bookString(), extract(), makeDirectory(), and tag().
{ if (dir.find_first_not_of(s_safe) != std::string::npos) raiseDQMError("DQMStore", "Monitor element path name '%s' uses" " unacceptable characters", dir.c_str()); if (name.find_first_not_of(s_safe) != std::string::npos) raiseDQMError("DQMStore", "Monitor element path name '%s' uses" " unacceptable characters", name.c_str()); MonitorElement proto; proto.data_.dirname = &dir; proto.data_.objname = name; MEMap::const_iterator mepos = data_.find(proto); return (mepos == data_.end() ? 0 : const_cast<MonitorElement *>(&*mepos)); }
void DQMStore::forceReset | ( | void | ) | [private] |
Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.
Definition at line 1751 of file DQMStore.cc.
References data_, MonitorElement::Reset(), reset_, and MonitorElement::resetUpdate().
Referenced by DQMStore().
{ MEMap::iterator mi = data_.begin(); MEMap::iterator me = data_.end(); for ( ; mi != me; ++mi) { MonitorElement &me = const_cast<MonitorElement &>(*mi); me.Reset(); me.resetUpdate(); } reset_ = true; }
std::vector< MonitorElement * > DQMStore::get | ( | unsigned int | tag | ) | const |
get all MonitorElements tagged as <tag>
Definition at line 1481 of file DQMStore.cc.
References data_, MonitorElement::data_, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, DQMNet::CoreObject::flags, i, query::result, DQMNet::CoreObject::tag, and tag().
{ // FIXME: Use reverse map [tag -> path] / [tag -> dir]? std::vector<MonitorElement *> result; for (MEMap::const_iterator i = data_.begin(), e = data_.end(); i != e; ++i) { const MonitorElement &me = *i; if ((me.data_.flags & DQMNet::DQM_PROP_TAGGED) && me.data_.tag == tag) result.push_back(const_cast<MonitorElement *>(&me)); } return result; }
MonitorElement * DQMStore::get | ( | const std::string & | path | ) | const |
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition at line 1468 of file DQMStore.cc.
References data_, dir, mergeVDriftHistosByStation::name, and splitPath().
Referenced by HistoProviderDQM::access(), SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), EBTriggerTowerClient::analyze(), SiPixelClusterSource::analyze(), HcalDigiClient::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), EcalBarrelMonitorClient::analyze(), EESummaryClient::analyze(), EBClusterClient::analyze(), EETrendClient::analyze(), HcalRecHitClient::analyze(), EBTimingClient::analyze(), EEClusterClient::analyze(), EELaserClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), EEIntegrityClient::analyze(), EEStatusFlagsClient::analyze(), EETestPulseClient::analyze(), HcalBaseDQMonitor::analyze(), EBStatusFlagsClient::analyze(), EEPedestalOnlineClient::analyze(), SiPixelDigiSource::analyze(), EBCosmicClient::analyze(), EBSummaryClient::analyze(), HcalSummaryClient::analyze(), EBOccupancyClient::analyze(), EBTrendClient::analyze(), EETriggerTowerClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EcalEndcapMonitorClient::analyze(), EELedClient::analyze(), ZDCMonitorClient::analyze(), RPCDBPopConAnalyzer::analyze(), EEOccupancyClient::analyze(), SiPixelRawDataErrorSource::analyze(), EBIntegrityClient::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), EECosmicClient::analyze(), GeneralHLTOffline::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), L1EmulatorErrorFlagClient::beginJob(), L1TEventInfoClient::beginJob(), HLTMonPhotonClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), BeamMonitor::beginJob(), HLTMonElectronConsumer::beginJob(), HLTEventInfoClient::beginJob(), SiPixelEDAClient::beginLuminosityBlock(), ZDCMonitorClient::beginRun(), RPCOccupancyTest::beginRun(), RPCMonitorDigi::beginRun(), RPCBxTest::beginRun(), HLTMuonPlotter::beginRun(), RPCMultiplicityTest::beginRun(), RPCEventSummary::beginRun(), RPCChamberQuality::beginRun(), RPCDeadChannelTest::beginRun(), HcalSummaryClient::beginRun(), RPCClusterSizeTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), EcalBarrelMonitorClient::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), RPCRecHitProbability::beginRun(), EcalEndcapMonitorClient::beginRun(), CalibrationTask::book(), CalibrationScanTask::book(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), SiPixelDataQuality::bookGlobalQualityFlag(), L1TEMUEventInfoClient::bookHistograms(), DTSegmentAnalysisTask::bookHistos(), RPCMonitorDigi::bookRegionME(), BeamMonitorBx::BookTables(), BeamMonitorBx::BookTrendHistos(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), RPCEventSummary::clientOperation(), RPCOccupancyTest::clientOperation(), EMShower::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline::countHLTPathHitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), PFClient::createEfficiencyPlots(), createH2CompTest(), createH2ContentTest(), EgHLTOfflineClient::createHLTvsOfflineHists(), EgHLTOfflineClient::createLooseTightTrigEff(), EgHLTOfflineClient::createN1EffHists(), PFClient::createResolutionPlots(), SiStripActionExecutor::createShiftReport(), TopElectronHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists2Leg(), EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo(), dqmCopyRecursively(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), SiPixelActionExecutor::dumpBarrelRefValues(), L1TEMUEventInfoClient::dumpContentMonitorElements(), SiPixelActionExecutor::dumpEndcapRefValues(), EMShower::EMShower(), EcalBarrelMonitorModule::endJob(), MuonIsolationDQM::endJob(), HcalMonitorModule::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), MuIsoValidation::endJob(), MuonAlignment::endJob(), HcalSimHitsValidation::endJob(), EcalEndcapMonitorModule::endJob(), ZDCMonitorModule::endJob(), HarvestingAnalyzer::endJob(), AlcaBeamMonitorClient::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), SiPixelCertification::endRun(), MuonAlignmentSummary::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), RPCRecHitValidClient::endRun(), JetMETDQMPostProcessor::endRun(), CSCOfflineClient::endRun(), DQMDcsInfoClient::endRun(), TauDQMHistPlotter::endRun(), RPCRecHitProbabilityClient::endRun(), FourVectorHLTClient::endRun(), EcalEndcapMonitorClient::endRun(), TopHLTDiMuonDQMClient::endRun(), EEDataCertificationTask::endRun(), RPCEfficiencyPerRingLayer::endRun(), HLTTauCertifier::endRun(), EcalBarrelMonitorClient::endRun(), RPCEfficiencyShiftHisto::endRun(), PhotonDataCertification::endRun(), EBDataCertificationTask::endRun(), EcalZmassClient::endRun(), TauDQMHistEffProducer::endRun(), HLTMuonCertSummary::endRun(), HltSusyExoPostProcessor::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencySecond::endRun(), HLTOverallSummary::endRun(), CommissioningHistograms::extractHistograms(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), SiPixelRawDataErrorModule::fill(), TrigResRateMon::fillCountsPerPath(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelRawDataErrorModule::fillFED(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), DQMFEDIntegrityClient::fillHistograms(), GeneralHLTOffline::fillHltMatrix(), FourVectorHLTOffline::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), EgHLTOfflineClient::FillHLTvsOfflineHist(), SiPixelInformationExtractor::fillModuleAndHistoList(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), StorageAccount::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), TrigResRateMon::fillXsecPerDataset(), PFDQMEventSelector::filter(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), ElectronDqmAnalyzerBase::get(), L1TGMTClient::get1DHisto(), HLTEventInfoClient::get1DHisto(), FourVectorHLTClient::get1DHisto(), FourVectorHLTClient::get1DProfile(), HLTEventInfoClient::get1DProfile(), HLTEventInfoClient::get2DHisto(), L1TGMTClient::get2DHisto(), FourVectorHLTClient::get2DHisto(), FourVectorHLTClient::get2DProfile(), HLTEventInfoClient::get2DProfile(), getAnyHisto(), SiPixelActionExecutor::getData(), EDMtoMEConverter::getData(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), HcalRawDataClient::getHardwareSpaceHistos(), getHisto(), getHisto2(), EmDQMPostProcessor::getHistogram(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), rpcdqmclient::clientTools::getMEs(), SiStripQualityChecker::getModuleStatus(), RPCDqmClient::getMonitorElements(), SiStripSummaryCreator::getSummaryME(), getTH1F(), L1TDTTFClient::getTH1F(), L1TDTTFClient::getTH2F(), getTH2F(), getTH3F(), getTProfile(), getTProfile2D(), ContentReader::give_files(), ContentReader::give_ME(), CommissioningHistograms::histogram(), htmlErrors(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), HcalBaseDQMonitor::IsAllowedCalibType(), TkHistoMap::loadTkHistoMap(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), SiPixelHistoPlotter::makePlot(), SiStripHistoPlotter::makePlot(), PlotCombiner::makePlot(), TrigResRateMon::normalizeHLTMatrix(), DQMClientExample::performClient(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), SiStripInformationExtractor::plotHistosFromLayout(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printShiftHistoParameters(), QTestStatusChecker::processAlarms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), edm::EventStreamHttpReader::read(), L1TEMUEventInfoClient::readQtResults(), RPCFEDIntegrity::reset(), CastorLEDMonitor::reset(), resetME(), ecaldqm::MESetEcal::retrieve(), ecaldqm::MESetNonObject::retrieve(), SiPixelHistoricInfoEDAClient::retrieveMEs(), SiPixelHistoricInfoDQMClient::retrieveMEs(), PhotonOfflineClient::runClient(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), CommissioningHistograms::runNumber(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), SamplingHistograms::SamplingHistograms(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), L1EmulatorErrorFlagClient::setSummary(), EcalBarrelMonitorClient::softReset(), EcalEndcapMonitorClient::softReset(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), DTDataIntegrityTask::TimeHistos(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), and SubTaskSummaryStatus::WriteThreshold().
{ std::string dir; std::string name; splitPath(dir, name, path); MonitorElement proto(&dir, name); MEMap::const_iterator mepos = data_.find(proto); return (mepos == data_.end() ? 0 : const_cast<MonitorElement *>(&*mepos)); }
std::vector< MonitorElement * > DQMStore::getAllContents | ( | const std::string & | path | ) | const |
get vector with children of folder, including all subfolders + their children; must use an exact pathname
Definition at line 1672 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), and query::result.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), HcalDAQInfo::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), HcalDataCertification::beginJob(), SiStripDQMProfileToTkMapConverter::beginRun(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), MEtoEDMConverter::beginRun(), SiStripQualityHotStripIdentifierRoot::bookHistos(), HcalDataCertification::CertifyHcal(), DQMHistoryServiceBase::createSummary(), MEtoEDMConverter::endJob(), HcalDAQInfo::endLuminosityBlock(), DataCertificationJetMET::endRun(), DQMHistNormalizer::endRun(), StatisticsFilter::filter(), HcalBaseDQClient::htmlOutput(), MEtoEDMConverter::putData(), SiStripNoisesDQMService::readNoises(), SiStripPedestalsDQMService::readPedestals(), HcalRecHitMonitor::reset(), EcalBarrelMonitorClient::softReset(), and EcalEndcapMonitorClient::softReset().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); MonitorElement proto(cleaned, std::string()); std::vector<MonitorElement *> result; MEMap::const_iterator e = data_.end(); MEMap::const_iterator i = data_.lower_bound(proto); for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i) result.push_back(const_cast<MonitorElement *>(&*i)); return result; }
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 1619 of file DQMStore.cc.
References data_, dirs_, DQMNet::DQM_PROP_TAGGED, isSubdirectory(), and m.
Referenced by EDMtoMEConverter::getData().
{ into.clear(); into.reserve(dirs_.size()); MEMap::const_iterator me = data_.end(); std::set<std::string>::const_iterator di = dirs_.begin(); std::set<std::string>::const_iterator de = dirs_.end(); char tagbuf[32]; // more than enough for '/' and up to 10 digits for ( ; di != de; ++di) { MonitorElement proto(&*di, std::string()); MEMap::const_iterator mi = data_.lower_bound(proto); MEMap::const_iterator m = mi; size_t sz = di->size() + 2; size_t nfound = 0; for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m) if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED)) { // the tags count for '/' + up to 10 digits, otherwise ',' + ME name sz += 1 + m->data_.objname.size() + 11; ++nfound; } if (! nfound) continue; std::vector<std::string>::iterator istr = into.insert(into.end(), std::string()); istr->reserve(sz); *istr += *di; *istr += ':'; for (sz = 0; mi != m; ++mi) { if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED)) { sprintf(tagbuf, "/%u", mi->data_.tag); if (sz > 0) *istr += ','; *istr += m->data_.objname; *istr += tagbuf; ++sz; } } } }
std::vector< MonitorElement * > DQMStore::getContents | ( | const std::string & | path, |
unsigned int | tag | ||
) | const |
same as above for tagged MonitorElements
Definition at line 1516 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, i, isSubdirectory(), query::result, and tag().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); MonitorElement proto(cleaned, std::string()); std::vector<MonitorElement *> result; MEMap::const_iterator e = data_.end(); MEMap::const_iterator i = data_.lower_bound(proto); for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i) if (*cleaned == *i->data_.dirname && (i->data_.flags & DQMNet::DQM_PROP_TAGGED) && i->data_.tag == tag) result.push_back(const_cast<MonitorElement *>(&*i)); return result; }
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 1497 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), and query::result.
Referenced by SiStripCommissioningOfflineClient::beginRun(), ecaldqm::MESetChannel::checkDirectory(), SiPixelActionExecutor::checkQTestResults(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTClient::endRun(), CommissioningHistograms::extractHistograms(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), SiStripCertificationInfo::fillTrackingCertificationMEs(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), FUShmDQMOutputService::findMonitorElements(), QTestStatusChecker::fullPathNames(), SiStripInformationExtractor::getCondDBHistos(), SiStripInformationExtractor::getGlobalHistos(), SiPixelInformationExtractor::getHistosFromPath(), SiStripInformationExtractor::getHistosFromPath(), SiStripInformationExtractor::getSingleModuleHistos(), SiStripInformationExtractor::getTrackerMapHistos(), SiPixelInformationExtractor::getTrackerMapHistos(), SiStripHistoPlotter::makeCondDBPlots(), SiStripActionExecutor::printFaultyModuleList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readStatusMessage(), SiPixelInformationExtractor::readStatusMessage(), PhotonOfflineClient::retrieveHisto(), SiPixelHistoricInfoEDAClient::retrieveMEs(), SiPixelHistoricInfoDQMClient::retrieveMEs(), HcalNoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), JetMETHLTOfflineClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsDQMClient::runClient_(), CaloTowersClient::runClient_(), BTagHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and showDirStructure().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); MonitorElement proto(cleaned, std::string()); std::vector<MonitorElement *> result; MEMap::const_iterator e = data_.end(); MEMap::const_iterator i = data_.lower_bound(proto); for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i) if (*cleaned == *i->data_.dirname) result.push_back(const_cast<MonitorElement *>(&*i)); return result; }
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 1540 of file DQMStore.cc.
References data_, dirs_, isSubdirectory(), and m.
{ into.clear(); into.reserve(dirs_.size()); MEMap::const_iterator me = data_.end(); std::set<std::string>::const_iterator di = dirs_.begin(); std::set<std::string>::const_iterator de = dirs_.end(); for ( ; di != de; ++di) { MonitorElement proto(&*di, std::string()); MEMap::const_iterator mi = data_.lower_bound(proto); MEMap::const_iterator m = mi; size_t sz = di->size() + 2; size_t nfound = 0; for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m) if (*di == *m->data_.dirname) { sz += m->data_.objname.size() + 1; ++nfound; } if (! nfound) continue; std::vector<std::string>::iterator istr = into.insert(into.end(), std::string()); if (showContents) { istr->reserve(sz); *istr += *di; *istr += ':'; for (sz = 0; mi != m; ++mi) { if (*di != *mi->data_.dirname) continue; if (sz > 0) *istr += ','; *istr += mi->data_.objname; ++sz; } } else { istr->reserve(di->size() + 2); *istr += *di; *istr += ':'; } } }
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 1691 of file DQMStore.cc.
References data_, alignCSCRings::e, i, mergePath(), scaleCards::path, raiseDQMError(), query::result, and corrVsCorr::rx.
Referenced by DQMStoreStats::calcstats(), EgHLTOfflineSummaryClient::getQTestResults_(), and DQMFileSaver::saveForOnline().
{ lat::Regexp rx; try { rx = lat::Regexp(pattern, 0, syntaxType); rx.study(); } catch (lat::Error &e) { raiseDQMError("DQMStore", "Invalid regular expression '%s': %s", pattern.c_str(), e.explain().c_str()); } std::string path; std::vector<MonitorElement *> result; MEMap::const_iterator i = data_.begin(); MEMap::const_iterator e = data_.end(); for ( ; i != e; ++i) { path.clear(); mergePath(path, *i->data_.dirname, i->data_.objname); if (rx.match(path)) result.push_back(const_cast<MonitorElement *>(&*i)); } return result; }
std::vector< std::string > DQMStore::getMEs | ( | void | ) | const |
get list of (non-dir) MEs of current directory
Definition at line 1442 of file DQMStore.cc.
References data_, alignCSCRings::e, i, isSubdirectory(), pwd_, and query::result.
Referenced by SiPixelDigiSource::analyze(), CalibrationTask::book(), CalibrationScanTask::book(), SiPixelDataQuality::computeGlobalQualityFlag(), dqmCopyRecursively(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), CSCOfflineClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), StorageAccount::fillSummary(), ElectronDqmAnalyzerBase::find(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripUtility::getMEList(), SiStripSummaryCreator::getSummaryME(), ContentReader::give_files(), SiPixelWebInterface::handleEDARequest(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printSummaryHistoList(), L1TRPCTFClient::processHistograms(), SiStripInformationExtractor::readLayoutNames(), JetMETDQMOfflineClient::runClient_(), and SiPixelInformationExtractor::selectMEList().
{ MonitorElement proto(&pwd_, std::string()); std::vector<std::string> result; MEMap::const_iterator e = data_.end(); MEMap::const_iterator i = data_.lower_bound(proto); for ( ; i != e && isSubdirectory(pwd_, *i->data_.dirname); ++i) if (pwd_ == *i->data_.dirname) result.push_back(i->getName()); return result; }
QCriterion * DQMStore::getQCriterion | ( | const std::string & | qtname | ) | const |
get QCriterion corresponding to <qtname> (null pointer if QCriterion does not exist)
Definition at line 2597 of file DQMStore.cc.
References alignCSCRings::e, i, and qtests_.
Referenced by createH2CompTest(), createH2ContentTest(), createMeanValueTest(), createXRangeTest(), createYRangeTest(), QTestConfigure::EnableComp2RefChi2Test(), QTestConfigure::EnableComp2RefEqualHTest(), QTestConfigure::EnableComp2RefKolmogorovTest(), QTestConfigure::EnableCompareLastFilledBinTest(), QTestConfigure::EnableCompareToMedianTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), QTestConfigure::EnableYRangeTest(), and useQTestByMatch().
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 2703 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, dqm::qstatus::ERROR, isSubdirectory(), dqm::qstatus::OTHER, ntuplemaker::status, dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by QTestStatusChecker::checkGlobalStatus(), and SiStripInformationExtractor::printAlarmList().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); int status = dqm::qstatus::STATUS_OK; MEMap::const_iterator mi = data_.begin(); MEMap::const_iterator me = data_.end(); for ( ; mi != me; ++mi) { if (! cleaned->empty() && ! isSubdirectory(*cleaned, *mi->data_.dirname)) continue; if (mi->hasError()) return dqm::qstatus::ERROR; else if (mi->hasWarning()) status = dqm::qstatus::WARNING; else if (status < dqm::qstatus::WARNING && mi->hasOtherReport()) status = dqm::qstatus::OTHER; } return status; }
std::vector< std::string > DQMStore::getSubdirs | ( | void | ) | const |
get list of subdirectories of current directory
Definition at line 1419 of file DQMStore.cc.
References dirs_, alignCSCRings::e, i, isSubdirectory(), pwd_, and query::result.
Referenced by SiPixelDigiSource::analyze(), SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiStripSummaryCreator::createSummary(), dqmCopyRecursively(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), DataCertificationJetMET::endRun(), JetMETDQMPostProcessor::endRun(), FourVectorHLTClient::endRun(), TauDQMFileLoader::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), DQMGenericTnPClient::findAllSubdirectories(), FUShmDQMOutputService::findMonitorElements(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), ContentReader::give_subdirs(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readLayoutNames(), ElectronDqmAnalyzerBase::remove_other_dirs(), HcalNoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsDQMClient::runClient_(), CaloTowersClient::runClient_(), BTagHLTOfflineClient::runClient_(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and HLXMonitor::SetupHists().
{ std::vector<std::string> result; std::set<std::string>::const_iterator e = dirs_.end(); std::set<std::string>::const_iterator i = dirs_.find(pwd_); // If we didn't find current directory, the tree is empty, so quit. if (i == e) return result; // Skip the current directory and then start looking for immediate // subdirectories in the dirs_ list. Stop when we are no longer in // (direct or indirect) subdirectories of pwd_. Note that we don't // "know" which order the set will sort A/B, A/B/C and A/D. while (++i != e && isSubdirectory(pwd_, *i)) if (i->find('/', pwd_.size()+1) == std::string::npos) result.push_back(*i); return result; }
void DQMStore::goUp | ( | void | ) |
equivalent to "cd .."
Definition at line 440 of file DQMStore.cc.
References pos, pwd_, and setCurrentFolder().
Referenced by MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiStripSummaryCreator::createSummary(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiPixelInformationExtractor::findNoisyPixels(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), and SiPixelInformationExtractor::selectMEList().
{ size_t pos = pwd_.rfind('/'); if (pos == std::string::npos) setCurrentFolder(""); else setCurrentFolder(pwd_.substr(0, pos)); }
MonitorElement* DQMStore::initialise | ( | MonitorElement * | me, |
const std::string & | path | ||
) | [private] |
Referenced by book().
void DQMStore::initializeFrom | ( | const edm::ParameterSet & | pset | ) | [private] |
Definition at line 295 of file DQMStore.cc.
References collateHistograms_, gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), makeDirectory(), qalgos_, readFile(), reset(), s_referenceDirName, StripRunDirs, verbose_, and verboseQT_.
Referenced by DQMStore().
{ makeDirectory(""); reset(); // set steerable parameters verbose_ = pset.getUntrackedParameter<int>("verbose", 0); if (verbose_ > 0) std::cout << "DQMStore: verbosity set to " << verbose_ << std::endl; verboseQT_ = pset.getUntrackedParameter<int>("verboseQT", 0); if (verbose_ > 0) std::cout << "DQMStore: QTest verbosity set to " << verboseQT_ << std::endl; collateHistograms_ = pset.getUntrackedParameter<bool>("collateHistograms", false); if (collateHistograms_) std::cout << "DQMStore: histogram collation is enabled\n"; std::string ref = pset.getUntrackedParameter<std::string>("referenceFileName", ""); if (! ref.empty()) { std::cout << "DQMStore: using reference file '" << ref << "'\n"; readFile(ref, true, "", s_referenceDirName, StripRunDirs, false); } initQCriterion<Comp2RefChi2>(qalgos_); initQCriterion<Comp2RefKolmogorov>(qalgos_); initQCriterion<ContentsXRange>(qalgos_); initQCriterion<ContentsYRange>(qalgos_); initQCriterion<MeanWithinExpected>(qalgos_); initQCriterion<Comp2RefEqualH>(qalgos_); initQCriterion<DeadChannel>(qalgos_); initQCriterion<NoisyChannel>(qalgos_); initQCriterion<ContentsWithinExpected>(qalgos_); initQCriterion<CompareToMedian>(qalgos_); initQCriterion<CompareLastFilledBin>(qalgos_); }
bool DQMStore::isCollateME | ( | MonitorElement * | me | ) | const [private] |
Definition at line 2781 of file DQMStore.cc.
References MonitorElement::data_, DQMNet::CoreObject::dirname, isSubdirectory(), and s_collateDirName.
Referenced by extract().
{ return me && isSubdirectory(s_collateDirName, *me->data_.dirname); }
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 2447 of file DQMStore.cc.
References collateHistograms_, gather_cfg::cout, readFile(), and verbose_.
Referenced by DQMFileReader::beginJob(), and ReadMeFromFile::beginRun().
{ bool overwrite = true; if (collateHistograms_) overwrite = false; if (verbose_) { std::cout << "DQMStore::load: reading from file '" << filename << "'\n"; if (collateHistograms_) std::cout << "DQMStore::load: in collate mode " << "\n"; else std::cout << "DQMStore::load: in overwrite mode " << "\n"; } return readFile(filename,overwrite,"","",stripdirs,fileMustExist); }
void DQMStore::makeDirectory | ( | const std::string & | path | ) | [private] |
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition at line 452 of file DQMStore.cc.
References dirs_, findObject(), mergeVDriftHistosByStation::name, raiseDQMError(), and pickleFileParser::slash.
Referenced by initializeFrom(), readDirectory(), and setCurrentFolder().
{ std::string prev; std::string subdir; std::string name; prev.reserve(path.size()); subdir.reserve(path.size()); name.reserve(path.size()); size_t prevname = 0; size_t slash = 0; while (true) { // Create this subdirectory component. subdir.clear(); subdir.append(path, 0, slash); name.clear(); name.append(subdir, prevname, std::string::npos); if (! prev.empty() && findObject(prev, name)) raiseDQMError("DQMStore", "Attempt to create subdirectory '%s'" " which already exists as a monitor element", subdir.c_str()); if (! dirs_.count(subdir)) dirs_.insert(subdir); // Stop if we've reached the end (including possibly a trailing slash). if (slash+1 >= path.size()) break; // Find the next slash, making sure we progress. If reach the end, // process the last path component; the next loop round will terminate. prevname = slash ? slash+1 : slash; prev = subdir; if ((slash = path.find('/', ++slash)) == std::string::npos) slash = path.size(); } }
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 2432 of file DQMStore.cc.
References readFile().
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), ElectronDqmAnalyzerBase::beginJob(), HcalMonitorClient::beginJob(), EcalBarrelMonitorClient::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), EcalEndcapMonitorClient::beginJob(), DQMFileReader::beginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), SiStripCommissioningOfflineClient::beginRun(), TauDQMFileLoader::endRun(), SiPixelHistoricInfoDQMClient::endRun(), SiStripOfflineDQM::openInputFile(), PFDQMEventSelector::openInputFile(), SiStripBadComponentsDQMService::openRequestedFile(), DQMHistoryServiceBase::openRequestedFile(), BuildTrackerMapPlugin::read(), PhotonOfflineClient::runClient(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), and StatisticsFilter::StatisticsFilter().
void DQMStore::print_trace | ( | const std::string & | dir, |
const std::string & | name | ||
) | [private] |
Definition at line 342 of file DQMStore.cc.
References i, m, alignCSCRings::r, s_rxtrace(), findQualityFiles::size, and verbose_.
Referenced by book().
{ static std::ofstream stream("histogramBookingBT.log"); void *array[10]; size_t size; char **strings; int r=0; lat::RegexpMatch m; m.reset(); size = backtrace (array, 10); strings = backtrace_symbols (array, size); if ((size > 4) &&s_rxtrace.match(strings[4], 0, 0, &m)) { char * demangled = abi::__cxa_demangle(m.matchString(strings[4], 2).c_str(), 0, 0, &r); stream << "\"" << dir << "/" << name << "\" " << (r ? m.matchString(strings[4], 2) : demangled) << " " << m.matchString(strings[4], 1) << "\n"; free(demangled); } else stream << "Skipping "<< dir << "/" << name << " with stack size " << size << "\n"; /* In this case print the full stack trace, up to main or to the * maximum stack size, i.e. 10. */ if (verbose_ > 4) { size_t i; m.reset(); for (i = 0; i < size; i++) if (s_rxtrace.match(strings[i], 0, 0, &m)) { char * demangled = abi::__cxa_demangle(m.matchString(strings[i], 2).c_str(), 0, 0, &r); stream << "\t\t" << i << "/" << size << " " << (r ? m.matchString(strings[i], 2) : demangled) << " " << m.matchString(strings[i], 1) << std::endl; free (demangled); } } free (strings); }
const std::string & DQMStore::pwd | ( | void | ) | const |
return pathname of current directory
Definition at line 401 of file DQMStore.cc.
References pwd_.
Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), ecaldqm::MESetChannel::append_(), HcalDAQInfo::beginJob(), SiStripSpyMonitorModule::beginJob(), HcalDataCertification::beginJob(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), CalibrationScanTask::book(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), BTagDifferentialPlot::bookHisto(), RPCValidHistograms::bookHistograms(), SiPixelDigiSource::bookMEs(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), SiPixelDataQuality::computeGlobalQualityFlag(), SiStripTrackerMapCreator::createForOffline(), SiPixelActionExecutor::createLayout(), SiStripSummaryCreator::createSummary(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), DQMHcalIsoTrackPostProcessor::endJob(), HcalDAQInfo::endLuminosityBlock(), DataCertificationJetMET::endRun(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripQualityChecker::getModuleStatus(), SiStripInformationExtractor::getSingleModuleHistos(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::getTopFolderPath(), SiPixelInformationExtractor::getTrackerMapHistos(), ContentReader::give_files(), ContentReader::give_subdirs(), SiStripUtility::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::goToDir(), SiStripBadComponentsDQMService::goToDir(), CommissioningHistograms::histogram(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), ElectronDqmAnalyzerBase::remove_other_dirs(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), and SubTaskSummaryStatus::WriteThreshold().
{ return pwd_; }
unsigned int DQMStore::readDirectory | ( | TFile * | file, |
bool | overwrite, | ||
const std::string & | onlypath, | ||
const std::string & | prepend, | ||
const std::string & | curdir, | ||
OpenRunDirs | stripdirs | ||
) | [private] |
read ROOT objects from file <file> in directory <onlypath>; return total # of ROOT objects read
Definition at line 2277 of file DQMStore.cc.
References prof2calltree::count, gather_cfg::cout, extract(), isSubdirectory(), combine::key, makeDirectory(), GetRecoTauVFromDQM_MC_cff::next, getGTfromDQMFile::obj, pos, raiseDQMError(), s_collateDirName, s_monitorDirName, s_referenceDirName, createPayload::skip, pickleFileParser::slash, StripRunDirs, and verbose_.
Referenced by readFile().
{ unsigned int ntot = 0; unsigned int count = 0; if (! file->cd(curdir.c_str())) raiseDQMError("DQMStore", "Failed to process directory '%s' while" " reading file '%s'", curdir.c_str(), file->GetName()); // Figure out current directory name, but strip out the top // directory into which we dump everything. std::string dirpart = curdir; if (dirpart.compare(0, s_monitorDirName.size(), s_monitorDirName) == 0) { if (dirpart.size() == s_monitorDirName.size()) dirpart.clear(); else if (dirpart[s_monitorDirName.size()] == '/') dirpart.erase(0, s_monitorDirName.size()+1); } // See if we are going to skip this directory. bool skip = (! onlypath.empty() && ! isSubdirectory(onlypath, dirpart)); if (prepend == s_collateDirName || prepend == s_referenceDirName || stripdirs == StripRunDirs ) { // Remove Run # and RunSummary dirs // first look for Run summary, // if that is found and erased, also erase Run dir size_t slash = dirpart.find('/'); size_t pos = dirpart.find("/Run summary"); if (slash != std::string::npos && pos !=std::string::npos) { dirpart.erase(pos,12); pos = dirpart.find("Run "); size_t length = dirpart.find('/',pos+1)-pos+1; if (pos !=std::string::npos) dirpart.erase(pos,length); } } // If we are prepending, add it to the directory name, // and suppress reading of already existing reference histograms if (prepend == s_collateDirName || prepend == s_referenceDirName) { size_t slash = dirpart.find('/'); // If we are reading reference, skip previous reference. if (slash == std::string::npos // skip if Reference is toplevel folder, i.e. no slash && slash+1+s_referenceDirName.size() == dirpart.size() && dirpart.compare(slash+1, s_referenceDirName.size(), s_referenceDirName) == 0) return 0; slash = dirpart.find('/'); // Skip reading of EventInfo subdirectory. if (slash != std::string::npos && slash + 10 == dirpart.size() && dirpart.compare( slash+1 , 9 , "EventInfo") == 0) { if (verbose_) std::cout << "DQMStore::readDirectory: skipping '" << dirpart << "'\n"; return 0; } // Add prefix. if (dirpart.empty()) dirpart = prepend; else dirpart = prepend + '/' + dirpart; } else if (! prepend.empty()) { if (dirpart.empty()) dirpart = prepend; else dirpart = prepend + '/' + dirpart; } // Loop over the contents of this directory in the file. // Post-pone string object handling to happen after other // objects have been read in so we are guaranteed to have // histograms by the time we read in quality tests and tags. TKey *key; TIter next (gDirectory->GetListOfKeys()); std::list<TObject *> delayed; while ((key = (TKey *) next())) { std::auto_ptr<TObject> obj(key->ReadObj()); if (dynamic_cast<TDirectory *>(obj.get())) { std::string subdir; subdir.reserve(curdir.size() + strlen(obj->GetName()) + 2); subdir += curdir; if (! curdir.empty()) subdir += '/'; subdir += obj->GetName(); ntot += readDirectory(file, overwrite, onlypath, prepend, subdir, stripdirs); } else if (skip) ; else if (dynamic_cast<TObjString *>(obj.get())) { delayed.push_back(obj.release()); } else { if (verbose_ > 2) std::cout << "DQMStore: reading object '" << obj->GetName() << "' of type '" << obj->IsA()->GetName() << "' from '" << file->GetName() << "' into '" << dirpart << "'\n"; makeDirectory(dirpart); if (extract(obj.get(), dirpart, overwrite)) ++count; } } while (! delayed.empty()) { if (verbose_ > 2) std::cout << "DQMStore: reading object '" << delayed.front()->GetName() << "' of type '" << delayed.front()->IsA()->GetName() << "' from '" << file->GetName() << "' into '" << dirpart << "'\n"; makeDirectory(dirpart); if (extract(delayed.front(), dirpart, overwrite)) ++count; delete delayed.front(); delayed.pop_front(); } if (verbose_ > 1) std::cout << "DQMStore: read " << count << '/' << ntot << " objects from directory '" << dirpart << "'\n"; return ntot + count; }
bool DQMStore::readFile | ( | const std::string & | filename, |
bool | overwrite = false , |
||
const std::string & | onlypath = "" , |
||
const std::string & | prepend = "" , |
||
OpenRunDirs | stripdirs = StripRunDirs , |
||
bool | fileMustExist = true |
||
) | [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 2472 of file DQMStore.cc.
References gather_cfg::cout, data_, exception, f, n, raiseDQMError(), readDirectory(), and verbose_.
Referenced by initializeFrom(), load(), and open().
{ if (verbose_) std::cout << "DQMStore::readFile: reading from file '" << filename << "'\n"; std::auto_ptr<TFile> f; try { f.reset(TFile::Open(filename.c_str())); if (! f.get() || f->IsZombie()) raiseDQMError("DQMStore", "Failed to open file '%s'", filename.c_str()); } catch (std::exception &) { if (fileMustExist) throw; else { if (verbose_) std::cout << "DQMStore::readFile: file '" << filename << "' does not exist, continuing\n"; return false; } } unsigned n = readDirectory(f.get(), overwrite, onlypath, prepend, "", stripdirs); f->Close(); MEMap::iterator mi = data_.begin(); MEMap::iterator me = data_.end(); for ( ; mi != me; ++mi) const_cast<MonitorElement &>(*mi).updateQReportStats(); if (verbose_) { std::cout << "DQMStore::open: successfully read " << n << " objects from file '" << filename << "'"; if (! onlypath.empty()) std::cout << " from directory '" << onlypath << "'"; if (! prepend.empty()) std::cout << " into directory '" << prepend << "'"; std::cout << std::endl; } return true; }
void DQMStore::removeContents | ( | void | ) |
erase all monitoring elements in current directory (not including subfolders);
Definition at line 2564 of file DQMStore.cc.
References pwd_.
Referenced by HcalNZSMonitor::cleanup(), HcalDetDiagTimingMonitor::cleanup(), HcalDigiMonitor::cleanup(), HcalTrigPrimMonitor::cleanup(), HcalCoarsePedestalMonitor::cleanup(), HcalRecHitMonitor::cleanup(), HcalDataIntegrityTask::cleanup(), HcalDetDiagNoiseMonitor::cleanup(), HcalNoiseMonitor::cleanup(), HcalDeadCellMonitor::cleanup(), HcalDetDiagLEDMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), HcalHotCellMonitor::cleanup(), HcalBeamMonitor::cleanup(), HcalEEUSMonitor::clearME(), HcalBaseMonitor::clearME(), CastorBaseMonitor::clearME(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), CommissioningHistograms::remove(), and SiStripCommissioningSource::remove().
{ removeContents(pwd_); }
void DQMStore::removeContents | ( | const std::string & | dir | ) |
remove all monitoring elements from directory;
Definition at line 2550 of file DQMStore.cc.
References data_, alignCSCRings::e, i, and isSubdirectory().
void DQMStore::removeElement | ( | const std::string & | name | ) |
erase monitoring element in current directory (opposite of book1D,2D,etc. action);
Definition at line 2572 of file DQMStore.cc.
References pwd_.
Referenced by HcalSummaryClient::analyze(), L1TEventInfoClient::beginJob(), L1EmulatorErrorFlagClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), BeamMonitor::beginJob(), HLTEventInfoClient::beginJob(), ZDCMonitorClient::beginRun(), RPCMonitorDigi::beginRun(), RPCOccupancyTest::beginRun(), RPCBxTest::beginRun(), RPCMultiplicityTest::beginRun(), RPCEventSummary::beginRun(), RPCDeadChannelTest::beginRun(), RPCChamberQuality::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCClusterSizeTest::beginRun(), HcalSummaryClient::beginRun(), AlcaBeamMonitorClient::beginRun(), RPCNoisyStripTest::beginRun(), EcalBarrelMonitorClient::beginRun(), RPCRecHitProbability::beginRun(), EcalEndcapMonitorClient::beginRun(), L1TEMUEventInfoClient::bookHistograms(), RPCMonitorDigi::bookRegionME(), BeamMonitorBx::BookTables(), EEPedestalTask::cleanup(), EBRawDataTask::cleanup(), EBTimingClient::cleanup(), EELedTask::cleanup(), EBCosmicTask::cleanup(), EBLaserClient::cleanup(), EEHltTask::cleanup(), EETriggerTowerClient::cleanup(), EESummaryClient::cleanup(), EEDcsInfoTask::cleanup(), EEDaqInfoTask::cleanup(), EBIntegrityTask::cleanup(), EBTestPulseClient::cleanup(), EETrendTask::cleanup(), EEStatusFlagsTask::cleanup(), EEOccupancyTask::cleanup(), EELaserTask::cleanup(), EELedClient::cleanup(), EBSelectiveReadoutTask::cleanup(), ZDCMonitorModule::cleanup(), EcalEndcapMonitorModule::cleanup(), EETestPulseTask::cleanup(), EETrendClient::cleanup(), EETimingClient::cleanup(), EBPedestalOnlineClient::cleanup(), EBPedestalClient::cleanup(), EBIntegrityClient::cleanup(), EBTimingTask::cleanup(), EBTestPulseTask::cleanup(), EBClusterTask::cleanup(), EEClusterTask::cleanup(), EELaserClient::cleanup(), EBTrendTask::cleanup(), EBLaserTask::cleanup(), EBHltTask::cleanup(), EBDataCertificationTask::cleanup(), HcalMonitorModule::cleanup(), EERawDataTask::cleanup(), EETestPulseClient::cleanup(), EEIntegrityClient::cleanup(), EBDcsInfoTask::cleanup(), EBDaqInfoTask::cleanup(), EETimingTask::cleanup(), EEDataCertificationTask::cleanup(), EcalBarrelMonitorModule::cleanup(), EECosmicTask::cleanup(), EEPedestalOnlineClient::cleanup(), EBPedestalTask::cleanup(), EBPedestalOnlineTask::cleanup(), EESelectiveReadoutTask::cleanup(), EBOccupancyTask::cleanup(), EEPedestalOnlineTask::cleanup(), EEIntegrityTask::cleanup(), EEPedestalClient::cleanup(), EBStatusFlagsTask::cleanup(), EBTriggerTowerClient::cleanup(), EBTrendClient::cleanup(), EBSummaryClient::cleanup(), PFClient::createResolutionPlots(), MonitorElementsDb::endJob(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), TrackerOfflineValidationSummary::fillTree(), CommissioningHistograms::histogram(), MEtoEDMConverter::putData(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), JetMETDQMOfflineClient::runClient_(), EEPedestalClient::setup(), EBTriggerTowerClient::setup(), EBTestPulseClient::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EETriggerTowerClient::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EETimingClient::setup(), EBPedestalOnlineClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EBSummaryClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EESummaryClient::setup(), EEIntegrityClient::setup(), and SubTaskSummaryStatus::WriteThreshold().
{ removeElement(pwd_, name); }
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 2580 of file DQMStore.cc.
References gather_cfg::cout, data_, pos, and warning.
void DQMStore::reset | ( | void | ) | [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 1727 of file DQMStore.cc.
References data_, MonitorElement::Reset(), reset_, MonitorElement::resetMe(), and MonitorElement::resetUpdate().
Referenced by DQMService::flushStandalone(), and initializeFrom().
{ MEMap::iterator mi = data_.begin(); MEMap::iterator me = data_.end(); for ( ; mi != me; ++mi) { MonitorElement &me = const_cast<MonitorElement &>(*mi); if (mi->wasUpdated()) { if (me.resetMe()) me.Reset(); me.resetUpdate(); } } reset_ = true; }
void DQMStore::rmdir | ( | const std::string & | path | ) |
delete directory and all contents; delete directory (all contents + subfolders);
Definition at line 2530 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, dirs_, alignCSCRings::e, i, and isSubdirectory().
Referenced by L1TCSCTPG::beginJob(), EETrendClient::beginJob(), EcalEndcapMonitorModule::beginJob(), EEOccupancyTask::beginJob(), EEPedestalOnlineTask::beginJob(), EETriggerTowerTask::beginJob(), EBRawDataTask::beginJob(), EELaserTask::beginJob(), EEStatusFlagsTask::beginJob(), EETestPulseTask::beginJob(), EBPedestalTask::beginJob(), HLTMonPhotonSource::beginJob(), L1GtHwValidation::beginJob(), L1TSync::beginJob(), L1TFED::beginJob(), EBSelectiveReadoutTask::beginJob(), EBTestPulseTask::beginJob(), HLTMon::beginJob(), L1TCSCTF::beginJob(), EBLaserTask::beginJob(), HLTMonPhotonClient::beginJob(), L1TGCT::beginJob(), EBClusterTask::beginJob(), EBTriggerTowerTask::beginJob(), L1TdeRCT::beginJob(), EBTimingTask::beginJob(), EEClusterTask::beginJob(), EECosmicTask::beginJob(), EEIntegrityTask::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRPCTF::beginJob(), EEHltTask::beginJob(), L1TCompare::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), L1TRCT::beginJob(), L1TRPCTPG::beginJob(), EcalBarrelMonitorModule::beginJob(), EESelectiveReadoutTask::beginJob(), HLTJetMETDQMSource::beginJob(), EBTrendClient::beginJob(), EERawDataTask::beginJob(), L1TLTC::beginJob(), FourVectorHLTOffline::beginJob(), EBCosmicTask::beginJob(), EETrendTask::beginJob(), L1TOccupancyClient::beginJob(), FourVectorHLTriggerOffline::beginJob(), EBOccupancyTask::beginJob(), EELedTask::beginJob(), EETimingTask::beginJob(), FourVectorHLT::beginJob(), EEPedestalTask::beginJob(), FourVectorHLTOnline::beginJob(), HLTMonElectronConsumer::beginJob(), EBHltTask::beginJob(), EBIntegrityTask::beginJob(), L1TRate::beginJob(), EBPedestalOnlineTask::beginJob(), EBStatusFlagsTask::beginJob(), EBTrendTask::beginJob(), HLTMonElectron::beginJob(), L1ExtraRecoDQM::beginRun(), L1ExtraDQM::beginRun(), HLTInclusiveVBFSource::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), TriggerValidator::beginRun(), L1TGT::beginRun(), L1TGMT::book_(), EETriggerTowerTask::cleanup(), EBTriggerTowerTask::cleanup(), ecaldqm::MESetChannel::clear(), dqmCopyRecursively(), DTLocalTriggerSynchTask::endJob(), DTLocalTriggerBaseTask::endJob(), DTLocalTriggerLutTask::endJob(), DTLocalTriggerTask::endJob(), evf::FWEPWrapper::init(), CommissioningHistograms::remove(), SiStripCommissioningSource::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), and ecaldqm::MESetChannel::reset().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); MonitorElement proto(cleaned, std::string()); MEMap::iterator e = data_.end(); MEMap::iterator i = data_.lower_bound(proto); while (i != e && isSubdirectory(*cleaned, *i->data_.dirname)) data_.erase(i++); std::set<std::string>::iterator de = dirs_.end(); std::set<std::string>::iterator di = dirs_.lower_bound(*cleaned); while (di != de && isSubdirectory(*cleaned, *di)) dirs_.erase(di++); }
void DQMStore::runQTests | ( | void | ) |
run quality tests (also finds updated contents in last monitoring cycle, including newly added content)
Definition at line 2682 of file DQMStore.cc.
References gather_cfg::cout, data_, isSubdirectory(), reset_, MonitorElement::runQTests(), s_referenceDirName, and verbose_.
{ if (verbose_ > 0) std::cout << "DQMStore: running runQTests() with reset = " << ( reset_ ? "true" : "false" ) << std::endl; // Apply quality tests to each monitor element, skipping references. MEMap::iterator mi = data_.begin(); MEMap::iterator me = data_.end(); for ( ; mi != me; ++mi) if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname)) const_cast<MonitorElement &>(*mi).runQTests(); reset_ = false; }
void DQMStore::save | ( | const std::string & | filename, |
const std::string & | path = "" , |
||
const std::string & | pattern = "" , |
||
const std::string & | rewrite = "" , |
||
SaveReferenceTag | ref = SaveWithReference , |
||
int | minStatus = dqm::qstatus::STATUS_OK , |
||
const std::string & | fileupdate = "RECREATE" |
||
) |
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 2113 of file DQMStore.cc.
References cdInto(), gather_cfg::cout, data_, dirs_, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, DQMNet::DQM_PROP_EFFICIENCY_PLOT, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, f, mergeVDriftHistosByStation::file, i, isSubdirectory(), funct::master(), max(), scaleCards::path, raiseDQMError(), linker::replace(), s_monitorDirName, s_referenceDirName, SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest, ntuplemaker::status, and verbose_.
Referenced by SiStripGainFromData::algoEndJob(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), EETriggerTowerTask::cleanup(), EBTriggerTowerTask::cleanup(), doSaveForOnline(), TrackingTruthValid::endJob(), HcalSimHitStudy::endJob(), LogMessageMonitor::endJob(), SiStripOfflineDQM::endJob(), SiPixelDigiSource::endJob(), RCTMonitor::endJob(), L1TGMT::endJob(), L1TGCT::endJob(), SiStripLAProfileBooker::endJob(), LaserDQM::endJob(), GenericBenchmarkAnalyzer::endJob(), HcalDigiTester::endJob(), HcalNoiseRatesClient::endJob(), ZToMuMuGammaAnalyzer::endJob(), TrackEfficiencyMonitor::endJob(), SiStripMonitorDigi::endJob(), MonitorLTC::endJob(), SiStripDigiValid::endJob(), BTagValidator::endJob(), ElectronDqmAnalyzerBase::endJob(), DQMHcalIsoTrackAlCaReco::endJob(), DQMHcalDiJetsAlCaReco::endJob(), SiPixelHistoricInfoDQMClient::endJob(), EgammaSuperClusters::endJob(), DQMHOAlCaRecoStream::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), TkAlCaRecoMonitor::endJob(), SiStripFEDMonitorPlugin::endJob(), SiPixelHitEfficiencySource::endJob(), SiPixelRawDataErrorSource::endJob(), L1TRPCTPG::endJob(), L1TDTTF::endJob(), L1TdeCSCTF::endJob(), SiStripTrackingRecHitsValid::endJob(), TauTagValidation::endJob(), NoiseRatesClient::endJob(), ZdcSimHitStudy::endJob(), EgammaBasicClusters::endJob(), CaloTowersDQMClient::endJob(), CaloTowersAnalyzer::endJob(), DTt0DBValidation::endJob(), SiStripMonitorFilter::endJob(), METFileSaver::endJob(), dEdxAnalyzer::endJob(), SiStripSpyMonitorModule::endJob(), L1TCompare::endJob(), SiPixelRecHitsValid::endJob(), PiZeroAnalyzer::endJob(), DTtTrigDBValidation::endJob(), SiStripMonitorHLT::endJob(), SiPixelOfflineCalibAnalysisBase::endJob(), TauDQMSimpleFileSaver::endJob(), MuonTrackAnalyzer::endJob(), PhotonValidator::endJob(), ElectronConversionRejectionValidator::endJob(), TestSuite::endJob(), JPTJetAnalyzer::endJob(), SiPixelRecHitSource::endJob(), L1TCSCTPG::endJob(), HLTMonHcalIsoTrack::endJob(), MuonAlignment::endJob(), MuonTrackResidualAnalyzer::endJob(), HcalSimHitsValidation::endJob(), DataCertificationJetMET::endJob(), HcalNoiseRates::endJob(), DQMSourceEleCalib::endJob(), TrackingMonitor::endJob(), SiStripFEDCheckPlugin::endJob(), SiStripCMMonitorPlugin::endJob(), HLTAlCaMonPi0::endJob(), HLTAlCaMonEcalPhiSym::endJob(), PFTester::endJob(), MixCollectionValidation::endJob(), GlobalTest::endJob(), SiPixelHistoricInfoEDAClient::endJob(), RPCRecHitProbability::endJob(), DTnoiseDBValidation::endJob(), SiPixelMuonHLT::endJob(), L1TDTTPG::endJob(), L1TdeRCT::endJob(), PhotonAnalyzer::endJob(), DQMSourcePi0::endJob(), RPCTTUMonitor::endJob(), RPCMonitorDigi::endJob(), ValidationHcalIsoTrackAlCaReco::endJob(), HcalRecHitsClient::endJob(), Digi2Raw2Digi::endJob(), CSCRecHitValidation::endJob(), MonitorTrackResiduals::endJob(), RPCMonitorSync::endJob(), L1TRCT::endJob(), HLTMon::endJob(), SiPixelDigiValid::endJob(), GlobalMuonMatchAnalyzer::endJob(), StripValidationPlots::endJob(), JetFileSaver::endJob(), CaloTowersClient::endJob(), SiStripMonitorTrack::endJob(), SiPixelHLTSource::endJob(), SiPixelClusterSource::endJob(), L1TCSCTF::endJob(), SiStripRecHitsValid::endJob(), TkConvValidator::endJob(), PerformanceAnalyzer::endJob(), RPCDigiValid::endJob(), CSCDigiValidation::endJob(), HcalRecHitsDQMClient::endJob(), APVValidationPlots::endJob(), LaserAlignmentT0ProducerDQM::endJob(), TrackSplittingMonitor::endJob(), SiStripMonitorCluster::endJob(), SiStripCommissioningSource::endJob(), L1TRPCTF::endJob(), BxTiming::endJob(), DQMHcalPhiSymAlCaReco::endJob(), SiPixelTrackResidualSource::endJob(), TopValidation::endJob(), SiStripMonitorPedestals::endRun(), RPCEfficiency::endRun(), SiPixelHistoricInfoEDAClient::endRun(), MultiTrackValidator::endRun(), MuonTrackValidator::endRun(), SiStripMonitorRawData::endRun(), BeamHaloAnalyzer::endRun(), RecoMuonValidator::endRun(), RPCEfficiencyPerRingLayer::endRun(), EcalSelectiveReadoutValidation::endRun(), SaveDQMFile::endRun(), SiPixelHistoricInfoDQMClient::endRun(), RPCEfficiencyShiftHisto::endRun(), SiStripMonitorQuality::endRun(), V0Validator::endRun(), RPCEfficiencySecond::endRun(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), evf::iDie::perLumiFileSaver(), evf::iDie::perTimeFileSaver(), RPCMonitorSync::readRPCDAQStrips(), PhotonOfflineClient::runClient(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::save(), TkHistoMap::save(), HLXMonitor::SaveDQMFile(), SiPixelHistoricInfoEDAClient::saveFile(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), PFJetBenchmark::write(), PFTauElecRejectionBenchmark::write(), PFMETBenchmark::write(), CSCDigiValidation::~CSCDigiValidation(), CSCRecHitValidation::~CSCRecHitValidation(), EcalDigisValidation::~EcalDigisValidation(), EcalRecHitsValidation::~EcalRecHitsValidation(), EcalSimHitsValidation::~EcalSimHitsValidation(), GlobalDigisHistogrammer::~GlobalDigisHistogrammer(), GlobalHitsHistogrammer::~GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::~GlobalHitsProdHistStripper(), GlobalHitsTester::~GlobalHitsTester(), GlobalRecHitsHistogrammer::~GlobalRecHitsHistogrammer(), MuonDTDigis::~MuonDTDigis(), and SiPixelTrackingRecHitsValid::~SiPixelTrackingRecHitsValid().
{ std::set<std::string>::iterator di, de; MEMap::iterator mi, me = data_.end(); DQMNet::QReports::const_iterator qi, qe; int nme=0; // TFile flushes to disk with fsync() on every TDirectory written to the // file. This makes DQM file saving painfully slow, and ironically makes // it _more_ likely the file saving gets interrupted and corrupts the file. // The utility class below simply ignores the flush synchronisation. class TFileNoSync : public TFile { public: TFileNoSync(const char *file, const char *opt) : TFile(file, opt) {} virtual Int_t SysSync(Int_t) { return 0; } }; // open output file, on 1st save recreate, later update if (verbose_) std::cout << "\n DQMStore: Opening TFile '" << filename << "' with option '" << fileupdate <<"'\n"; TFileNoSync f(filename.c_str(), fileupdate.c_str()); // open file if(f.IsZombie()) raiseDQMError("DQMStore", "Failed to create/update file '%s'", filename.c_str()); f.cd(); // Construct a regular expression from the pattern string. std::auto_ptr<lat::Regexp> rxpat; if (! pattern.empty()) rxpat.reset(new lat::Regexp(pattern.c_str())); // Prepare a path for the reference object selection. std::string refpath; refpath.reserve(s_referenceDirName.size() + path.size() + 2); refpath += s_referenceDirName; if (! path.empty()) { refpath += '/'; refpath += path; } // Loop over the directory structure. for (di = dirs_.begin(), de = dirs_.end(); di != de; ++di) { // Check if we should process this directory. We process the // requested part of the object tree, including references. if (! path.empty() && ! isSubdirectory(path, *di) && ! isSubdirectory(refpath, *di)) continue; // Loop over monitor elements in this directory. MonitorElement proto(&*di, std::string()); mi = data_.lower_bound(proto); for ( ; mi != me && isSubdirectory(*di, *mi->data_.dirname); ++mi) { // Skip if it isn't a direct child. if (*di != *mi->data_.dirname) continue; // Handle reference histograms, with three distinct cases: // 1) Skip all references entirely on saving. // 2) Blanket saving of all references. // 3) Save only references for monitor elements with qtests. // The latter two are affected by "path" sub-tree selection, // i.e. references are saved only in the selected tree part. if (isSubdirectory(refpath, *mi->data_.dirname)) { if (ref == SaveWithoutReference) // Skip the reference entirely. continue; else if (ref == SaveWithReference) // Save all references regardless of qtests. ; else if (ref == SaveWithReferenceForQTest) { // Save only references for monitor elements with qtests // with an optional cut on minimum quality test result. int status = -1; std::string mname(mi->getFullname(), s_referenceDirName.size()+1, std::string::npos); MonitorElement *master = get(mname); if (master) for (size_t i = 0, e = master->data_.qreports.size(); i != e; ++i) status = std::max(status, master->data_.qreports[i].code); if (! master || status < minStatus) { if (verbose_ > 1) std::cout << "DQMStore::save: skipping monitor element '" << mi->data_.objname << "' while saving, status is " << status << ", required minimum status is " << minStatus << std::endl; continue; } } } if (verbose_ > 1) std::cout << "DQMStore::save: saving monitor element '" << mi->data_.objname << "'\n"; nme++; // count saved histograms // Create the directory. gDirectory->cd("/"); if (di->empty()) cdInto(s_monitorDirName); else if (rxpat.get()) cdInto(s_monitorDirName + '/' + lat::StringOps::replace(*di, *rxpat, rewrite)); else cdInto(s_monitorDirName + '/' + *di); // Save the object. switch (mi->kind()) { case MonitorElement::DQM_KIND_INT: case MonitorElement::DQM_KIND_REAL: case MonitorElement::DQM_KIND_STRING: TObjString(mi->tagString().c_str()).Write(); break; default: mi->object_->Write(); break; } // Save quality reports if this is not in reference section. if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname)) { qi = mi->data_.qreports.begin(); qe = mi->data_.qreports.end(); for ( ; qi != qe; ++qi) TObjString(mi->qualityTagString(*qi).c_str()).Write(); } // Save efficiency tag, if any if (mi->data_.flags & DQMNet::DQM_PROP_EFFICIENCY_PLOT) TObjString(mi->effLabelString().c_str()).Write(); // Save tag if any if (mi->data_.flags & DQMNet::DQM_PROP_TAGGED) TObjString(mi->tagLabelString().c_str()).Write(); } } f.Close(); // Maybe make some noise. if (verbose_) std::cout << "DQMStore::save: successfully wrote " << nme << " objects from path '" << path << "' into DQM file '" << filename << "'\n"; }
void DQMStore::setAccumulate | ( | MonitorElement * | me, |
bool | flag | ||
) | [private] |
if true, will accumulate ME contents (over many periods) until method is called with flag = false again
Definition at line 2751 of file DQMStore.cc.
References MonitorElement::setAccumulate().
{ if (me) me->setAccumulate(flag); }
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 429 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), makeDirectory(), and pwd_.
Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), RPCMon_SS_Dbx_Global::analyze(), XmasToDQMSource::analyze(), HcalSummaryClient::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), ecaldqm::MESetChannel::append_(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), BxTiming::beginJob(), L1TCSCTPG::beginJob(), RPCTTUMonitor::beginJob(), L1Scalers::beginJob(), JPTJetAnalyzer::beginJob(), TTbar_GenJetAnalyzer::beginJob(), EETrendClient::beginJob(), EcalEndcapMonitorModule::beginJob(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), EEOccupancyTask::beginJob(), EEPedestalOnlineTask::beginJob(), EETriggerTowerTask::beginJob(), TrackAnalyzer::beginJob(), APVValidationPlots::beginJob(), ElectronDqmAnalyzerBase::beginJob(), PFJetAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), PFTester::beginJob(), Vx3DHLTAnalyzer::beginJob(), EBRawDataTask::beginJob(), EELaserTask::beginJob(), EEStatusFlagsTask::beginJob(), EETestPulseTask::beginJob(), HcalDCSInfo::beginJob(), L1TDTTPGClient::beginJob(), TkAlCaRecoMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), DQMFEDIntegrityClient::beginJob(), DQMClientExample::beginJob(), GlobalTest::beginJob(), EBPedestalTask::beginJob(), HcalDAQInfo::beginJob(), HLTMonPhotonSource::beginJob(), L1GtHwValidation::beginJob(), L1TSync::beginJob(), L1EmulatorErrorFlagClient::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), EfficiencyAnalyzer::beginJob(), BasicGenParticleValidation::beginJob(), VVVValidation::beginJob(), L1TFED::beginJob(), RPCDaqInfo::beginJob(), L1ScalersClient::beginJob(), METAnalyzer::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), MuonAlignment::beginJob(), EBSelectiveReadoutTask::beginJob(), EBTestPulseTask::beginJob(), HLTMon::beginJob(), HLTMonHcalIsoTrack::beginJob(), L1TCSCTF::beginJob(), QcdLowPtDQM::beginJob(), TopDiLeptonDQM::beginJob(), RPCMonitorLinkSynchro::beginJob(), SiStripFEDCheckPlugin::beginJob(), TcMETAnalyzer::beginJob(), ConverterTester::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), WValidation::beginJob(), MuIsoValidation::beginJob(), DTBlockedROChannelsTest::beginJob(), EBDataCertificationTask::beginJob(), EBLaserTask::beginJob(), HLTMonPhotonClient::beginJob(), L1TGCT::beginJob(), SiStripSpyMonitorModule::beginJob(), TrackEfficiencyMonitor::beginJob(), TrackSplittingMonitor::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), MBUEandQCDValidation::beginJob(), GenericBenchmarkAnalyzer::beginJob(), AlcaBeamMonitor::beginJob(), EBClusterTask::beginJob(), EBTriggerTowerTask::beginJob(), L1TdeRCT::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), PhotonAnalyzer::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), PhotonValidator::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), BeamConditionsMonitor::beginJob(), EBTimingTask::beginJob(), EEClusterTask::beginJob(), EECosmicTask::beginJob(), EEIntegrityTask::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), MonitorLTC::beginJob(), LogMessageMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), HLTScalers::beginJob(), HLTScalersClient::beginJob(), DQMSourceEleCalib::beginJob(), PFMETAnalyzer::beginJob(), PFCandidateDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), TopHLTDiMuonDQM::beginJob(), TauValidation::beginJob(), MuonTrackAnalyzer::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), EEHltTask::beginJob(), L1TCompare::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), L1TRCT::beginJob(), L1TRPCTPG::beginJob(), QcdHighPtDQM::beginJob(), SiPixelDaqInfo::beginJob(), SiPixelDcsInfo::beginJob(), SiStripMonitorHLT::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHOAlCaRecoStream::beginJob(), StripValidationPlots::beginJob(), JetPtAnalyzer::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), DrellYanValidation::beginJob(), SimHitsValidationHcal::beginJob(), TestSuite::beginJob(), ScoutingAnalyzerBase::beginJob(), EcalBarrelMonitorModule::beginJob(), EESelectiveReadoutTask::beginJob(), HLTJetMETDQMSource::beginJob(), HLTMonBitSummary::beginJob(), TrigResRateMon::beginJob(), SiStripCMMonitorPlugin::beginJob(), dEdxAnalyzer::beginJob(), MuCorrMETAnalyzer::beginJob(), DiMuonHistograms::beginJob(), MuonIdDQM::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), CastorMonitorModule::beginJob(), EBTrendClient::beginJob(), EERawDataTask::beginJob(), HcalDataCertification::beginJob(), L1TdeCSCTF::beginJob(), L1TLTC::beginJob(), SiStripMonitorFilter::beginJob(), VertexMonitor::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), BenchmarkAnalyzer::beginJob(), FourVectorHLTOffline::beginJob(), DuplicationChecker::beginJob(), TopValidation::beginJob(), FourVectorHLTriggerOffline::beginJob(), BeamMonitorBx::beginJob(), DTDataIntegrityTest::beginJob(), EBCosmicTask::beginJob(), EETrendTask::beginJob(), HLTAlCaMonPi0::beginJob(), L1TDEMON::beginJob(), L1TOccupancyClient::beginJob(), SiPixelCertification::beginJob(), HcalSimHitStudy::beginJob(), BeamMonitor::beginJob(), EBOccupancyTask::beginJob(), EEDataCertificationTask::beginJob(), EELedTask::beginJob(), EETimingTask::beginJob(), FourVectorHLT::beginJob(), L1TDTTF::beginJob(), EcalZmassTask::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), HTMHTAnalyzer::beginJob(), MuonIsolationDQM::beginJob(), MuonRecoOneHLT::beginJob(), PFJetDQMAnalyzer::beginJob(), DQMDaqInfo::beginJob(), DQMFileReader::beginJob(), DQMSourceExample::beginJob(), EmDQMReco::beginJob(), EEPedestalTask::beginJob(), FourVectorHLTOnline::beginJob(), HLTMonElectronConsumer::beginJob(), L1TGCTClient::beginJob(), RPCMonitorRaw::beginJob(), DQMSourcePi0::beginJob(), JetAnalyzer::beginJob(), GeneralHLTOffline::beginJob(), TTbar_Kinematics::beginJob(), MuonTrackResidualAnalyzer::beginJob(), EBHltTask::beginJob(), EBIntegrityTask::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), L1TRate::beginJob(), TrackingMonitor::beginJob(), HiggsValidation::beginJob(), TTbar_GenLepAnalyzer::beginJob(), ElectronConversionRejectionValidator::beginJob(), EBPedestalOnlineTask::beginJob(), EBStatusFlagsTask::beginJob(), EBTrendTask::beginJob(), HLTEventInfoClient::beginJob(), HLTMonElectron::beginJob(), SiStripFEDMonitorPlugin::beginJob(), TrackEfficiencyClient::beginJob(), PiZeroAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), EgHLTOfflineSource::beginJob(), TopElectronHLTOfflineSource::beginJob(), MuonIdVal::beginJob(), TauTagValidation::beginJob(), ZDCMonitorClient::beginRun(), DQMDcsInfoClient::beginRun(), RPCEfficiencySecond::beginRun(), RPCOccupancyTest::beginRun(), RPCMonitorDigi::beginRun(), RPCRecHitValid::beginRun(), FourVectorHLTriggerOffline::beginRun(), HLTOfflineReproducibility::beginRun(), DTOfflineSummaryClients::beginRun(), DTLocalTriggerBaseTask::beginRun(), HcalHotCellClient::beginRun(), L1TGMTClient::beginRun(), RPCBxTest::beginRun(), SiPixelClusterSource::beginRun(), L1GtHwValidation::beginRun(), HLTMuonPlotter::beginRun(), HeavyFlavorValidation::beginRun(), DTNoiseTask::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HLTJetMETDQMSource::beginRun(), HLTMonBitSummary::beginRun(), RPCEfficiencyShiftHisto::beginRun(), EcalZmassClient::beginRun(), DQMProvInfo::beginRun(), HcalDigiClient::beginRun(), HLTOniaSource::beginRun(), RPCMultiplicityTest::beginRun(), DQMEventInfo::beginRun(), HcalRecHitClient::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCDBPopConAnalyzer::beginRun(), RPCEventSummary::beginRun(), CaloTowerAnalyzer::beginRun(), L1ExtraRecoDQM::beginRun(), HLTHiggsSubAnalysis::beginRun(), AlcaBeamMonitor::beginRun(), HcalNZSClient::beginRun(), HcalRawDataClient::beginRun(), TrigResRateMon::beginRun(), RPCChamberQuality::beginRun(), RPCDataCertification::beginRun(), RPCDeadChannelTest::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalSummaryClient::beginRun(), L1ExtraDQM::beginRun(), RPCClusterSizeTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), SiStripMonitorRawData::beginRun(), HLTMuonMatchAndPlot::beginRun(), EcalBarrelMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalMonitorClient::beginRun(), RPCNoisyStripTest::beginRun(), SiPixelTrackResidualSource::beginRun(), FourVectorHLTOffline::beginRun(), DQMDcsInfo::beginRun(), METTester::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), RPCDcsInfo::beginRun(), HLTInclusiveVBFSource::beginRun(), TriggerValidator::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), RPCRecHitProbability::beginRun(), SiPixelEDAClient::beginRun(), MuonAlignmentSummary::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), EcalEndcapMonitorClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitMonitor::beginRun(), FourVectorHLTOnline::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), EgHLTOfflineSource::beginRun(), HLTJetMETValidation::beginRun(), L1TOccupancyClient::beginRun(), GeneralHLTOffline::beginRun(), DTSegmentAnalysisTask::beginRun(), MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), HcalBeamClient::beginRun(), L1TGT::beginRun(), V0Validator::beginRun(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), MEtoMEComparitor::book(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), CalibrationScanTask::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), SiStripMonitorTrack::book(), QcdUeDQM::book1D(), QcdUeDQM::book2D(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1DVB(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), EwkMuTauHistManager::bookHistograms(), L1TGT::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), DQMLumiMonitor::bookHistograms(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), PlotMakerReco::bookHistos(), HiggsDQM::bookHistos(), DTDataIntegrityTask::bookHistos(), DTt0DBValidation::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerL1::bookHistos(), DTScalerInfoTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTDCSByLumiTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), SiPixelHLTSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), QcdUeDQM::bookProfile(), RCTMonitor::BookRCT(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookRollME(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), TrigResRateMon::bookTestHisto(), SiPixelActionExecutor::bookTrackerMaps(), SiStripCertificationInfo::bookTrackingCertificationMEs(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), RPCMonitorDigi::bookWheelDiskME(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BxTiming::BxTiming(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), CastorMonitorModule::CastorMonitorModule(), cd(), HcalDataCertification::CertifyHcal(), EBTimingClient::cleanup(), EBRawDataTask::cleanup(), EEPedestalTask::cleanup(), HcalNZSMonitor::cleanup(), EBLaserClient::cleanup(), EBCosmicTask::cleanup(), EELedTask::cleanup(), EESummaryClient::cleanup(), EETriggerTowerClient::cleanup(), EEHltTask::cleanup(), EBTestPulseClient::cleanup(), EBIntegrityTask::cleanup(), EEDaqInfoTask::cleanup(), EEDcsInfoTask::cleanup(), HcalDetDiagTimingMonitor::cleanup(), EBSelectiveReadoutTask::cleanup(), EELedClient::cleanup(), EELaserTask::cleanup(), EEOccupancyTask::cleanup(), EEStatusFlagsTask::cleanup(), EETrendTask::cleanup(), EcalEndcapMonitorModule::cleanup(), ZDCMonitorModule::cleanup(), HcalDigiMonitor::cleanup(), HcalTrigPrimMonitor::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBPedestalOnlineClient::cleanup(), EETimingClient::cleanup(), EETrendClient::cleanup(), EETestPulseTask::cleanup(), HcalCoarsePedestalMonitor::cleanup(), HcalRecHitMonitor::cleanup(), HcalDataIntegrityTask::cleanup(), HcalDetDiagNoiseMonitor::cleanup(), HcalNoiseMonitor::cleanup(), EBClusterTask::cleanup(), EBTestPulseTask::cleanup(), EBTimingTask::cleanup(), HcalDeadCellMonitor::cleanup(), EBStatusFlagsClient::cleanup(), EBDataCertificationTask::cleanup(), EBHltTask::cleanup(), EBLaserTask::cleanup(), EBTrendTask::cleanup(), EELaserClient::cleanup(), EEClusterTask::cleanup(), HcalDetDiagLEDMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EEIntegrityClient::cleanup(), EEStatusFlagsClient::cleanup(), EETestPulseClient::cleanup(), EERawDataTask::cleanup(), HcalMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EEDataCertificationTask::cleanup(), EETimingTask::cleanup(), EBPedestalOnlineTask::cleanup(), EBPedestalTask::cleanup(), EEPedestalOnlineClient::cleanup(), EECosmicTask::cleanup(), EBOccupancyTask::cleanup(), EESelectiveReadoutTask::cleanup(), EEPedestalOnlineTask::cleanup(), HcalHotCellMonitor::cleanup(), EBSummaryClient::cleanup(), EBTrendClient::cleanup(), EBTriggerTowerClient::cleanup(), EBStatusFlagsTask::cleanup(), EEPedestalClient::cleanup(), EEIntegrityTask::cleanup(), HcalBeamMonitor::cleanup(), HcalEEUSMonitor::clearME(), HcalBaseMonitor::clearME(), CastorBaseMonitor::clearME(), L1GtHwValidation::compareDaqRecord(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), CommissioningHistograms::copyCustomInformation(), HcalTrigPrimMonitor::create_errorflag(), HcalTrigPrimMonitor::create_et_histogram(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_map(), HcalTrigPrimMonitor::create_summary(), HcalTrigPrimMonitor::create_tp_correlation(), SiStripCommissioningSource::createCablingTasks(), PFClient::createEfficiencyPlots(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiPixelActionExecutor::createMaps(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), PFClient::createResolutionPlots(), SiStripCommissioningSource::createRunNumber(), SiPixelActionExecutor::createSummary(), SiStripCommissioningSource::createTask(), SiStripCommissioningSource::createTasks(), CSCDigiValidation::CSCDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmCopyRecursively(), DQMEventInfo::DQMEventInfo(), DTGlobalRecoTask::DTGlobalRecoTask(), DTnoiseDBValidation::DTnoiseDBValidation(), DTt0DBValidation::DTt0DBValidation(), DTtTrigDBValidation::DTtTrigDBValidation(), EgHLTOfflineClient::EgHLTOfflineClient(), EmDQMReco::EmDQMReco(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), ZToMuMuGammaAnalyzer::endJob(), ElectronDqmAnalyzerBase::endJob(), BTagValidator::endJob(), PhotonAnalyzer::endJob(), HarvestingAnalyzer::endJob(), HcalLSbyLSMonitor::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), ElectronDqmAnalyzerBase::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), ElectronDqmAnalyzerBase::endRun(), RPCRecHitValidClient::endRun(), ZToMuMuGammaAnalyzer::endRun(), CSCOfflineClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), GlobalHitsProdHistStripper::endRun(), HLTTauCertifier::endRun(), TauDQMFileLoader::endRun(), PhotonDataCertification::endRun(), DQMGenericTnPClient::endRun(), TauDQMHistEffProducer::endRun(), HLTMuonCertSummary::endRun(), HltSusyExoPostProcessor::endRun(), AlcaBeamMonitorClient::endRun(), PhotonAnalyzer::endRun(), HLTOverallSummary::endRun(), EwkElecDQM::EwkElecDQM(), EwkMuDQM::EwkMuDQM(), EwkMuLumiMonitorDQM::EwkMuLumiMonitorDQM(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), FastTimerServiceClient::fillSummaryPlots(), TrackerOfflineValidationSummary::fillTree(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), TkHistoMap::folderDefinition(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), ContentReader::give_files(), ContentReader::give_subdirs(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), goUp(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HcalSubdetDigiMonitor::HcalSubdetDigiMonitor(), HcalTimingMonitorModule::HcalTimingMonitorModule(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTInclusiveVBFClient::HLTInclusiveVBFClient(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonSimpleBTag::HLTMonSimpleBTag(), HLTMuonOfflineAnalyzer::HLTMuonOfflineAnalyzer(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), evf::iDie::initDQMEventInfo(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), evf::iDie::initMonitorElementsDatasets(), evf::iDie::initMonitorElementsStreams(), LaserDQM::initMonitors(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1ScalersClient::L1ScalersClient(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), L1TGMTClient::makeEfficiency1D(), L1TGMTClient::makeEfficiency2D(), DQMProvInfo::makeHLTKeyInfo(), PlotCombiner::makePlot(), DQMProvInfo::makeProvInfo(), L1TGMTClient::makeRatio1D(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), RivetAnalyzer::normalizeTree(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), FastTimerService::preBeginRun(), L1TRPCTFClient::processHistograms(), edm::EventStreamHttpReader::read(), SiStripFEDErrorsDQM::readBadAPVs(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), HcalNoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), JetMETHLTOfflineClient::runClient_(), EgHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsDQMClient::runClient_(), HLTInclusiveVBFClient::runClient_(), CaloTowersClient::runClient_(), TopElectronHLTOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), SiStripFolderOrganizer::setDetectorFolder(), HistoProviderDQM::setDir(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), SiPixelFolderOrganizer::setFedFolder(), SiStripFolderOrganizer::setLayerFolder(), SiPixelFolderOrganizer::setModuleFolder(), SiStripFolderOrganizer::setSiStripControlFolder(), SiStripFolderOrganizer::setSiStripFolder(), SiStripFolderOrganizer::setSiStripTopControlFolder(), EBClusterTask::setup(), EBIntegrityTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEClusterClient::setup(), EEPedestalClient::setup(), EEStatusFlagsClient::setup(), EETrendClient::setup(), EEHltTask::setup(), CastorLEDMonitor::setup(), EBStatusFlagsClient::setup(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), EBTrendTask::setup(), EEPedestalOnlineTask::setup(), HcalEEUSMonitor::setup(), HcalNZSMonitor::setup(), HcalZDCMonitor::setup(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::setup(), CastorDataIntegrityMonitor::setup(), EBTriggerTowerClient::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), EBPedestalTask::setup(), ZDCMonitorModule::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), EBTestPulseClient::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EBIntegrityClient::setup(), CastorEventDisplay::setup(), EBOccupancyTask::setup(), EELaserClient::setup(), EELaserTask::setup(), HcalDataIntegrityTask::setup(), EBClusterClient::setup(), EBTimingClient::setup(), EBTrendClient::setup(), EBHltTask::setup(), EETriggerTowerClient::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBRawDataTask::setup(), EEPedestalOnlineClient::setup(), CastorHIMonitor::setup(), EBCosmicTask::setup(), EEIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBTriggerTowerTask::setup(), EEOccupancyClient::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), HcalDetDiagLEDMonitor::setup(), CastorRecHitMonitor::setup(), EBOccupancyClient::setup(), EBPedestalClient::setup(), EBLaserTask::setup(), EETestPulseClient::setup(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), CastorDigiMonitor::setup(), EBSummaryClient::setup(), EERawDataTask::setup(), HcalLSbyLSMonitor::setup(), EBLaserClient::setup(), EETrendTask::setup(), EBPedestalOnlineTask::setup(), EELedClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), HcalCaloTowerMonitor::setup(), CastorTowerJetMonitor::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), HcalBaseDQMonitor::setup(), HcalHotCellMonitor::setup(), HcalTrigPrimMonitor::setup(), CastorPSMonitor::setup(), EEIntegrityClient::setup(), EESummaryClient::setup(), EEClusterTask::setup(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), SubTaskSummaryStatus::WriteThreshold(), and XmasToDQMEventInfo::XmasToDQMEventInfo().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(fullpath, clean, cleaned); makeDirectory(*cleaned); pwd_ = *cleaned; }
void DQMStore::setVerbose | ( | unsigned | level | ) |
set verbose level (0 turns all non-error messages off)
Definition at line 393 of file DQMStore.cc.
Referenced by L1Scalers::beginJob(), ElectronDqmAnalyzerBase::beginJob(), RPCRecHitProbabilityClient::beginJob(), EgammaSuperClusters::beginJob(), EgammaBasicClusters::beginJob(), RPCDqmClient::beginJob(), ScoutingAnalyzerBase::beginJob(), PiZeroAnalyzer::beginJob(), SiStripCommissioningOfflineClient::beginRun(), HeavyFlavorValidation::beginRun(), SaveDQMFile::beginRun(), ReadMeFromFile::beginRun(), SiStripCommissioningSource::beginRun(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BTagHLTOfflineSource::BTagHLTOfflineSource(), BxTiming::BxTiming(), ConversionPostprocessing::ConversionPostprocessing(), DTSegment2DQuality::DTSegment2DQuality(), EgHLTOfflineClient::EgHLTOfflineClient(), EgHLTOfflineSource::EgHLTOfflineSource(), EmDQMReco::EmDQMReco(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), HLTInclusiveVBFClient::HLTInclusiveVBFClient(), HLTInclusiveVBFSource::HLTInclusiveVBFSource(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonBitSummary::HLTMonBitSummary(), HLTMonMuonClient::HLTMonMuonClient(), HLTMonSimpleBTag::HLTMonSimpleBTag(), HLTMuonCertSummary::HLTMuonCertSummary(), HLTMuonOfflineAnalyzer::HLTMuonOfflineAnalyzer(), HLTMuonPlotter::HLTMuonPlotter(), HLTOverallSummary::HLTOverallSummary(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLXMonitor::HLXMonitor(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JetMETHLTOfflineSource::JetMETHLTOfflineSource(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), SiStripBadComponentsDQMService::openRequestedFile(), PhotonDataCertification::PhotonDataCertification(), PhotonOfflineClient::PhotonOfflineClient(), PhotonPostprocessing::PhotonPostprocessing(), CommissioningHistograms::remove(), RivetAnalyzer::RivetAnalyzer(), SimHitsValidationHcal::SimHitsValidationHcal(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TopElectronHLTOfflineSource::TopElectronHLTOfflineSource(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), and ZdcSimHitStudy::ZdcSimHitStudy().
{ return; }
void DQMStore::showDirStructure | ( | void | ) | const |
Definition at line 2761 of file DQMStore.cc.
References relmon_rootfiles_spy::contents, filterCSVwithJSON::copy, gather_cfg::cout, and getContents().
Referenced by RPCTTUMonitor::beginJob(), HcalCoarsePedestalClient::beginJob(), GlobalTest::beginJob(), HcalDeadCellClient::beginJob(), HcalNZSClient::beginJob(), EgammaSuperClusters::beginJob(), EgammaBasicClusters::beginJob(), HcalDetDiagTimingClient::beginJob(), MuonTrackAnalyzer::beginJob(), HcalBeamClient::beginJob(), TestSuite::beginJob(), HcalTrigPrimClient::beginJob(), HcalDigiClient::beginJob(), HcalDetDiagPedestalClient::beginJob(), HcalDetDiagNoiseMonitorClient::beginJob(), HcalRawDataClient::beginJob(), DQMSourceExample::beginJob(), ZDCMonitorClient::beginJob(), HcalBaseDQClient::beginJob(), MuonTrackResidualAnalyzer::beginJob(), HcalHotCellClient::beginJob(), HcalRecHitClient::beginJob(), HcalDetDiagLEDClient::beginJob(), PiZeroAnalyzer::beginJob(), DTSegment2DQuality::DTSegment2DQuality(), EcalBarrelMonitorDbModule::EcalBarrelMonitorDbModule(), EcalEndcapMonitorDbModule::EcalEndcapMonitorDbModule(), LogMessageMonitor::endJob(), RCTMonitor::endJob(), TrackEfficiencyMonitor::endJob(), BTagValidator::endJob(), dEdxAnalyzer::endJob(), DataCertificationJetMET::endJob(), TrackingMonitor::endJob(), SiStripMonitorTrack::endJob(), LaserAlignmentT0ProducerDQM::endJob(), TrackSplittingMonitor::endJob(), TopValidation::endJob(), DataCertificationJetMET::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DataCertificationJetMET::endRun(), SiStripMonitorRawData::endRun(), TauDQMFileLoader::endRun(), SiStripMonitorQuality::endRun(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), LaserDQM::initMonitors(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), RecoMuonValidator::RecoMuonValidator(), HLXMonitor::SetupHists(), HistoProviderDQM::show(), SimHitsValidationHcal::SimHitsValidationHcal(), and ZdcSimHitStudy::ZdcSimHitStudy().
{ std::vector<std::string> contents; getContents(contents); std::cout << " ------------------------------------------------------------\n" << " Directory structure: \n" << " ------------------------------------------------------------\n"; std::copy(contents.begin(), contents.end(), std::ostream_iterator<std::string>(std::cout, "\n")); std::cout << " ------------------------------------------------------------\n"; }
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 2734 of file DQMStore.cc.
References MonitorElement::softReset().
Referenced by TrackAnalyzer::doSoftReset(), HLXMonitor::FillHistograms(), HLXMonitor::ResetAll(), resetME(), EcalBarrelMonitorClient::softReset(), and EcalEndcapMonitorClient::softReset().
{ if (me) me->softReset(); }
void DQMStore::tag | ( | MonitorElement * | me, |
unsigned int | myTag | ||
) |
tag ME as <myTag> (myTag > 0)
Definition at line 1354 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(), DQMSourceExample::beginJob(), SiStripBaseCondObjDQM::bookCumulMEs(), SiStripMonitorTrack::bookModMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), RPCMonitorDigi::bookRollME(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), extract(), get(), getContents(), EDMtoMEConverter::getData(), RPCDqmClient::getMonitorElements(), SiStripMonitorQuality::getQualityME(), GlobalHitsTester::GlobalHitsTester(), EBTimingTask::setup(), EBTestPulseTask::setup(), EBIntegrityTask::setup(), EEPedestalOnlineTask::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), EBPedestalTask::setup(), EELaserTask::setup(), EBOccupancyTask::setup(), EEStatusFlagsTask::setup(), EEIntegrityTask::setup(), EBTriggerTowerTask::setup(), EcalEndcapMonitorModule::setup(), EBLaserTask::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EBPedestalOnlineTask::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EELedTask::setup(), tag(), tagAllContents(), and tagContents().
{ if (! myTag) raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'" " with a zero tag", me->getFullname().c_str()); if ((me->data_.flags & DQMNet::DQM_PROP_TAGGED) && myTag != me->data_.tag) raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'" " twice with multiple tags", me->getFullname().c_str()); me->data_.tag = myTag; me->data_.flags |= DQMNet::DQM_PROP_TAGGED; }
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 1369 of file DQMStore.cc.
References dir, findObject(), mergeVDriftHistosByStation::name, raiseDQMError(), splitPath(), and tag().
{ std::string dir; std::string name; splitPath(dir, name, path); if (MonitorElement *me = findObject(dir, name)) tag(me, myTag); else raiseDQMError("DQMStore", "Attempt to tag non-existent monitor element" " '%s' with tag %u", path.c_str(), myTag); }
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 1397 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), and tag().
{ std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(path, clean, cleaned); MonitorElement proto(cleaned, std::string()); // FIXME: WILDCARDS? Old one supported them, but nobody seemed to use them. MEMap::iterator e = data_.end(); MEMap::iterator i = data_.lower_bound(proto); while (i != e && isSubdirectory(*cleaned, *i->data_.dirname)) { tag(const_cast<MonitorElement *>(&*i), myTag); ++i; } }
void DQMStore::tagContents | ( | const std::string & | path, |
unsigned int | myTag | ||
) |
tag all children of folder (does NOT include subfolders)
Definition at line 1385 of file DQMStore.cc.
References data_, alignCSCRings::e, i, and tag().
Referenced by DQMSourceExample::beginJob(), and HLXMonitor::SetupHists().
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 2629 of file DQMStore.cc.
References clean, cleanTrailingSlashes(), raiseDQMError(), s_safe, and useQTestByMatch().
Referenced by createMeanValueTest(), createXRangeTest(), and createYRangeTest().
{ // Clean the path std::string clean; const std::string *cleaned = 0; cleanTrailingSlashes(dir, clean, cleaned); // Validate the path. if (cleaned->find_first_not_of(s_safe) != std::string::npos) raiseDQMError("DQMStore", "Monitor element path name '%s'" " uses unacceptable characters", cleaned->c_str()); // Redirect to the pattern match version. useQTestByMatch(*cleaned + "/*", qtname); }
int DQMStore::useQTestByMatch | ( | const std::string & | pattern, |
const std::string & | qtname | ||
) |
attach quality test <qc> to monitor elements matching <pattern>.
Definition at line 2647 of file DQMStore.cc.
References MonitorElement::addQReport(), data_, getQCriterion(), mergePath(), scaleCards::path, qtestspecs_, and raiseDQMError().
Referenced by QTestHandle::attachTests(), and useQTest().
{ QCriterion *qc = getQCriterion(qtname); if (! qc) raiseDQMError("DQMStore", "Cannot apply non-existent quality test '%s'", qtname.c_str()); fastmatch * fm = new fastmatch( pattern ); // Record the test for future reference. QTestSpec qts(fm, qc); qtestspecs_.push_back(qts); // Apply the quality test. MEMap::iterator mi = data_.begin(); MEMap::iterator me = data_.end(); std::string path; int cases = 0; for ( ; mi != me; ++mi) { path.clear(); mergePath(path, *mi->data_.dirname, mi->data_.objname); if (fm->match(path)) { ++cases; const_cast<MonitorElement &>(*mi).addQReport(qts.second); } } //return the number of matched cases return cases; }
friend class DQMArchiver [friend] |
Definition at line 467 of file DQMStore.h.
friend class DQMNet [friend] |
Definition at line 466 of file DQMStore.h.
friend class DQMService [friend] |
Definition at line 465 of file DQMStore.h.
friend class DQMStoreExample [friend] |
Definition at line 468 of file DQMStore.h.
friend class edm::DQMHttpSource [friend] |
Definition at line 464 of file DQMStore.h.
bool DQMStore::collateHistograms_ [private] |
Definition at line 453 of file DQMStore.h.
Referenced by book(), bookFloat(), bookInt(), bookString(), extract(), initializeFrom(), and load().
MEMap DQMStore::data_ [private] |
Definition at line 457 of file DQMStore.h.
Referenced by book(), containsAnyMonitorable(), findObject(), DQMService::flushStandalone(), forceReset(), get(), getAllContents(), getAllTags(), getContents(), getMatchingContents(), getMEs(), getStatus(), readFile(), removeContents(), removeElement(), reset(), rmdir(), runQTests(), save(), tagAllContents(), tagContents(), and useQTestByMatch().
std::set<std::string> DQMStore::dirs_ [private] |
Definition at line 458 of file DQMStore.h.
Referenced by book(), dirExists(), getAllTags(), getContents(), getSubdirs(), makeDirectory(), rmdir(), and save().
DQMStore::pwd_ [private] |
Current directory.
Definition at line 456 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().
DQMStore::qalgos_ [private] |
Set of all the available quality test algorithms.
Definition at line 461 of file DQMStore.h.
Referenced by createQTest(), and initializeFrom().
DQMStore::qtests_ [private] |
All the quality tests.
Definition at line 460 of file DQMStore.h.
Referenced by createQTest(), getQCriterion(), and ~DQMStore().
QTestSpecs DQMStore::qtestspecs_ [private] |
Definition at line 462 of file DQMStore.h.
Referenced by book(), useQTestByMatch(), and ~DQMStore().
DQMStore::readSelectedDirectory_ [private] |
If non-empty, read from file only selected directory.
Definition at line 454 of file DQMStore.h.
DQMStore::reset_ [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 452 of file DQMStore.h.
Referenced by forceReset(), reset(), and runQTests().
DQMStore::verbose_ [private] |
Universal verbose flag for DQM.
Definition at line 450 of file DQMStore.h.
Referenced by book(), extract(), initializeFrom(), load(), print_trace(), readDirectory(), readFile(), runQTests(), and save().
DQMStore::verboseQT_ [private] |
Verbose flag for xml-based QTests.
Definition at line 451 of file DQMStore.h.
Referenced by createQTest(), and initializeFrom().