CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
DQMStore Class Reference

#include <DQMStore.h>

Classes

class  IBooker
 

Public Types

enum  OpenRunDirs { KeepRunDirs, StripRunDirs }
 
enum  SaveReferenceTag { SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest }
 

Public Member Functions

MonitorElementbook1D (const char *name, const char *title, int nchX, double lowX, double highX)
 Book 1D histogram. More...
 
MonitorElementbook1D (const std::string &name, const std::string &title, int nchX, double lowX, double highX)
 Book 1D histogram. More...
 
MonitorElementbook1D (const char *name, const char *title, int nchX, float *xbinsize)
 Book 1D variable bin histogram. More...
 
MonitorElementbook1D (const std::string &name, const std::string &title, int nchX, float *xbinsize)
 Book 1D variable bin histogram. More...
 
MonitorElementbook1D (const char *name, TH1F *h)
 Book 1D histogram by cloning an existing histogram. More...
 
MonitorElementbook1D (const std::string &name, TH1F *h)
 Book 1D histogram by cloning an existing histogram. More...
 
MonitorElementbook1DD (const char *name, const char *title, int nchX, double lowX, double highX)
 Book 1S histogram. More...
 
MonitorElementbook1DD (const std::string &name, const std::string &title, int nchX, double lowX, double highX)
 Book 1S histogram. More...
 
MonitorElementbook1DD (const char *name, const char *title, int nchX, float *xbinsize)
 
MonitorElementbook1DD (const std::string &name, const std::string &title, int nchX, float *xbinsize)
 
MonitorElementbook1DD (const char *name, TH1D *h)
 Book 1D double histogram by cloning an existing histogram. More...
 
MonitorElementbook1DD (const std::string &name, TH1D *h)
 Book 1D double histogram by cloning an existing histogram. More...
 
MonitorElementbook1S (const char *name, const char *title, int nchX, double lowX, double highX)
 Book 1S histogram. More...
 
MonitorElementbook1S (const std::string &name, const std::string &title, int nchX, double lowX, double highX)
 Book 1S histogram. More...
 
MonitorElementbook1S (const char *name, const char *title, int nchX, float *xbinsize)
 
MonitorElementbook1S (const std::string &name, const std::string &title, int nchX, float *xbinsize)
 
MonitorElementbook1S (const char *name, TH1S *h)
 Book 1S histogram by cloning an existing histogram. More...
 
MonitorElementbook1S (const std::string &name, TH1S *h)
 Book 1S histogram by cloning an existing histogram. More...
 
MonitorElementbook2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2D histogram. More...
 
MonitorElementbook2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2D histogram. More...
 
MonitorElementbook2D (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 Book 2D variable bin histogram. More...
 
MonitorElementbook2D (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 Book 2D variable bin histogram. More...
 
MonitorElementbook2D (const char *name, TH2F *h)
 Book 2D histogram by cloning an existing histogram. More...
 
MonitorElementbook2D (const std::string &name, TH2F *h)
 Book 2D histogram by cloning an existing histogram. More...
 
MonitorElementbook2DD (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2D double histogram. More...
 
MonitorElementbook2DD (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2S histogram. More...
 
MonitorElementbook2DD (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 
MonitorElementbook2DD (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 
MonitorElementbook2DD (const char *name, TH2D *h)
 Book 2DS histogram by cloning an existing histogram. More...
 
MonitorElementbook2DD (const std::string &name, TH2D *h)
 Book 2DS histogram by cloning an existing histogram. More...
 
MonitorElementbook2S (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2S histogram. More...
 
MonitorElementbook2S (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
 Book 2S histogram. More...
 
MonitorElementbook2S (const char *name, const char *title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 
MonitorElementbook2S (const std::string &name, const std::string &title, int nchX, float *xbinsize, int nchY, float *ybinsize)
 
MonitorElementbook2S (const char *name, TH2S *h)
 Book 2DS histogram by cloning an existing histogram. More...
 
MonitorElementbook2S (const std::string &name, TH2S *h)
 Book 2DS histogram by cloning an existing histogram. More...
 
MonitorElementbook3D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ)
 Book 3D histogram. More...
 
MonitorElementbook3D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ)
 Book 3D histogram. More...
 
MonitorElementbook3D (const char *name, TH3F *h)
 Book 3D histogram by cloning an existing histogram. More...
 
MonitorElementbook3D (const std::string &name, TH3F *h)
 Book 3D histogram by cloning an existing histogram. More...
 
MonitorElementbookFloat (const char *name)
 Book float. More...
 
MonitorElementbookFloat (const std::string &name)
 Book float. More...
 
MonitorElementbookInt (const char *name)
 Book int. More...
 
MonitorElementbookInt (const std::string &name)
 Book int. More...
 
MonitorElementbookProfile (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const char *name, const char *title, int nchX, double lowX, double highX, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const char *name, const char *title, int nchX, double *xbinsize, int nchY, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double *xbinsize, int nchY, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const char *name, const char *title, int nchX, double *xbinsize, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double *xbinsize, double lowY, double highY, const char *option="s")
 
MonitorElementbookProfile (const char *name, TProfile *h)
 Book TProfile by cloning an existing profile. More...
 
MonitorElementbookProfile (const std::string &name, TProfile *h)
 Book TProfile by cloning an existing profile. More...
 
MonitorElementbookProfile2D (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")
 
MonitorElementbookProfile2D (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")
 
MonitorElementbookProfile2D (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")
 
MonitorElementbookProfile2D (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")
 
MonitorElementbookProfile2D (const char *name, TProfile2D *h)
 Book TProfile2D by cloning an existing profile. More...
 
MonitorElementbookProfile2D (const std::string &name, TProfile2D *h)
 Book TProfile2D by cloning an existing profile. More...
 
MonitorElementbookString (const char *name, const char *value)
 Book string. More...
 
MonitorElementbookString (const std::string &name, const std::string &value)
 Book string. More...
 
template<typename iFunc >
void bookTransaction (iFunc f, uint32_t run, uint32_t streamId, uint32_t moduleId)
 
void cd (void)
 go to top directory (ie. root) More...
 
void cd (const std::string &subdir)
 cd to subdirectory (if there) More...
 
bool containsAnyMonitorable (const std::string &path) const
 
QCriterioncreateQTest (const std::string &algoname, const std::string &qtname)
 
bool dirExists (const std::string &path) const
 true if directory exists More...
 
void disableSoftReset (MonitorElement *me)
 
 DQMStore (const edm::ParameterSet &pset, edm::ActivityRegistry &)
 
 DQMStore (const edm::ParameterSet &pset)
 
MonitorElementget (const std::string &path) const
 get ME from full pathname (e.g. "my/long/dir/my_histo") More...
 
std::vector< MonitorElement * > get (unsigned int tag) const
 get all MonitorElements tagged as <tag> More...
 
std::vector< MonitorElement * > getAllContents (const std::string &path, uint32_t runNumber=0, uint32_t lumi=0) const
 
void getAllTags (std::vector< std::string > &into) const
 
std::vector< MonitorElement * > getContents (const std::string &path) const
 
std::vector< MonitorElement * > getContents (const std::string &path, unsigned int tag) const
 same as above for tagged MonitorElements More...
 
void getContents (std::vector< std::string > &into, bool showContents=true) const
 
std::vector< MonitorElement * > getMatchingContents (const std::string &pattern, lat::Regexp::Syntax syntaxType=lat::Regexp::Wildcard) const
 
std::vector< std::string > getMEs (void) const
 get list of (non-dir) MEs of current directory More...
 
QCriteriongetQCriterion (const std::string &qtname) const
 
int getStatus (const std::string &path="") const
 
std::vector< std::string > getSubdirs (void) const
 
void goUp (void)
 equivalent to "cd .." More...
 
bool isCollate (void) const
 
bool load (const std::string &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
 
void mergeAndResetMEsLuminositySummaryCache (uint32_t run, uint32_t lumi, uint32_t streamId, uint32_t moduleId)
 
void mergeAndResetMEsRunSummaryCache (uint32_t run, uint32_t streamId, uint32_t moduleId)
 
bool open (const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
 
const std::string & pwd (void) const
 
void removeContents (void)
 erase all monitoring elements in current directory (not including subfolders); More...
 
void removeContents (const std::string &dir)
 remove all monitoring elements from directory; More...
 
void removeElement (const std::string &name)
 
void removeElement (const std::string &dir, const std::string &name, bool warning=true)
 
void rmdir (const std::string &fullpath)
 
void runQTests (void)
 
void save (const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
 
void scaleElements (void)
 
void setCurrentFolder (const std::string &fullpath)
 
void setVerbose (unsigned level)
 
void showDirStructure (void) const
 
void softReset (MonitorElement *me)
 
void tag (MonitorElement *me, unsigned int myTag)
 
void tag (const std::string &path, unsigned int myTag)
 tag ME specified by full pathname (e.g. "my/long/dir/my_histo") More...
 
void tagAllContents (const std::string &path, unsigned int myTag)
 
void tagContents (const std::string &path, unsigned int myTag)
 tag all children of folder (does NOT include subfolders) More...
 
void useQTest (const std::string &dir, const std::string &qtname)
 
int useQTestByMatch (const std::string &pattern, const std::string &qtname)
 attach quality test <qc> to monitor elements matching <pattern>. More...
 
 ~DQMStore (void)
 

Private Types

typedef std::set< MonitorElementMEMap
 
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< QTestSpecQTestSpecs
 

Private Member Functions

MonitorElementbook (const std::string &dir, const std::string &name, const char *context)
 
template<class HISTO , class COLLATE >
MonitorElementbook (const std::string &dir, const std::string &name, const char *context, int kind, HISTO *h, COLLATE collate)
 
MonitorElementbook1D (const std::string &dir, const std::string &name, TH1F *h)
 Book 1D histogram based on TH1F. More...
 
MonitorElementbook1DD (const std::string &dir, const std::string &name, TH1D *h)
 Book 1D histogram based on TH1D. More...
 
MonitorElementbook1S (const std::string &dir, const std::string &name, TH1S *h)
 Book 1D histogram based on TH1S. More...
 
MonitorElementbook2D (const std::string &dir, const std::string &name, TH2F *h)
 Book 2D histogram based on TH2F. More...
 
MonitorElementbook2DD (const std::string &dir, const std::string &name, TH2D *h)
 Book 2D histogram based on TH2D. More...
 
MonitorElementbook2S (const std::string &dir, const std::string &name, TH2S *h)
 Book 2D histogram based on TH2S. More...
 
MonitorElementbook3D (const std::string &dir, const std::string &name, TH3F *h)
 Book 3D histogram based on TH3F. More...
 
MonitorElementbookFloat (const std::string &dir, const std::string &name)
 Book float. More...
 
MonitorElementbookInt (const std::string &dir, const std::string &name)
 Book int. More...
 
MonitorElementbookProfile (const std::string &dir, const std::string &name, TProfile *h)
 Book profile histogram based on TProfile. More...
 
MonitorElementbookProfile2D (const std::string &folder, const std::string &name, TProfile2D *h)
 Book 2D profile histogram based on TProfile2D. More...
 
MonitorElementbookString (const std::string &dir, const std::string &name, const std::string &value)
 Book string. More...
 
bool cdInto (const std::string &path) const
 
 DQMStore (const DQMStore &)
 
bool extract (TObject *obj, const std::string &dir, bool overwrite)
 
MonitorElementfindObject (const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
 
void forceReset (void)
 
MonitorElementinitialise (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) More...
 
const DQMStoreoperator= (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

std::mutex book_mutex_
 
bool collateHistograms_
 
MEMap data_
 
std::set< std::string > dirs_
 
bool enableMultiThread_
 
IBookeribooker_
 
uint32_t moduleId_
 
std::string pwd_
 
QAMap qalgos_
 
QCMap qtests_
 
QTestSpecs qtestspecs_
 
std::string readSelectedDirectory_
 
bool reset_
 
uint32_t run_
 
double scaleFlag_
 
uint32_t streamId_
 
unsigned verbose_
 
unsigned verboseQT_
 

Friends

class DQMArchiver
 
class DQMNet
 
class DQMService
 
class DQMStoreExample
 
class edm::DQMHttpSource
 

Detailed Description

Definition at line 70 of file DQMStore.h.

Member Typedef Documentation

typedef std::set<MonitorElement> DQMStore::MEMap
private

Definition at line 590 of file DQMStore.h.

typedef std::map<std::string, QCriterion *(*)(const std::string &)> DQMStore::QAMap
private

Definition at line 592 of file DQMStore.h.

typedef std::map<std::string, QCriterion *> DQMStore::QCMap
private

Definition at line 591 of file DQMStore.h.

typedef std::pair<fastmatch *, QCriterion *> DQMStore::QTestSpec
private

Definition at line 588 of file DQMStore.h.

Definition at line 589 of file DQMStore.h.

Member Enumeration Documentation

Enumerator
KeepRunDirs 
StripRunDirs 

Definition at line 79 of file DQMStore.h.

Enumerator
SaveWithoutReference 
SaveWithReference 
SaveWithReferenceForQTest 

Definition at line 73 of file DQMStore.h.

Constructor & Destructor Documentation

DQMStore::DQMStore ( const edm::ParameterSet pset,
edm::ActivityRegistry ar 
)

Definition at line 391 of file DQMStore.cc.

References forceReset(), edm::ParameterSet::getUntrackedParameter(), ibooker_, initializeFrom(), and edm::ActivityRegistry::watchPostSourceRun().

392  : verbose_ (1),
393  verboseQT_ (1),
394  reset_ (false),
395  collateHistograms_ (false),
396  enableMultiThread_(false),
398  run_(0),
399  streamId_(0),
400  moduleId_(0),
401  pwd_ (""),
402  ibooker_(0)
403 {
404  if (!ibooker_)
405  ibooker_ = new DQMStore::IBooker(this);
406  initializeFrom(pset);
407  if(pset.getUntrackedParameter<bool>("forceResetOnBeginRun",false)) {
409  }
410 }
T getUntrackedParameter(std::string const &, T const &) const
uint32_t streamId_
Definition: DQMStore.h:602
bool reset_
Definition: DQMStore.h:596
void initializeFrom(const edm::ParameterSet &)
Definition: DQMStore.cc:441
uint32_t moduleId_
Definition: DQMStore.h:603
void forceReset(void)
Definition: DQMStore.cc:1934
unsigned verboseQT_
Definition: DQMStore.h:595
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
uint32_t run_
Definition: DQMStore.h:601
std::string pwd_
Definition: DQMStore.h:605
IBooker * ibooker_
Definition: DQMStore.h:614
std::string readSelectedDirectory_
Definition: DQMStore.h:600
unsigned verbose_
Definition: DQMStore.h:594
bool collateHistograms_
Definition: DQMStore.h:598
bool enableMultiThread_
Definition: DQMStore.h:599
DQMStore::DQMStore ( const edm::ParameterSet pset)

Definition at line 412 of file DQMStore.cc.

References ibooker_, and initializeFrom().

413  : verbose_ (1),
414  verboseQT_ (1),
415  reset_ (false),
416  collateHistograms_ (false),
417  enableMultiThread_(false),
419  run_(0),
420  streamId_(0),
421  moduleId_(0),
422  pwd_ (""),
423  ibooker_(0)
424 {
425  if (!ibooker_)
426  ibooker_ = new DQMStore::IBooker(this);
427  initializeFrom(pset);
428 }
uint32_t streamId_
Definition: DQMStore.h:602
bool reset_
Definition: DQMStore.h:596
void initializeFrom(const edm::ParameterSet &)
Definition: DQMStore.cc:441
uint32_t moduleId_
Definition: DQMStore.h:603
unsigned verboseQT_
Definition: DQMStore.h:595
uint32_t run_
Definition: DQMStore.h:601
std::string pwd_
Definition: DQMStore.h:605
IBooker * ibooker_
Definition: DQMStore.h:614
std::string readSelectedDirectory_
Definition: DQMStore.h:600
unsigned verbose_
Definition: DQMStore.h:594
bool collateHistograms_
Definition: DQMStore.h:598
bool enableMultiThread_
Definition: DQMStore.h:599
DQMStore::~DQMStore ( void  )

Definition at line 430 of file DQMStore.cc.

References alignCSCRings::e, i, qtests_, and qtestspecs_.

431 {
432  for (QCMap::iterator i = qtests_.begin(), e = qtests_.end(); i != e; ++i)
433  delete i->second;
434 
435  for (QTestSpecs::iterator i = qtestspecs_.begin(), e = qtestspecs_.end(); i != e; ++i)
436  delete i->first;
437 
438 }
int i
Definition: DBlmapReader.cc:9
QCMap qtests_
Definition: DQMStore.h:609
QTestSpecs qtestspecs_
Definition: DQMStore.h:611
DQMStore::DQMStore ( const DQMStore )
private

Member Function Documentation

MonitorElement * DQMStore::book ( const std::string &  dir,
const std::string &  name,
const char *  context 
)
private

Definition at line 727 of file DQMStore.cc.

References gather_cfg::cout, data_, dirs_, findObject(), mergePath(), mergeVDriftHistosByStation::name, getHLTPrescaleColumns::path, print_trace(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

Referenced by book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), and bookString().

730 {
731  assert(name.find('/') == std::string::npos);
732  if (verbose_ > 3)
733  print_trace(dir, name);
734 
735  // Check if the request monitor element already exists.
736  if (MonitorElement *me = findObject(dir, name))
737  {
738  if (verbose_ > 1)
739  {
741  mergePath(path, dir, name);
742 
743  std::cout << "DQMStore: "
744  << context << ": monitor element '"
745  << path << "' already exists, resetting" << std::endl;
746  }
747  me->Reset();
748  return me;
749  }
750  else
751  {
752  // Create it and return for initialisation.
753  assert(dirs_.count(dir));
754  MonitorElement nme(&*dirs_.find(dir), name);
755  return &const_cast<MonitorElement &>(*data_.insert(nme).first);
756  }
757 }
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
void print_trace(const std::string &dir, const std::string &name)
Definition: DQMStore.cc:497
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
std::set< std::string > dirs_
Definition: DQMStore.h:607
template<class HISTO , class COLLATE >
MonitorElement * DQMStore::book ( const std::string &  dir,
const std::string &  name,
const char *  context,
int  kind,
HISTO *  h,
COLLATE  collate 
)
private

Definition at line 656 of file DQMStore.cc.

References collateHistograms_, gather_cfg::cout, data_, dir, dirs_, DQMNet::DQM_PROP_HAS_REFERENCE, findObject(), h, initialise(), mergePath(), moduleId_, mergeVDriftHistosByStation::name, getHLTPrescaleColumns::path, print_trace(), qtestspecs_, MonitorElement::Reset(), run_, s_referenceDirName, streamId_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

659 {
660  assert(name.find('/') == std::string::npos);
661  if (verbose_ > 3)
662  print_trace(dir, name);
664  mergePath(path, dir, name);
665 
666  // Put us in charge of h.
667  h->SetDirectory(0);
668 
669  // Check if the request monitor element already exists.
671  if (me)
672  {
673  if (collateHistograms_)
674  {
675  collate(me, h);
676  delete h;
677  return me;
678  }
679  else
680  {
681  if (verbose_ > 1)
682  std::cout << "DQMStore: "
683  << context << ": monitor element '"
684  << path << "' already exists, collating" << std::endl;
685  me->Reset();
686  collate(me, h);
687  delete h;
688  return me;
689  }
690  }
691  else
692  {
693  // Create and initialise core object.
694  assert(dirs_.count(dir));
695  MonitorElement proto(&*dirs_.find(dir), name, run_, streamId_, moduleId_);
696  me = const_cast<MonitorElement &>(*data_.insert(proto).first)
698 
699  // Initialise quality test information.
700  QTestSpecs::iterator qi = qtestspecs_.begin();
701  QTestSpecs::iterator qe = qtestspecs_.end();
702  for ( ; qi != qe; ++qi)
703  {
704  if ( qi->first->match(path) )
705  me->addQReport(qi->second);
706  }
707 
708  // Assign reference if we have one.
709  std::string refdir;
710  refdir.reserve(s_referenceDirName.size() + dir.size() + 2);
711  refdir += s_referenceDirName;
712  refdir += '/';
713  refdir += dir;
714 
715  if (MonitorElement *refme = findObject(refdir, name))
716  {
717  me->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
718  me->reference_ = refme->object_;
719  }
720 
721  // Return the monitor element.
722  return me;
723  }
724 }
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
uint32_t streamId_
Definition: DQMStore.h:602
uint32_t moduleId_
Definition: DQMStore.h:603
static const uint32_t DQM_PROP_HAS_REFERENCE
Definition: DQMNet.h:53
QTestSpecs qtestspecs_
Definition: DQMStore.h:611
uint32_t run_
Definition: DQMStore.h:601
MonitorElement * initialise(MonitorElement *me, const std::string &path)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
void print_trace(const std::string &dir, const std::string &name)
Definition: DQMStore.cc:497
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
std::set< std::string > dirs_
Definition: DQMStore.h:607
bool collateHistograms_
Definition: DQMStore.h:598
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * DQMStore::book1D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1D histogram.

Definition at line 872 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), BeamMonitor::analyze(), TestSuite::analyze(), FourVectorHLT::analyze(), ecaldqm::MESetChannel::append_(), DQMHOAlCaRecoStream::beginJob(), PFTester::beginJob(), L1Scalers::beginJob(), DQMSourceExample::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), L1TGCTClient::beginJob(), EgammaBasicClusters::beginJob(), L1EmulatorErrorFlagClient::beginJob(), SiStripMonitorFilter::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), DQMFEDIntegrityClient::beginJob(), SiStripMonitorHLT::beginJob(), BeamConditionsMonitor::beginJob(), L1TDTTFClient::beginJob(), EgammaSuperClusters::beginJob(), MonitorLTC::beginJob(), DQMSourceEleCalib::beginJob(), AlcaBeamMonitor::beginJob(), HLTMonBitSummary::beginJob(), HLTMonHcalIsoTrack::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), TkAlCaRecoMonitor::beginJob(), QcdHighPtDQM::beginJob(), HcalSimHitStudy::beginJob(), HLTMonPhotonSource::beginJob(), L1TDEMON::beginJob(), SimHitsValidationHcal::beginJob(), HLTMonPhotonClient::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), BasicHepMCValidation::beginJob(), DrellYanValidation::beginJob(), WValidation::beginJob(), PFJetAnalyzer::beginJob(), HiggsValidation::beginJob(), dEdxAnalyzer::beginJob(), HTMHTAnalyzer::beginJob(), VertexMonitor::beginJob(), BasicGenParticleValidation::beginJob(), BeamMonitor::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), BeamSpotProblemMonitor::beginJob(), DQMClientExample::beginJob(), SimplePhotonAnalyzer::beginJob(), TrackSplittingMonitor::beginJob(), JetPtAnalyzer::beginJob(), MuCorrMETAnalyzer::beginJob(), TcMETAnalyzer::beginJob(), TrackEfficiencyClient::beginJob(), TrackEfficiencyMonitor::beginJob(), L1TDTTF::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), DuplicationChecker::beginJob(), JetAnalyzer::beginJob(), HLTAlCaMonPi0::beginJob(), DQMSourcePi0::beginJob(), GlobalTest::beginJob(), TopDiLeptonDQM::beginJob(), HLTMonSimpleBTag::beginJob(), FourVectorHLT::beginJob(), L1TRPCTF::beginJob(), ZDCDigiStudy::beginJob(), SiStripFEDCheckPlugin::beginJob(), HLTMonElectronConsumer::beginJob(), HLTMonElectron::beginJob(), TopHLTDiMuonDQM::beginJob(), HLTMon::beginJob(), EcalZmassTask::beginJob(), PFMETAnalyzer::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), CaloMETAnalyzer::beginJob(), TkConvValidator::beginJob(), METAnalyzer::beginJob(), TTbar_GenLepAnalyzer::beginJob(), TTbar_GenJetAnalyzer::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), TauValidation::beginJob(), TTbar_Kinematics::beginJob(), L1TCSCTF::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), MuonAlignment::beginJob(), TauTagValidation::beginJob(), HLTScalers::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), TopValidation::beginJob(), EmDQMReco::beginJob(), PiZeroAnalyzer::beginJob(), TrigResRateMon::beginJob(), EgHLTOfflineSource::beginJob(), PhotonAnalyzer::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), L1TGCT::beginJob(), MCEmbeddingValidationAnalyzer::beginJob(), CastorHIMonitor::beginRun(), CastorRecHitMonitor::beginRun(), CastorDataIntegrityMonitor::beginRun(), CastorPSMonitor::beginRun(), HLTTauDQML1Plotter::beginRun(), CastorDigiMonitor::beginRun(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalRecHitClient::beginRun(), TrackingTruthValid::beginRun(), HLTTauDQMPathSummaryPlotter::beginRun(), HcalSummaryClient::beginRun(), CaloTowerAnalyzer::beginRun(), RPCBxTest::beginRun(), RPCMonitorLinkSynchro::beginRun(), RPCOccupancyTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), SiPixelDigiValid::beginRun(), SiStripDigiValid::beginRun(), CastorTowerJetMonitor::beginRun(), RPCMonitorRaw::beginRun(), HLTTauDQMPathPlotter::beginRun(), RPCDcsInfo::beginRun(), PrimaryVertexMonitor::beginRun(), RPCRecHitValid::beginRun(), RPCRecHitProbability::beginRun(), RPCMonitorDigi::beginRun(), TrackerHitAnalyzer::beginRun(), AlcaBeamMonitor::beginRun(), DTnoiseDBValidation::beginRun(), HLTMonBitSummary::beginRun(), RPCMultiplicityTest::beginRun(), SiPixelRecHitsValid::beginRun(), TrackBuildingAnalyzer::beginRun(), RPCClusterSizeTest::beginRun(), BxTiming::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), RPCEfficiencyShiftHisto::beginRun(), CastorLEDMonitor::beginRun(), DQMProvInfo::beginRun(), RPCDigiValid::beginRun(), SiStripRecHitsValid::beginRun(), MuonAlignmentSummary::beginRun(), L1TOccupancyClient::beginRun(), SiStripMonitorRawData::beginRun(), HLTJetMETDQMSource::beginRun(), SiPixelTrackResidualSource::beginRun(), GlobalMuonMatchAnalyzer::beginRun(), ZDCMonitorModule::beginRun(), GeneralHLTOffline::beginRun(), MuonIdDQM::beginRun(), L1TCSCTPG::beginRun(), L1TDTTPG::beginRun(), HLTInclusiveVBFSource::beginRun(), TrackingMonitor::beginRun(), MuonTrackResidualAnalyzer::beginRun(), MuonIdVal::beginRun(), BTagHLTOfflineSource::beginRun(), MuonTrackAnalyzer::beginRun(), EcalZmassClient::beginRun(), L1TdeCSCTF::beginRun(), JetMETHLTOfflineSource::beginRun(), TriggerValidator::beginRun(), HLTOfflineReproducibility::beginRun(), HLTJetMETValidation::beginRun(), L1TRPCTPG::beginRun(), EmDQM::beginRun(), RPCTTUMonitor::beginRun(), L1TRCT::beginRun(), FourVectorHLTOnline::beginRun(), CastorMonitorModule::beginRun(), V0Validator::beginRun(), Vx3DHLTAnalyzer::beginRun(), TrigResRateMon::beginRun(), RPCEfficiency::beginRun(), FourVectorHLTriggerOffline::beginRun(), FourVectorHLTOffline::beginRun(), MuonTrackValidator::beginRun(), L1TdeRCT::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), L1ValidatorHists::Book(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), HLTMonBTagMuSource::book(), HLTMonBTagIPSource::book(), HLTMonBTagClient::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), MEtoMEComparitor::book(), HistoProviderDQM::book1D(), HcalDigisClient::book1D(), QcdUeDQM::book1D(), HcalDigisValidation::book1D(), HLTMuonMatchAndPlot::book1D(), QcdLowPtDQM::book1D(), DQMStore::IBooker::book1D(), book1D(), HcalSubdetDigiMonitor::book1D(), EcalSelectiveReadoutValidation::book1D(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), SiStripBaseCondObjDQM::bookCumulMEs(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTMuonPlotter::bookHist(), PhotonOfflineClient::bookHisto(), PhotonAnalyzer::bookHisto(), JPTJetAnalyzer::bookHistogram(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), DQMLumiMonitor::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), PhotonValidator::bookHistograms(), L1TGT::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkMuTauHistManager::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeEvtWeight::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeMuonRadCorrUncertainty::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeL1ETM::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::electronDistributionExtra::bookHistograms(), MCEmbeddingValidationAnalyzer::tauDistributionExtra::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonEfficiencyT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonL1TriggerEfficiencyT1T2< T1, T2 >::bookHistograms(), MCEmbeddingValidationAnalyzer::l1ExtraObjectDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::metDistributionType::bookHistograms(), MCEmbeddingValidationAnalyzer::metL1TriggerEfficiencyType::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDCSByLumiTask::bookHistos(), PlotMakerL1::bookHistos(), DTNoiseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerReco::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DQMExample_Step1::bookHistos(), HiggsDQM::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), B2GDQM::bookHistos(), ExoticaDQM::bookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForBeamSpot(), TrackAnalyzer::bookHistosForHitProperties(), TrackAnalyzer::bookHistosForLScertification(), TrackAnalyzer::bookHistosForState(), TrackAnalyzer::bookHistosForTrackerSpecific(), SiStripMonitorTrack::bookLayerMEs(), SiStripMonitorTrack::bookME1D(), SiStripMonitorDigi::bookME1D(), SiStripMonitorCluster::bookME1D(), SiPixelDigiSource::bookMEs(), SiPixelRawDataErrorSource::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(), CSCOfflineMonitor::bookTheHists(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), HTrackVariables::computeEfficiency(), HcalTrigPrimMonitor::create_et_histogram(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), MonitorTrackResiduals::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripMonitorCluster::createModuleMEs(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), CSCWireDigiValidation::CSCWireDigiValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), dqmRegisterHistogram(), DTTriggerCheck::DTTriggerCheck(), DQMHcalIsoTrackPostProcessor::endJob(), HarvestingAnalyzer::endJob(), BTagValidator::endJob(), HLTScalersClient::endLuminosityBlock(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCRecHitValidClient::endRun(), DQMExample_Step2::endRun(), AlcaBeamMonitorClient::endRun(), DQMDcsInfoClient::endRun(), TauDQMHistEffProducer::endRun(), GlobalHitsProdHistStripper::endRun(), FourVectorHLTClient::endRun(), ESRecoSummary::ESRecoSummary(), extract(), SiStripQualityDQM::fillGrandSummaryMEs(), EgHLTOfflineClient::FillHLTvsOfflineHist(), FastTimerServiceClient::fillPathSummaryPlots(), SiPixelActionExecutor::fillSummary(), BeamMonitor::FitAndFill(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), EmDQMReco::FourVectorMonitorElements::FourVectorMonitorElements(), EDMtoMEConverter::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripMonitorQuality::getQualityME(), SiStripSummaryCreator::getSummaryME(), SiPixelActionExecutor::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(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EwkElecDQM::init_histograms(), EwkMuDQM::init_histograms(), EwkMuLumiMonitorDQM::init_histograms(), MuIsoValidation::InitHistos(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), LaserDQM::initMonitors(), JetTester::JetTester(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), EgHLTOfflineClient::makeEffMonElem2Leg(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), METTester::METTester(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook1D(), RivetAnalyzer::normalizeTree(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), CastorRecHitPerChan::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), RPCRecHitValid::RPCRecHitValid(), BTagHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalRecHitMonitor::setup(), HcalZDCMonitor::setup(), HcalNoiseMonitor::setup(), HcalBeamMonitor::setup(), HcalDataIntegrityTask::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HcalEEUSMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), EBOccupancyTask::setup(), EBCosmicTask::setup(), HcalRawDataMonitor::setup(), EcalBarrelMonitorModule::setup(), EBTimingTask::setup(), EESummaryClient::setup(), EBSummaryClient::setup(), EEClusterTask::setup(), EBSelectiveReadoutTask::setup(), EBClusterTask::setup(), EEStatusFlagsTask::setup(), EBStatusFlagsTask::setup(), EEIntegrityTask::setup(), EBHltTask::setup(), EERawDataTask::setup(), EBTimingClient::setup(), EELedClient::setup(), EBRawDataTask::setup(), EELaserClient::setup(), EBLaserClient::setup(), EBIntegrityTask::setup(), EEPedestalClient::setup(), EBTestPulseClient::setup(), EEHltTask::setup(), EEPedestalOnlineClient::setup(), EETestPulseClient::setup(), EBPedestalOnlineClient::setup(), EBPedestalClient::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), HcalMonitorModule::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagLEDMonitor::setup(), HcalBaseMonitor::setupDepthHists1D(), HLXMonitor::SetupHists(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupHltMatrix(), FourVectorHLTOffline::setupHltMatrix(), TopElectronHLTOfflineSource::EleMEs::setupMESet(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), and TrigResRateMon::TrigResRateMon().

874 {
875  return book1D(pwd_, name, new TH1F(name, title, nchX, lowX, highX));
876 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1D histogram.

Definition at line 880 of file DQMStore.cc.

References book1D(), and pwd_.

882 {
883  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, lowX, highX));
884 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book1D ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 920 of file DQMStore.cc.

References book1D(), and pwd_.

922 {
923  return book1D(pwd_, name, new TH1F(name, title, nchX, xbinsize));
924 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 928 of file DQMStore.cc.

References book1D(), and pwd_.

930 {
931  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, xbinsize));
932 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book1D ( const char *  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 936 of file DQMStore.cc.

References book1D(), and pwd_.

937 {
938  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name)));
939 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book1D ( const std::string &  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 943 of file DQMStore.cc.

References book1D(), and pwd_.

944 {
945  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name.c_str())));
946 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book1D ( const std::string &  dir,
const std::string &  name,
TH1F *  h 
)
private

Book 1D histogram based on TH1F.

Definition at line 851 of file DQMStore.cc.

References book(), collate1D(), and MonitorElement::DQM_KIND_TH1F.

852 {
853  return book(dir, name, "book1D", MonitorElement::DQM_KIND_TH1F, h, collate1D);
854 }
static void collate1D(MonitorElement *me, TH1F *h)
Definition: DQMStore.cc:1436
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * DQMStore::book1DD ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 904 of file DQMStore.cc.

References pwd_.

Referenced by MEtoMEComparitor::book(), DQMStore::IBooker::book1DD(), book1DD(), extract(), EDMtoMEConverter::getData(), EBOccupancyTask::setup(), and EEOccupancyTask::setup().

906 {
907  return book1DD(pwd_, name, new TH1D(name, title, nchX, lowX, highX));
908 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:904
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book1DD ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 912 of file DQMStore.cc.

References book1DD(), and pwd_.

914 {
915  return book1DD(pwd_, name, new TH1D(name.c_str(), title.c_str(), nchX, lowX, highX));
916 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:904
std::string pwd_
Definition: DQMStore.h:605
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 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 964 of file DQMStore.cc.

References book1DD(), and pwd_.

965 {
966  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name)));
967 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:904
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book1DD ( const std::string &  name,
TH1D *  h 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 971 of file DQMStore.cc.

References book1DD(), and pwd_.

972 {
973  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name.c_str())));
974 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:904
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book1DD ( const std::string &  dir,
const std::string &  name,
TH1D *  h 
)
private

Book 1D histogram based on TH1D.

Definition at line 865 of file DQMStore.cc.

References book(), collate1DD(), and MonitorElement::DQM_KIND_TH1D.

866 {
867  return book(dir, name, "book1DD", MonitorElement::DQM_KIND_TH1D, h, collate1DD);
868 }
static void collate1DD(MonitorElement *me, TH1D *h)
Definition: DQMStore.cc:1450
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * DQMStore::book1S ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 888 of file DQMStore.cc.

References pwd_.

Referenced by DQMSourceExample::beginJob(), MEtoMEComparitor::book(), DQMStore::IBooker::book1S(), book1S(), dqmRegisterHistogram(), extract(), and EDMtoMEConverter::getData().

890 {
891  return book1S(pwd_, name, new TH1S(name, title, nchX, lowX, highX));
892 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:888
MonitorElement * DQMStore::book1S ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 896 of file DQMStore.cc.

References book1S(), and pwd_.

898 {
899  return book1S(pwd_, name, new TH1S(name.c_str(), title.c_str(), nchX, lowX, highX));
900 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:888
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 char *  name,
TH1S *  h 
)

Book 1S histogram by cloning an existing histogram.

Definition at line 950 of file DQMStore.cc.

References book1S(), and pwd_.

951 {
952  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name)));
953 }
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:888
MonitorElement * DQMStore::book1S ( const std::string &  name,
TH1S *  h 
)

Book 1S histogram by cloning an existing histogram.

Definition at line 957 of file DQMStore.cc.

References book1S(), and pwd_.

958 {
959  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name.c_str())));
960 }
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:888
MonitorElement * DQMStore::book1S ( const std::string &  dir,
const std::string &  name,
TH1S *  h 
)
private

Book 1D histogram based on TH1S.

Definition at line 858 of file DQMStore.cc.

References book(), collate1S(), and MonitorElement::DQM_KIND_TH1S.

859 {
860  return book(dir, name, "book1S", MonitorElement::DQM_KIND_TH1S, h, collate1S);
861 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
static void collate1S(MonitorElement *me, TH1S *h)
Definition: DQMStore.cc:1443
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
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 1000 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), FourVectorHLT::analyze(), L1Scalers::beginJob(), DQMSourceExample::beginJob(), EgammaBasicClusters::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), RPCDaqInfo::beginJob(), EEDaqInfoTask::beginJob(), DQMFEDIntegrityClient::beginJob(), EEDataCertificationTask::beginJob(), EEDcsInfoTask::beginJob(), EBDataCertificationTask::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TDTTFClient::beginJob(), EgammaSuperClusters::beginJob(), L1TDTTPGClient::beginJob(), L1TRPCTFClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), HLTMonBitSummary::beginJob(), HLTMonHcalIsoTrack::beginJob(), DTDataIntegrityTest::beginJob(), DQMSourceEleCalib::beginJob(), QcdHighPtDQM::beginJob(), TkAlCaRecoMonitor::beginJob(), HLTEventInfoClient::beginJob(), HLTMonPhotonSource::beginJob(), SimHitsValidationHcal::beginJob(), L1TDEMON::beginJob(), DTBlockedROChannelsTest::beginJob(), PFJetAnalyzer::beginJob(), BeamMonitor::beginJob(), ConverterTester::beginJob(), JetPtAnalyzer::beginJob(), L1TDTTF::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), HcalDataCertification::beginJob(), TopDiLeptonDQM::beginJob(), HcalDCSInfo::beginJob(), HLTMonSimpleBTag::beginJob(), FourVectorHLT::beginJob(), HLTMonElectron::beginJob(), HcalDAQInfo::beginJob(), ZDCDigiStudy::beginJob(), L1TRPCTF::beginJob(), HLTMon::beginJob(), TopHLTDiMuonDQM::beginJob(), ZdcSimHitStudy::beginJob(), LogMessageMonitor::beginJob(), TkConvValidator::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), TTbar_Kinematics::beginJob(), L1TCSCTF::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), MuonAlignment::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), EmDQMReco::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), L1TGCT::beginJob(), MCEmbeddingValidationAnalyzer::beginJob(), CastorRecHitMonitor::beginRun(), CastorPSMonitor::beginRun(), CastorDataIntegrityMonitor::beginRun(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalBeamClient::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), HcalDigiClient::beginRun(), HcalHotCellClient::beginRun(), HcalNZSClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitClient::beginRun(), HcalSummaryClient::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), HcalRawDataClient::beginRun(), RPCMonitorLinkSynchro::beginRun(), RPCOccupancyTest::beginRun(), CaloTowerAnalyzer::beginRun(), RPCEventSummary::beginRun(), RPCMonitorRaw::beginRun(), DTOfflineSummaryClients::beginRun(), PrimaryVertexMonitor::beginRun(), RPCRecHitProbability::beginRun(), TrackerHitAnalyzer::beginRun(), RPCDeadChannelTest::beginRun(), CastorChannelQualityMonitor::beginRun(), RPCMultiplicityTest::beginRun(), TrackBuildingAnalyzer::beginRun(), RPCClusterSizeTest::beginRun(), ZDCMonitorClient::beginRun(), RPCEfficiencyShiftHisto::beginRun(), DQMProvInfo::beginRun(), RPCDigiValid::beginRun(), DTSummaryClients::beginRun(), MuonAlignmentSummary::beginRun(), L1TOccupancyClient::beginRun(), HLTJetMETDQMSource::beginRun(), GlobalMuonMatchAnalyzer::beginRun(), SiPixelTrackResidualSource::beginRun(), HLTInclusiveVBFSource::beginRun(), L1TDTTPG::beginRun(), EcalBarrelMonitorClient::beginRun(), TrackingMonitor::beginRun(), EcalEndcapMonitorClient::beginRun(), MuonTrackResidualAnalyzer::beginRun(), MuonIdVal::beginRun(), MuonTrackAnalyzer::beginRun(), BTagHLTOfflineSource::beginRun(), SiPixelClusterSource::beginRun(), L1TdeCSCTF::beginRun(), JetMETHLTOfflineSource::beginRun(), HLTOfflineReproducibility::beginRun(), L1TRCT::beginRun(), L1TCompare::beginRun(), FourVectorHLTOnline::beginRun(), CastorMonitorModule::beginRun(), Vx3DHLTAnalyzer::beginRun(), FourVectorHLTriggerOffline::beginRun(), FourVectorHLTOffline::beginRun(), MuonTrackValidator::beginRun(), L1TdeRCT::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), HLTMonBTagIPSource::book(), HLTMonBTagMuSource::book(), HLTMonBTagClient::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book2D(), QcdUeDQM::book2D(), HcalDigisClient::book2D(), HcalDigisValidation::book2D(), HLTMuonMatchAndPlot::book2D(), QcdLowPtDQM::book2D(), DQMStore::IBooker::book2D(), book2D(), HcalSubdetDigiMonitor::book2D(), EcalSelectiveReadoutValidation::book2D(), JPTJetAnalyzer::book2DHistogram(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), L1TGMT::book_(), DTTriggerEfficiencyTask::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), DTnoiseDBValidation::bookHisto(), RPCValidHistograms::bookHistograms(), PhotonValidator::bookHistograms(), L1TGT::bookHistograms(), L1TEventInfoClient::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeL1ETM::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTNoiseTask::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::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(), CSCOfflineMonitor::bookTheHists(), SiPixelActionExecutor::bookTrackerMaps(), TrackingCertificationInfo::bookTrackingCertificationMEs(), RPCMonitorDigi::bookWheelDiskME(), DTTriggerEfficiencyTask::bookWheelHistos(), 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(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), CSCRecHit2DValidation::CSCRecHit2DValidation(), dqmRegisterHistogram(), BTagValidator::endJob(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), DataCertificationJetMET::endRun(), PhotonDataCertification::endRun(), FourVectorHLTClient::endRun(), HLTOverallSummary::endRun(), HLTMuonCertSummary::endRun(), extract(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalTimingMonitorModule::HcalTimingMonitorModule(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), EwkElecDQM::init_histograms(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook2D(), RecoMuonValidator::RecoMuonValidator(), RPCRecHitValid::RPCRecHitValid(), BTagHLTOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), HcalRecHitMonitor::setup(), HcalZDCMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalNoiseMonitor::setup(), EtaPhiHists::setup(), HcalBeamMonitor::setup(), HcalDeadCellMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalEEUSMonitor::setup(), EcalEndcapMonitorModule::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), EcalBarrelMonitorModule::setup(), EBSummaryClient::setup(), EBTimingTask::setup(), EESummaryClient::setup(), EBSelectiveReadoutTask::setup(), EEClusterTask::setup(), EBClusterTask::setup(), EEStatusFlagsTask::setup(), EBStatusFlagsTask::setup(), EEIntegrityTask::setup(), EBLaserClient::setup(), EELaserClient::setup(), EBTimingClient::setup(), EBIntegrityTask::setup(), EELedClient::setup(), EBIntegrityClient::setup(), EEPedestalClient::setup(), EEIntegrityClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EBPedestalOnlineClient::setup(), EEPedestalOnlineClient::setup(), EBTestPulseClient::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EETriggerTowerClient::setup(), EBTriggerTowerClient::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagLEDMonitor::setup(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOffline::setupHltLsPlots(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), FourVectorHLTOffline::setupHltMatrix(), and TrigResRateMon::setupStreamMatrix().

1003 {
1004  return book2D(pwd_, name, new TH2F(name, title,
1005  nchX, lowX, highX,
1006  nchY, lowY, highY));
1007 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
MonitorElement * DQMStore::book2D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2D histogram.

Definition at line 1011 of file DQMStore.cc.

References book2D(), and pwd_.

1014 {
1015  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(),
1016  nchX, lowX, highX,
1017  nchY, lowY, highY));
1018 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
MonitorElement * DQMStore::book2D ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)

Book 2D variable bin histogram.

Definition at line 1066 of file DQMStore.cc.

References book2D(), and pwd_.

1068 {
1069  return book2D(pwd_, name, new TH2F(name, title,
1070  nchX, xbinsize, nchY, ybinsize));
1071 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
MonitorElement * DQMStore::book2D ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)

Book 2D variable bin histogram.

Definition at line 1075 of file DQMStore.cc.

References book2D(), and pwd_.

1077 {
1078  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(),
1079  nchX, xbinsize, nchY, ybinsize));
1080 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
MonitorElement * DQMStore::book2D ( const char *  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 1084 of file DQMStore.cc.

References book2D(), and pwd_.

1085 {
1086  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name)));
1087 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2D ( const std::string &  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 1091 of file DQMStore.cc.

References book2D(), and pwd_.

1092 {
1093  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name.c_str())));
1094 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2D ( const std::string &  dir,
const std::string &  name,
TH2F *  h 
)
private

Book 2D histogram based on TH2F.

Definition at line 979 of file DQMStore.cc.

References book(), collate2D(), and MonitorElement::DQM_KIND_TH2F.

980 {
981  return book(dir, name, "book2D", MonitorElement::DQM_KIND_TH2F, h, collate2D);
982 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
static void collate2D(MonitorElement *me, TH2F *h)
Definition: DQMStore.cc:1457
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * DQMStore::book2DD ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2D double histogram.

Definition at line 1044 of file DQMStore.cc.

References pwd_.

Referenced by AcceptanceHistoProducer::beginJob(), DQMStore::IBooker::book2DD(), book2DD(), extract(), and EDMtoMEConverter::getData().

1047 {
1048  return book2DD(pwd_, name, new TH2D(name, title,
1049  nchX, lowX, highX,
1050  nchY, lowY, highY));
1051 }
MonitorElement * book2DD(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D double histogram.
Definition: DQMStore.cc:1044
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book2DD ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2S histogram.

Definition at line 1055 of file DQMStore.cc.

References book2DD(), and pwd_.

1058 {
1059  return book2DD(pwd_, name, new TH2D(name.c_str(), title.c_str(),
1060  nchX, lowX, highX,
1061  nchY, lowY, highY));
1062 }
MonitorElement * book2DD(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D double histogram.
Definition: DQMStore.cc:1044
std::string pwd_
Definition: DQMStore.h:605
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 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 1112 of file DQMStore.cc.

References book2DD(), and pwd_.

1113 {
1114  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name)));
1115 }
MonitorElement * book2DD(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D double histogram.
Definition: DQMStore.cc:1044
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2DD ( const std::string &  name,
TH2D *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 1119 of file DQMStore.cc.

References book2DD(), and pwd_.

1120 {
1121  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name.c_str())));
1122 }
MonitorElement * book2DD(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D double histogram.
Definition: DQMStore.cc:1044
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2DD ( const std::string &  dir,
const std::string &  name,
TH2D *  h 
)
private

Book 2D histogram based on TH2D.

Definition at line 993 of file DQMStore.cc.

References book(), collate2DD(), and MonitorElement::DQM_KIND_TH2D.

994 {
995  return book(dir, name, "book2DD", MonitorElement::DQM_KIND_TH2D, h, collate2DD);
996 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
static void collate2DD(MonitorElement *me, TH2D *h)
Definition: DQMStore.cc:1471
dbl *** dir
Definition: mlp_gen.cc:35
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 1022 of file DQMStore.cc.

References pwd_.

Referenced by DQMStore::IBooker::book2S(), book2S(), dqmRegisterHistogram(), extract(), and EDMtoMEConverter::getData().

1025 {
1026  return book2S(pwd_, name, new TH2S(name, title,
1027  nchX, lowX, highX,
1028  nchY, lowY, highY));
1029 }
MonitorElement * book2S(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2S histogram.
Definition: DQMStore.cc:1022
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book2S ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2S histogram.

Definition at line 1033 of file DQMStore.cc.

References book2S(), and pwd_.

1036 {
1037  return book2S(pwd_, name, new TH2S(name.c_str(), title.c_str(),
1038  nchX, lowX, highX,
1039  nchY, lowY, highY));
1040 }
MonitorElement * book2S(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2S histogram.
Definition: DQMStore.cc:1022
std::string pwd_
Definition: DQMStore.h:605
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 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 1098 of file DQMStore.cc.

References book2S(), and pwd_.

1099 {
1100  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name)));
1101 }
MonitorElement * book2S(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2S histogram.
Definition: DQMStore.cc:1022
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2S ( const std::string &  name,
TH2S *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 1105 of file DQMStore.cc.

References book2S(), and pwd_.

1106 {
1107  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name.c_str())));
1108 }
MonitorElement * book2S(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2S histogram.
Definition: DQMStore.cc:1022
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book2S ( const std::string &  dir,
const std::string &  name,
TH2S *  h 
)
private

Book 2D histogram based on TH2S.

Definition at line 986 of file DQMStore.cc.

References book(), collate2S(), and MonitorElement::DQM_KIND_TH2S.

987 {
988  return book(dir, name, "book2S", MonitorElement::DQM_KIND_TH2S, h, collate2S);
989 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
static void collate2S(MonitorElement *me, TH2S *h)
Definition: DQMStore.cc:1464
dbl *** dir
Definition: mlp_gen.cc:35
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 1134 of file DQMStore.cc.

References pwd_.

Referenced by ConverterTester::beginJob(), DQMStore::IBooker::book3D(), book3D(), SiStripMonitorTrack::bookME3D(), CSCMonitorModule::bookMonitorObject(), dqmRegisterHistogram(), BTagValidator::endJob(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), EETriggerTowerTask::setup(), and EBTriggerTowerTask::setup().

1138 {
1139  return book3D(pwd_, name, new TH3F(name, title,
1140  nchX, lowX, highX,
1141  nchY, lowY, highY,
1142  nchZ, lowZ, highZ));
1143 }
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.
Definition: DQMStore.cc:1134
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book3D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ 
)

Book 3D histogram.

Definition at line 1147 of file DQMStore.cc.

References book3D(), and pwd_.

1151 {
1152  return book3D(pwd_, name, new TH3F(name.c_str(), title.c_str(),
1153  nchX, lowX, highX,
1154  nchY, lowY, highY,
1155  nchZ, lowZ, highZ));
1156 }
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.
Definition: DQMStore.cc:1134
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::book3D ( const char *  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 1160 of file DQMStore.cc.

References book3D(), and pwd_.

1161 {
1162  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name)));
1163 }
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.
Definition: DQMStore.cc:1134
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book3D ( const std::string &  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 1167 of file DQMStore.cc.

References book3D(), and pwd_.

1168 {
1169  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name.c_str())));
1170 }
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.
Definition: DQMStore.cc:1134
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::book3D ( const std::string &  dir,
const std::string &  name,
TH3F *  h 
)
private

Book 3D histogram based on TH3F.

Definition at line 1127 of file DQMStore.cc.

References book(), collate3D(), and MonitorElement::DQM_KIND_TH3F.

1128 {
1129  return book(dir, name, "book3D", MonitorElement::DQM_KIND_TH3F, h, collate3D);
1130 }
static void collate3D(MonitorElement *me, TH3F *h)
Definition: DQMStore.cc:1478
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * DQMStore::bookFloat ( const char *  name)

Book float.

Definition at line 809 of file DQMStore.cc.

References pwd_.

Referenced by DQMSourceExample::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), RPCDaqInfo::beginJob(), SiPixelCertification::beginJob(), SiPixelDcsInfo::beginJob(), EBDataCertificationTask::beginJob(), DQMFEDIntegrityClient::beginJob(), EEDaqInfoTask::beginJob(), EEDataCertificationTask::beginJob(), SiPixelDaqInfo::beginJob(), EEDcsInfoTask::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), HLTEventInfoClient::beginJob(), BeamMonitor::beginJob(), ConverterTester::beginJob(), HcalDataCertification::beginJob(), DQMDaqInfo::beginJob(), HcalDCSInfo::beginJob(), HLTMonElectronConsumer::beginJob(), HcalDAQInfo::beginJob(), CastorPSMonitor::beginRun(), HcalSummaryClient::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), RPCEventSummary::beginRun(), DTOfflineSummaryClients::beginRun(), CastorChannelQualityMonitor::beginRun(), ZDCMonitorClient::beginRun(), DTSummaryClients::beginRun(), DQMProvInfo::beginRun(), DTSegmentAnalysisTask::beginRun(), DTNoiseTask::beginRun(), HLTInclusiveVBFSource::beginRun(), EcalEndcapMonitorClient::beginRun(), EcalBarrelMonitorClient::beginRun(), DTLocalTriggerBaseTask::beginRun(), BTagHLTOfflineSource::beginRun(), HLTMuonPlotter::beginRun(), JetMETHLTOfflineSource::beginRun(), Vx3DHLTAnalyzer::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), DQMStore::IBooker::bookFloat(), bookFloat(), EcalSelectiveReadoutValidation::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), L1TEventInfoClient::bookHistograms(), DTLocalTriggerSynchTask::bookHistos(), DTDataIntegrityTask::bookHistos(), DTScalerInfoTask::bookHistos(), TrackingQualityChecker::bookLSStatus(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), TrackingCertificationInfo::bookTrackingCertificationMEs(), TrackingCertificationInfo::bookTrackingCertificationMEsAtLumi(), QcdLowPtDQM::createHistos(), DQMDcsInfoClient::endRun(), DataCertificationJetMET::endRun(), HLTTauCertifier::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), HcalTimingMonitorModule::HcalTimingMonitorModule(), EgHLTOfflineSummaryClient::runClient_(), DQMFileSaver::saveForOffline(), HcalCoarsePedestalMonitor::setup(), HcalRecHitMonitor::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HLXMonitor::SetupEventInfo(), PFCandidateDQMAnalyzer::storeBadEvents(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), and SubTaskSummaryStatus::WriteThreshold().

810 { return bookFloat(pwd_, name); }
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:809
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::bookFloat ( const std::string &  name)

Book float.

Definition at line 814 of file DQMStore.cc.

References bookFloat(), and pwd_.

815 {
816  return bookFloat(pwd_, name);
817 }
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:809
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::bookFloat ( const std::string &  dir,
const std::string &  name 
)
private

Book float.

Definition at line 792 of file DQMStore.cc.

References book(), collateHistograms_, MonitorElement::DQM_KIND_REAL, MonitorElement::Fill(), findObject(), and MonitorElement::initialise().

793 {
794  if (collateHistograms_)
795  {
796  if (MonitorElement *me = findObject(dir, name))
797  {
798  me->Fill(0.);
799  return me;
800  }
801  }
802 
803  return book(dir, name, "bookFloat")
805 }
MonitorElement * initialise(Kind kind)
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:598
MonitorElement * DQMStore::bookInt ( const char *  name)

Book int.

Definition at line 779 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), L1Scalers::beginJob(), DQMSourceExample::beginJob(), ConverterTester::beginJob(), HLTScalers::beginJob(), EgHLTOfflineSource::beginJob(), PhotonAnalyzer::beginJob(), CastorHIMonitor::beginRun(), CastorRecHitMonitor::beginRun(), CastorPSMonitor::beginRun(), CastorDataIntegrityMonitor::beginRun(), CastorDigiMonitor::beginRun(), CastorTowerJetMonitor::beginRun(), CastorLEDMonitor::beginRun(), DQMProvInfo::beginRun(), ZDCMonitorModule::beginRun(), CastorMonitorModule::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), CalibrationScanTask::book(), CalibrationTask::book(), FineDelayTask::book(), SiPixelDataQuality::bookGlobalQualityFlag(), DQMStore::IBooker::bookInt(), bookInt(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), CommissioningHistograms::copyCustomInformation(), RPCDcsInfoClient::endRun(), HLTOverallSummary::endRun(), extract(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), DQMProvInfo::makeProvInfo(), HcalCoarsePedestalMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalZDCMonitor::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalEEUSMonitor::setup(), EcalEndcapMonitorModule::setup(), HcalRawDataMonitor::setup(), EcalBarrelMonitorModule::setup(), HcalBaseDQMonitor::setup(), HcalMonitorModule::setup(), HcalDigiMonitor::setup(), HcalDetDiagLEDMonitor::setup(), and HLXMonitor::SetupEventInfo().

780 { return bookInt(pwd_, name); }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * bookInt(const char *name)
Book int.
Definition: DQMStore.cc:779
MonitorElement * DQMStore::bookInt ( const std::string &  name)

Book int.

Definition at line 784 of file DQMStore.cc.

References bookInt(), and pwd_.

785 {
786  return bookInt(pwd_, name);
787 }
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * bookInt(const char *name)
Book int.
Definition: DQMStore.cc:779
MonitorElement * DQMStore::bookInt ( const std::string &  dir,
const std::string &  name 
)
private

Book int.

Definition at line 762 of file DQMStore.cc.

References book(), collateHistograms_, MonitorElement::DQM_KIND_INT, MonitorElement::Fill(), findObject(), and MonitorElement::initialise().

763 {
764  if (collateHistograms_)
765  {
766  if (MonitorElement *me = findObject(dir, name))
767  {
768  me->Fill(0);
769  return me;
770  }
771  }
772 
773  return book(dir, name, "bookInt")
775 }
MonitorElement * initialise(Kind kind)
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:598
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 1186 of file DQMStore.cc.

References pwd_.

Referenced by DQMSourceExample::beginJob(), AlcaBeamMonitor::beginJob(), HcalSimHitStudy::beginJob(), PFJetAnalyzer::beginJob(), VertexMonitor::beginJob(), BeamMonitor::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), LogMessageMonitor::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), SiPixelDigiValid::beginRun(), PrimaryVertexMonitor::beginRun(), RPCRecHitValid::beginRun(), AlcaBeamMonitor::beginRun(), SiStripLAProfileBooker::beginRun(), TrackBuildingAnalyzer::beginRun(), BxTiming::beginRun(), TrackingMonitor::beginRun(), MuonTrackValidator::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), L1TGMT::book_(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), DQMLumiMonitor::bookHistograms(), PhotonValidator::bookHistograms(), L1TGT::bookHistograms(), TrackAnalyzer::bookHistosForBeamSpot(), TrackAnalyzer::bookHistosForState(), TrackAnalyzer::bookHistosForTrackerSpecific(), SiStripMonitorTrack::bookMEProfile(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), CSCMonitorModule::bookMonitorObject(), HcalDigisClient::bookPf(), HcalDigisValidation::bookPf(), HistoProviderDQM::bookProfile(), QcdUeDQM::bookProfile(), JPTJetAnalyzer::bookProfile(), DQMStore::IBooker::bookProfile(), HcalSubdetDigiMonitor::bookProfile(), bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), TrigResRateMon::bookTestHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency1D(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createModuleMEs(), PFClient::createProfilePlots(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), EmDQMPostProcessor::dividehistos(), dqmRegisterHistogram(), TrackerHitAnalyzer::endJob(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), extract(), EDMtoMEConverter::getData(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), CommissioningHistograms::histogram(), MuIsoValidation::InitHistos(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), JetTester::JetTester(), METTester::METTester(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), RivetAnalyzer::normalizeTree(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalRecHitMonitor::setup(), HcalBeamMonitor::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), EcalEndcapMonitorModule::setup(), EBPedestalTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EELaserTask::setup(), EELedTask::setup(), EBLaserTask::setup(), HcalRawDataMonitor::setup(), EBTestPulseTask::setup(), EcalBarrelMonitorModule::setup(), EBSummaryClient::setup(), EESummaryClient::setup(), EETrendClient::setup(), EBTrendClient::setup(), EBSelectiveReadoutTask::setup(), EBClusterTask::setup(), EEClusterTask::setup(), EBTrendTask::setup(), EBTimingClient::setup(), EETrendTask::setup(), EETimingClient::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HLXMonitor::SetupHists(), and TrigResRateMon::setupHltMatrix().

1190 {
1191  return bookProfile(pwd_, name, new TProfile(name, title,
1192  nchX, lowX, highX,
1193  lowY, highY,
1194  option));
1195 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1201 of file DQMStore.cc.

References bookProfile(), and pwd_.

1205 {
1206  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1207  nchX, lowX, highX,
1208  lowY, highY,
1209  option));
1210 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1216 of file DQMStore.cc.

References bookProfile(), and pwd_.

1220 {
1221  return bookProfile(pwd_, name, new TProfile(name, title,
1222  nchX, lowX, highX,
1223  lowY, highY,
1224  option));
1225 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1231 of file DQMStore.cc.

References bookProfile(), and pwd_.

1235 {
1236  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1237  nchX, lowX, highX,
1238  lowY, highY,
1239  option));
1240 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1246 of file DQMStore.cc.

References bookProfile(), and pwd_.

1250 {
1251  return bookProfile(pwd_, name, new TProfile(name, title,
1252  nchX, xbinsize,
1253  lowY, highY,
1254  option));
1255 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1261 of file DQMStore.cc.

References bookProfile(), and pwd_.

1265 {
1266  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1267  nchX, xbinsize,
1268  lowY, highY,
1269  option));
1270 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1276 of file DQMStore.cc.

References bookProfile(), and pwd_.

1280 {
1281  return bookProfile(pwd_, name, new TProfile(name, title,
1282  nchX, xbinsize,
1283  lowY, highY,
1284  option));
1285 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
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 1291 of file DQMStore.cc.

References bookProfile(), and pwd_.

1295 {
1296  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1297  nchX, xbinsize,
1298  lowY, highY,
1299  option));
1300 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::bookProfile ( const char *  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 1304 of file DQMStore.cc.

References bookProfile(), and pwd_.

1305 {
1306  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name)));
1307 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 1311 of file DQMStore.cc.

References bookProfile(), and pwd_.

1312 {
1313  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name.c_str())));
1314 }
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
MonitorElement * DQMStore::bookProfile ( const std::string &  dir,
const std::string &  name,
TProfile *  h 
)
private

Book profile histogram based on TProfile.

Definition at line 1175 of file DQMStore.cc.

References book(), collateProfile(), and MonitorElement::DQM_KIND_TPROFILE.

1176 {
1177  return book(dir, name, "bookProfile",
1179  h, collateProfile);
1180 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
static void collateProfile(MonitorElement *me, TProfile *h)
Definition: DQMStore.cc:1485
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
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 1330 of file DQMStore.cc.

References pwd_.

Referenced by DQMSourceExample::beginJob(), ConverterTester::beginJob(), TkConvValidator::beginJob(), MuonTrackValidator::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), DQMLumiMonitor::bookHistograms(), DTLocalTriggerBaseTask::bookHistos(), TrackAnalyzer::bookHistosForHitProperties(), ecaldqm::bookME(), CSCMonitorModule::bookMonitorObject(), DQMStore::IBooker::bookProfile2D(), EcalSelectiveReadoutValidation::bookProfile2D(), bookProfile2D(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), DTLocalTriggerTask::bookWheelHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency2D(), SiStripMonitorCluster::createSubDetMEs(), TkHistoMap::createTkHistoMap(), dqmRegisterHistogram(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBookProfile2D(), EBPedestalOnlineTask::setup(), EEPedestalOnlineTask::setup(), EECosmicTask::setup(), EEPedestalTask::setup(), EBPedestalTask::setup(), EELedTask::setup(), EBOccupancyTask::setup(), EBCosmicTask::setup(), EETestPulseTask::setup(), EELaserTask::setup(), EBLaserTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), EEClusterTask::setup(), EBClusterTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EESelectiveReadoutTask::setup(), EETriggerTowerTask::setup(), and EBTriggerTowerTask::setup().

1335 {
1336  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
1337  nchX, lowX, highX,
1338  nchY, lowY, highY,
1339  lowZ, highZ,
1340  option));
1341 }
std::string pwd_
Definition: DQMStore.h:605
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")
Definition: DQMStore.cc:1330
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 1347 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1352 {
1353  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
1354  nchX, lowX, highX,
1355  nchY, lowY, highY,
1356  lowZ, highZ,
1357  option));
1358 }
std::string pwd_
Definition: DQMStore.h:605
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")
Definition: DQMStore.cc:1330
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 1364 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1369 {
1370  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
1371  nchX, lowX, highX,
1372  nchY, lowY, highY,
1373  lowZ, highZ,
1374  option));
1375 }
std::string pwd_
Definition: DQMStore.h:605
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")
Definition: DQMStore.cc:1330
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 1381 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1386 {
1387  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
1388  nchX, lowX, highX,
1389  nchY, lowY, highY,
1390  lowZ, highZ,
1391  option));
1392 }
std::string pwd_
Definition: DQMStore.h:605
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")
Definition: DQMStore.cc:1330
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1396 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1397 {
1398  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name)));
1399 }
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
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")
Definition: DQMStore.cc:1330
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1403 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1404 {
1405  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name.c_str())));
1406 }
std::string pwd_
Definition: DQMStore.h:605
static std::string const source
Definition: EdmProvDump.cc:43
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")
Definition: DQMStore.cc:1330
MonitorElement * DQMStore::bookProfile2D ( const std::string &  folder,
const std::string &  name,
TProfile2D *  h 
)
private

Book 2D profile histogram based on TProfile2D.

Definition at line 1319 of file DQMStore.cc.

References book(), collateProfile2D(), and MonitorElement::DQM_KIND_TPROFILE2D.

1320 {
1321  return book(dir, name, "bookProfile2D",
1323  h, collateProfile2D);
1324 }
static void collateProfile2D(MonitorElement *me, TProfile2D *h)
Definition: DQMStore.cc:1495
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * DQMStore::bookString ( const char *  name,
const char *  value 
)
MonitorElement * DQMStore::bookString ( const std::string &  name,
const std::string &  value 
)

Book string.

Definition at line 843 of file DQMStore.cc.

References bookString(), and pwd_.

844 {
845  return bookString(pwd_, name, value);
846 }
MonitorElement * bookString(const char *name, const char *value)
Book string.
Definition: DQMStore.cc:838
std::string pwd_
Definition: DQMStore.h:605
MonitorElement * DQMStore::bookString ( const std::string &  dir,
const std::string &  name,
const std::string &  value 
)
private

Book string.

Definition at line 822 of file DQMStore.cc.

References book(), collateHistograms_, MonitorElement::DQM_KIND_STRING, findObject(), and MonitorElement::initialise().

825 {
826  if (collateHistograms_)
827  {
828  if (MonitorElement *me = findObject(dir, name))
829  return me;
830  }
831 
832  return book(dir, name, "bookString")
834 }
MonitorElement * initialise(Kind kind)
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:727
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:598
template<typename iFunc >
void DQMStore::bookTransaction ( iFunc  f,
uint32_t  run,
uint32_t  streamId,
uint32_t  moduleId 
)
inline

Definition at line 190 of file DQMStore.h.

References book_mutex_, enableMultiThread_, f, ibooker_, moduleId_, DTTTrigCorrFirst::run, run_, and streamId_.

Referenced by DQMEDAnalyzer::beginRun().

193  {
194  std::lock_guard<std::mutex> guard(book_mutex_);
195  /* If enableMultiThread is not enabled we do not set run_,
196  streamId_ and moduleId_ to 0, since we rely on their default
197  initialization in DQMSTore constructor. */
198  if (enableMultiThread_) {
199  run_ = run;
200  streamId_ = streamId;
201  moduleId_ = moduleId;
202  }
203  f(*ibooker_);
204  }
uint32_t streamId_
Definition: DQMStore.h:602
uint32_t moduleId_
Definition: DQMStore.h:603
std::mutex book_mutex_
Definition: DQMStore.h:613
double f[11][100]
uint32_t run_
Definition: DQMStore.h:601
IBooker * ibooker_
Definition: DQMStore.h:614
bool enableMultiThread_
Definition: DQMStore.h:599
void DQMStore::cd ( void  )

go to top directory (ie. root)

Definition at line 561 of file DQMStore.cc.

References setCurrentFolder().

Referenced by SiStripDcsInfo::addBadModules(), SiStripGainFromData::algoEndJob(), SiPixelDigiSource::analyze(), MuIsoValidation::analyze(), DQMFileReader::beginJob(), MuIsoValidation::beginJob(), MultiTrackValidator::beginRun(), TrackerSeedValidator::beginRun(), RPCDcsInfo::beginRun(), DQMDcsInfoClient::beginRun(), DQMProvInfo::beginRun(), GlobalMuonMatchAnalyzer::beginRun(), MuonIdDQM::beginRun(), MuonTrackResidualAnalyzer::beginRun(), MuonTrackAnalyzer::beginRun(), V0Validator::beginRun(), MuonTrackValidator::beginRun(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), RecoMuonValidator::MuonME::bookHistograms(), DQMExample_Step1::bookHistos(), HiggsDQM::bookHistos(), B2GDQM::bookHistos(), ExoticaDQM::bookHistos(), TrackingQualityChecker::bookLSStatus(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), BeamMonitorBx::BookTables(), TrackingCertificationInfo::bookTrackingCertificationMEs(), TrackingCertificationInfo::bookTrackingCertificationMEsAtLumi(), BeamMonitorBx::BookTrendHistos(), DQMStore::IBooker::cd(), HDShower::compute(), 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(), DQMHcalIsoTrackPostProcessor::endJob(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), SiStripOfflineDQM::endJob(), TrackingOfflineDQM::endJob(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiPixelRawDataErrorModule::fill(), SiPixelClusterModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), TrackingQualityChecker::fillGlobalStatus(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), TrackingQualityChecker::fillLSStatus(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), dqm_interfaces.DQMcommunicator::get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_recursive(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiPixelInformationExtractor::getMEList(), TrackingUtility::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), TrackingUtility::getTopFolderPath(), SiStripUtility::getTopFolderPath(), TrackingUtility::goToDir(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiPixelInformationExtractor::goToDir(), HDShower::HDShower(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), MuIsoValidation::MuIsoValidation(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripNoisesDQMService::readNoises(), SiStripPedestalsDQMService::readPedestals(), RecoMuonValidator::RecoMuonValidator(), SiStripCommissioningSource::remove(), CommissioningHistograms::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), ZDCMonitorClient::removeAllME(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), HLXMonitor::SetupHists(), SiPixelActionExecutor::setupQTests(), and dqm_interfaces.DirWalkerFile::walk().

562 { setCurrentFolder(""); }
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
void DQMStore::cd ( const std::string &  subdir)

cd to subdirectory (if there)

Definition at line 566 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), dirExists(), raiseDQMError(), setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by dqm_interfaces.DQMcommunicator::get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator::get_root_objects_recursive(), and dqm_interfaces.DirWalkerFile::walk().

567 {
569  const std::string *cleaned = 0;
570  cleanTrailingSlashes(subdir, clean, cleaned);
571 
572  if (! dirExists(*cleaned))
573  raiseDQMError("DQMStore", "Cannot 'cd' into non-existent directory '%s'",
574  cleaned->c_str());
575 
576  setCurrentFolder(*cleaned);
577 }
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
std::vector< T * > clean
Definition: MVATrainer.cc:156
bool dirExists(const std::string &path) const
true if directory exists
Definition: DQMStore.cc:648
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
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 2249 of file DQMStore.cc.

References end, python.connectstrParser::o, raiseDQMError(), dqm_diff::start, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by save().

2250 {
2251  assert(! path.empty());
2252 
2253  // Find the first path component.
2254  size_t start = 0;
2255  size_t end = path.find('/', start);
2256  if (end == std::string::npos)
2257  end = path.size();
2258 
2259  while (true)
2260  {
2261  // Check if this subdirectory component exists. If yes, make sure
2262  // it is actually a subdirectory. Otherwise create or cd into it.
2263  std::string part(path, start, end-start);
2264  TObject *o = gDirectory->Get(part.c_str());
2265  if (o && ! dynamic_cast<TDirectory *>(o))
2266  raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
2267  " fails because the part '%s' already exists and is not"
2268  " directory", path.c_str(), part.c_str());
2269  else if (! o)
2270  gDirectory->mkdir(part.c_str());
2271 
2272  if (! gDirectory->cd(part.c_str()))
2273  raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
2274  " fails because could not cd into subdirectory '%s'",
2275  path.c_str(), part.c_str());
2276 
2277  // Stop if we reached the end, ignoring any trailing '/'.
2278  if (end+1 >= path.size())
2279  break;
2280 
2281  // Find the next path component.
2282  start = end+1;
2283  end = path.find('/', start);
2284  if (end == std::string::npos)
2285  end = path.size();
2286  }
2287 
2288  return true;
2289 }
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
#define end
Definition: vmac.h:37
part
Definition: HCALResponse.h:20
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool DQMStore::checkBinningMatches ( MonitorElement me,
TH1 *  h 
)
staticprivate

Definition at line 1412 of file DQMStore.cc.

References gather_cfg::cout, MonitorElement::getFullname(), and MonitorElement::getTH1().

Referenced by collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateProfile(), collateProfile2D(), utils.BinToBin::do_test(), and utils.BinToBin1percent::do_test().

1413 {
1414  if (me->getTH1()->GetNbinsX() != h->GetNbinsX()
1415  || me->getTH1()->GetNbinsY() != h->GetNbinsY()
1416  || me->getTH1()->GetNbinsZ() != h->GetNbinsZ()
1417  || me->getTH1()->GetXaxis()->GetXmin() != h->GetXaxis()->GetXmin()
1418  || me->getTH1()->GetYaxis()->GetXmin() != h->GetYaxis()->GetXmin()
1419  || me->getTH1()->GetZaxis()->GetXmin() != h->GetZaxis()->GetXmin()
1420  || me->getTH1()->GetXaxis()->GetXmax() != h->GetXaxis()->GetXmax()
1421  || me->getTH1()->GetYaxis()->GetXmax() != h->GetYaxis()->GetXmax()
1422  || me->getTH1()->GetZaxis()->GetXmax() != h->GetZaxis()->GetXmax())
1423  {
1424  // edm::LogWarning ("DQMStore")
1425  std::cout << "*** DQMStore: WARNING:"
1426  << "checkBinningMatches: different binning - cannot add object '"
1427  << h->GetName() << "' of type "
1428  << h->IsA()->GetName() << " to existing ME: '"
1429  << me->getFullname() << "'\n";
1430  return false;
1431  }
1432  return true;
1433 }
TH1 * getTH1(void) const
const std::string getFullname(void) const
get full name of ME including Pathname
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
tuple cout
Definition: gather_cfg.py:121
void DQMStore::collate1D ( MonitorElement me,
TH1F *  h 
)
staticprivate

Definition at line 1436 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH1F().

Referenced by book1D(), and extract().

1437 {
1438  if (checkBinningMatches(me,h))
1439  me->getTH1F()->Add(h);
1440 }
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
TH1F * getTH1F(void) const
void DQMStore::collate1DD ( MonitorElement me,
TH1D *  h 
)
staticprivate

Definition at line 1450 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH1D().

Referenced by book1DD(), and extract().

1451 {
1452  if (checkBinningMatches(me,h))
1453  me->getTH1D()->Add(h);
1454 }
TH1D * getTH1D(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void DQMStore::collate1S ( MonitorElement me,
TH1S *  h 
)
staticprivate

Definition at line 1443 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH1S().

Referenced by book1S(), and extract().

1444 {
1445  if (checkBinningMatches(me,h))
1446  me->getTH1S()->Add(h);
1447 }
TH1S * getTH1S(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void DQMStore::collate2D ( MonitorElement me,
TH2F *  h 
)
staticprivate

Definition at line 1457 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH2F().

Referenced by book2D(), and extract().

1458 {
1459  if (checkBinningMatches(me,h))
1460  me->getTH2F()->Add(h);
1461 }
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
TH2F * getTH2F(void) const
void DQMStore::collate2DD ( MonitorElement me,
TH2D *  h 
)
staticprivate

Definition at line 1471 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH2D().

Referenced by book2DD(), and extract().

1472 {
1473  if (checkBinningMatches(me,h))
1474  me->getTH2D()->Add(h);
1475 }
TH2D * getTH2D(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void DQMStore::collate2S ( MonitorElement me,
TH2S *  h 
)
staticprivate

Definition at line 1464 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH2S().

Referenced by book2S(), and extract().

1465 {
1466  if (checkBinningMatches(me,h))
1467  me->getTH2S()->Add(h);
1468 }
TH2S * getTH2S(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void DQMStore::collate3D ( MonitorElement me,
TH3F *  h 
)
staticprivate

Definition at line 1478 of file DQMStore.cc.

References checkBinningMatches(), and MonitorElement::getTH3F().

Referenced by book3D(), and extract().

1479 {
1480  if (checkBinningMatches(me,h))
1481  me->getTH3F()->Add(h);
1482 }
TH3F * getTH3F(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
void DQMStore::collateProfile ( MonitorElement me,
TProfile *  h 
)
staticprivate

Definition at line 1485 of file DQMStore.cc.

References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile().

Referenced by bookProfile(), and extract().

1486 {
1487  if (checkBinningMatches(me,h))
1488  {
1489  TProfile *meh = me->getTProfile();
1490  me->addProfiles(h, meh, meh, 1, 1);
1491  }
1492 }
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
TProfile * getTProfile(void) const
void DQMStore::collateProfile2D ( MonitorElement me,
TProfile2D *  h 
)
staticprivate

Definition at line 1495 of file DQMStore.cc.

References MonitorElement::addProfiles(), checkBinningMatches(), and MonitorElement::getTProfile2D().

Referenced by bookProfile2D(), and extract().

1496 {
1497  if (checkBinningMatches(me,h))
1498  {
1499  TProfile2D *meh = me->getTProfile2D();
1500  me->addProfiles(h, meh, meh, 1, 1);
1501  }
1502 }
TProfile2D * getTProfile2D(void) const
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1412
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
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 1613 of file DQMStore.cc.

References data_, alignCSCRings::e, i, isSubdirectory(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by EcalBarrelMonitorClient::endLuminosityBlock(), and EcalEndcapMonitorClient::endLuminosityBlock().

1614 {
1615  MonitorElement proto(&path, std::string());
1616  MEMap::const_iterator e = data_.end();
1617  MEMap::const_iterator i = data_.lower_bound(proto);
1618  return (i != e && isSubdirectory(path, *i->data_.dirname));
1619 }
int i
Definition: DBlmapReader.cc:9
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
MEMap data_
Definition: DQMStore.h:606
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 2808 of file DQMStore.cc.

References i, qalgos_, qtests_, raiseDQMError(), QCriterion::setVerbose(), and verboseQT_.

Referenced by createH2CompTest(), createMeanValueTest(), createXRangeTest(), createYRangeTest(), QTestConfigure::EnableCheckVarianceTest(), QTestConfigure::EnableComp2RefChi2Test(), QTestConfigure::EnableComp2RefEqualHTest(), QTestConfigure::EnableComp2RefKolmogorovTest(), QTestConfigure::EnableCompareLastFilledBinTest(), QTestConfigure::EnableCompareToMedianTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), and QTestConfigure::EnableYRangeTest().

2809 {
2810  if (qtests_.count(qtname))
2811  raiseDQMError("DQMStore", "Attempt to create duplicate quality test '%s'",
2812  qtname.c_str());
2813 
2814  QAMap::iterator i = qalgos_.find(algoname);
2815  if (i == qalgos_.end())
2816  raiseDQMError("DQMStore", "Cannot create a quality test using unknown"
2817  " algorithm '%s'", algoname.c_str());
2818 
2819  QCriterion *qc = i->second(qtname);
2820  qc->setVerbose(verboseQT_);
2821 
2822  qtests_[qtname] = qc;
2823  return qc;
2824 }
int i
Definition: DBlmapReader.cc:9
QCMap qtests_
Definition: DQMStore.h:609
unsigned verboseQT_
Definition: DQMStore.h:595
QAMap qalgos_
Definition: DQMStore.h:610
void setVerbose(int verbose)
probability limits for warnings, errors
Definition: QTest.h:116
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool DQMStore::dirExists ( const std::string &  path) const

true if directory exists

Definition at line 648 of file DQMStore.cc.

References dirs_.

Referenced by L1GtHwValidation::beginJob(), L1TGT::beginRun(), L1ExtraRecoDQM::beginRun(), L1ExtraDQM::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), cd(), SiStripActionExecutor::createSummary(), DQMHcalIsoTrackPostProcessor::endJob(), EcalEndcapMonitorClient::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), TauDQMHistEffProducer::endRun(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), FastTimerServiceClient::fillProcessSummaryPlots(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), TrackingUtility::getTopFolderPath(), SiStripUtility::getTopFolderPath(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripActionExecutor::printFaultyModuleList(), SiStripBadComponentsDQMService::readBadComponents(), CommissioningHistograms::remove(), ZDCMonitorClient::removeAllME(), PhotonOfflineClient::runClient(), scaleElements(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

649 { return dirs_.count(path) > 0; }
std::set< std::string > dirs_
Definition: DQMStore.h:607
void DQMStore::disableSoftReset ( MonitorElement me)

Definition at line 2942 of file DQMStore.cc.

References MonitorElement::disableSoftReset().

Referenced by EcalBarrelMonitorClient::softReset(), EcalEndcapMonitorClient::softReset(), and TrackAnalyzer::undoSoftReset().

2943 {
2944  if (me)
2945  me->disableSoftReset();
2946 }
void disableSoftReset(void)
reverts action of softReset
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 1954 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, autoMagneticFieldProducer_cfi::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(), AlCaHLTBitMon_QueryRunRegistry::string, tag(), relativeConstraints::value, and verbose_.

Referenced by BeautifulSoup.PageElement::_invert(), BeautifulSoup.Tag::decompose(), and readDirectory().

1955 {
1956  // NB: Profile histograms inherit from TH*D, checking order matters.
1957  MonitorElement *refcheck = 0;
1958  if (TProfile *h = dynamic_cast<TProfile *>(obj))
1959  {
1960  MonitorElement *me = findObject(dir, h->GetName());
1961  if (! me)
1962  me = bookProfile(dir, h->GetName(), (TProfile *) h->Clone());
1963  else if (overwrite)
1964  me->copyFrom(h);
1965  else if (isCollateME(me) || collateHistograms_)
1966  collateProfile(me, h);
1967  refcheck = me;
1968  }
1969  else if (TProfile2D *h = dynamic_cast<TProfile2D *>(obj))
1970  {
1971  MonitorElement *me = findObject(dir, h->GetName());
1972  if (! me)
1973  me = bookProfile2D(dir, h->GetName(), (TProfile2D *) h->Clone());
1974  else if (overwrite)
1975  me->copyFrom(h);
1976  else if (isCollateME(me) || collateHistograms_)
1977  collateProfile2D(me, h);
1978  refcheck = me;
1979  }
1980  else if (TH1F *h = dynamic_cast<TH1F *>(obj))
1981  {
1982  MonitorElement *me = findObject(dir, h->GetName());
1983  if (! me)
1984  me = book1D(dir, h->GetName(), (TH1F *) h->Clone());
1985  else if (overwrite)
1986  me->copyFrom(h);
1987  else if (isCollateME(me) || collateHistograms_)
1988  collate1D(me, h);
1989  refcheck = me;
1990  }
1991  else if (TH1S *h = dynamic_cast<TH1S *>(obj))
1992  {
1993  MonitorElement *me = findObject(dir, h->GetName());
1994  if (! me)
1995  me = book1S(dir, h->GetName(), (TH1S *) h->Clone());
1996  else if (overwrite)
1997  me->copyFrom(h);
1998  else if (isCollateME(me) || collateHistograms_)
1999  collate1S(me, h);
2000  refcheck = me;
2001  }
2002  else if (TH1D *h = dynamic_cast<TH1D *>(obj))
2003  {
2004  MonitorElement *me = findObject(dir, h->GetName());
2005  if (! me)
2006  me = book1DD(dir, h->GetName(), (TH1D *) h->Clone());
2007  else if (overwrite)
2008  me->copyFrom(h);
2009  else if (isCollateME(me) || collateHistograms_)
2010  collate1DD(me, h);
2011  refcheck = me;
2012  }
2013  else if (TH2F *h = dynamic_cast<TH2F *>(obj))
2014  {
2015  MonitorElement *me = findObject(dir, h->GetName());
2016  if (! me)
2017  me = book2D(dir, h->GetName(), (TH2F *) h->Clone());
2018  else if (overwrite)
2019  me->copyFrom(h);
2020  else if (isCollateME(me) || collateHistograms_)
2021  collate2D(me, h);
2022  refcheck = me;
2023  }
2024  else if (TH2S *h = dynamic_cast<TH2S *>(obj))
2025  {
2026  MonitorElement *me = findObject(dir, h->GetName());
2027  if (! me)
2028  me = book2S(dir, h->GetName(), (TH2S *) h->Clone());
2029  else if (overwrite)
2030  me->copyFrom(h);
2031  else if (isCollateME(me) || collateHistograms_)
2032  collate2S(me, h);
2033  refcheck = me;
2034  }
2035  else if (TH2D *h = dynamic_cast<TH2D *>(obj))
2036  {
2037  MonitorElement *me = findObject(dir, h->GetName());
2038  if (! me)
2039  me = book2DD(dir, h->GetName(), (TH2D *) h->Clone());
2040  else if (overwrite)
2041  me->copyFrom(h);
2042  else if (isCollateME(me) || collateHistograms_)
2043  collate2DD(me, h);
2044  refcheck = me;
2045  }
2046  else if (TH3F *h = dynamic_cast<TH3F *>(obj))
2047  {
2048  MonitorElement *me = findObject(dir, h->GetName());
2049  if (! me)
2050  me = book3D(dir, h->GetName(), (TH3F *) h->Clone());
2051  else if (overwrite)
2052  me->copyFrom(h);
2053  else if (isCollateME(me) || collateHistograms_)
2054  collate3D(me, h);
2055  refcheck = me;
2056  }
2057  else if (dynamic_cast<TObjString *>(obj))
2058  {
2059  lat::RegexpMatch m;
2060  if (! s_rxmeval.match(obj->GetName(), 0, 0, &m))
2061  {
2062  if (strstr(obj->GetName(), "CMSSW"))
2063  {
2064  if (verbose_)
2065  std::cout << "Input file version: " << obj->GetName() << std::endl;
2066  return true;
2067  }
2068  else if (strstr(obj->GetName(), "DQMPATCH"))
2069  {
2070  if (verbose_)
2071  std::cout << "DQM patch version: " << obj->GetName() << std::endl;
2072  return true;
2073  }
2074  else
2075  {
2076  std::cout << "*** DQMStore: WARNING: cannot extract object '"
2077  << obj->GetName() << "' of type '"
2078  << obj->IsA()->GetName() << "'\n";
2079  return false;
2080  }
2081  }
2082 
2083  std::string label = m.matchString(obj->GetName(), 1);
2084  std::string kind = m.matchString(obj->GetName(), 2);
2085  std::string value = m.matchString(obj->GetName(), 3);
2086 
2087  if (kind == "i")
2088  {
2089  MonitorElement *me = findObject(dir, label);
2090  if (! me || overwrite)
2091  {
2092  if (! me) me = bookInt(dir, label);
2093  me->Fill(atoll(value.c_str()));
2094  }
2095  }
2096  else if (kind == "f")
2097  {
2098  MonitorElement *me = findObject(dir, label);
2099  if (! me || overwrite)
2100  {
2101  if (! me) me = bookFloat(dir, label);
2102  me->Fill(atof(value.c_str()));
2103  }
2104  }
2105  else if (kind == "s")
2106  {
2107  MonitorElement *me = findObject(dir, label);
2108  if (! me)
2109  me = bookString(dir, label, value);
2110  else if (overwrite)
2111  me->Fill(value);
2112  }
2113  else if (kind == "e")
2114  {
2115  MonitorElement *me = findObject(dir, label);
2116  if (! me)
2117  {
2118  std::cout << "*** DQMStore: WARNING: no monitor element '"
2119  << label << "' in directory '"
2120  << dir << "' to be marked as efficiency plot.\n";
2121  return false;
2122  }
2123  me->setEfficiencyFlag();
2124  }
2125  else if (kind == "t")
2126  {
2127  MonitorElement *me = findObject(dir, label);
2128  if (! me)
2129  {
2130  std::cout << "*** DQMStore: WARNING: no monitor element '"
2131  << label << "' in directory '"
2132  << dir << "' for a tag\n";
2133  return false;
2134  }
2135  errno = 0;
2136  char *endp = 0;
2137  unsigned long val = strtoul(value.c_str(), &endp, 10);
2138  if ((val == 0 && errno) || *endp || val > ~uint32_t(0))
2139  {
2140  std::cout << "*** DQMStore: WARNING: cannot restore tag '"
2141  << value << "' for monitor element '"
2142  << label << "' in directory '"
2143  << dir << "' - invalid value\n";
2144  return false;
2145  }
2146  tag(me, val);
2147  }
2148  else if (kind == "qr")
2149  {
2150  // Handle qreports, but skip them while reading in references.
2152  {
2153  size_t dot = label.find('.');
2154  if (dot == std::string::npos)
2155  {
2156  std::cout << "*** DQMStore: WARNING: quality report label in '" << label
2157  << "' is missing a '.' and cannot be extracted\n";
2158  return false;
2159  }
2160 
2161  std::string mename (label, 0, dot);
2162  std::string qrname (label, dot+1, std::string::npos);
2163 
2164  m.reset();
2165  DQMNet::QValue qv;
2166  if (s_rxmeqr1.match(value, 0, 0, &m))
2167  {
2168  qv.code = atoi(m.matchString(value, 1).c_str());
2169  qv.qtresult = strtod(m.matchString(value, 2).c_str(), 0);
2170  qv.message = m.matchString(value, 4);
2171  qv.qtname = qrname;
2172  qv.algorithm = m.matchString(value, 3);
2173  }
2174  else if (s_rxmeqr2.match(value, 0, 0, &m))
2175  {
2176  qv.code = atoi(m.matchString(value, 1).c_str());
2177  qv.qtresult = 0; // unavailable in old format
2178  qv.message = m.matchString(value, 2);
2179  qv.qtname = qrname;
2180  // qv.algorithm unavailable in old format
2181  }
2182  else
2183  {
2184  std::cout << "*** DQMStore: WARNING: quality test value '"
2185  << value << "' is incorrectly formatted\n";
2186  return false;
2187  }
2188 
2189  MonitorElement *me = findObject(dir, mename);
2190  if (! me)
2191  {
2192  std::cout << "*** DQMStore: WARNING: no monitor element '"
2193  << mename << "' in directory '"
2194  << dir << "' for quality test '"
2195  << label << "'\n";
2196  return false;
2197  }
2198 
2199  me->addQReport(qv, /* FIXME: getQTest(qv.qtname)? */ 0);
2200  }
2201  }
2202  else
2203  {
2204  std::cout << "*** DQMStore: WARNING: cannot extract object '"
2205  << obj->GetName() << "' of type '"
2206  << obj->IsA()->GetName() << "'\n";
2207  return false;
2208  }
2209  }
2210  else if (TNamed *n = dynamic_cast<TNamed *>(obj))
2211  {
2212  // For old DQM data.
2213  std::string s;
2214  s.reserve(6 + strlen(n->GetTitle()) + 2*strlen(n->GetName()));
2215  s += '<'; s += n->GetName(); s += '>';
2216  s += n->GetTitle();
2217  s += '<'; s += '/'; s += n->GetName(); s += '>';
2218  TObjString os(s.c_str());
2219  return extract(&os, dir, overwrite);
2220  }
2221  else
2222  {
2223  std::cout << "*** DQMStore: WARNING: cannot extract object '"
2224  << obj->GetName() << "' of type '" << obj->IsA()->GetName()
2225  << "' and with title '" << obj->GetTitle() << "'\n";
2226  return false;
2227  }
2228 
2229  // If we just read in a reference monitor element, and there is a
2230  // monitor element with the same name, link the two together. The
2231  // other direction is handled by the initialise() method.
2232  if (refcheck && isSubdirectory(s_referenceDirName, dir))
2233  {
2234  std::string mdir(dir, s_referenceDirName.size()+1, std::string::npos);
2235  if (MonitorElement *master = findObject(mdir, obj->GetName()))
2236  {
2237  master->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
2238  master->reference_ = refcheck->object_;
2239  }
2240  }
2241 
2242  return true;
2243 }
static void collateProfile2D(MonitorElement *me, TProfile2D *h)
Definition: DQMStore.cc:1495
static const lat::Regexp s_rxmeqr2("^st\\.(\\d+)\\.(.*)$")
MonitorElement * book2S(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2S histogram.
Definition: DQMStore.cc:1022
bool isCollateME(MonitorElement *me) const
Definition: DQMStore.cc:2990
void copyFrom(TH1 *from)
std::string algorithm
Definition: DQMNet.h:92
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:872
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
static void collate3D(MonitorElement *me, TH3F *h)
Definition: DQMStore.cc:1478
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.
Definition: DQMStore.cc:1134
static void collate1D(MonitorElement *me, TH1F *h)
Definition: DQMStore.cc:1436
MonitorElement * book2DD(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D double histogram.
Definition: DQMStore.cc:1044
static void collate1DD(MonitorElement *me, TH1D *h)
Definition: DQMStore.cc:1450
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:904
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:809
void Fill(long long x)
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
static void collateProfile(MonitorElement *me, TProfile *h)
Definition: DQMStore.cc:1485
static const lat::Regexp s_rxmeval("^<(.*)>(i|f|s|e|t|qr)=(.*)</\\1>$")
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
bool extract(TObject *obj, const std::string &dir, bool overwrite)
Definition: DQMStore.cc:1954
static const uint32_t DQM_PROP_HAS_REFERENCE
Definition: DQMNet.h:53
MonitorElement * bookString(const char *name, const char *value)
Book string.
Definition: DQMStore.cc:838
static void collate1S(MonitorElement *me, TH1S *h)
Definition: DQMStore.cc:1443
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1186
std::string qtname
Definition: DQMNet.h:91
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
unsigned verbose_
Definition: DQMStore.h:594
static void collate2S(MonitorElement *me, TH2S *h)
Definition: DQMStore.cc:1464
static void collate2D(MonitorElement *me, TH2F *h)
Definition: DQMStore.cc:1457
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
static void collate2DD(MonitorElement *me, TH2D *h)
Definition: DQMStore.cc:1471
T dot(const Basic3DVector &v) const
Scalar product, or &quot;dot&quot; product, with a vector of same type.
std::string message
Definition: DQMNet.h:90
tuple cout
Definition: gather_cfg.py:121
void setEfficiencyFlag(void)
dbl *** dir
Definition: mlp_gen.cc:35
MonitorElement * bookInt(const char *name)
Book int.
Definition: DQMStore.cc:779
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1000
float qtresult
Definition: DQMNet.h:89
bool collateHistograms_
Definition: DQMStore.h:598
void addQReport(const DQMNet::QValue &desc, QCriterion *qc)
Add quality report, from DQMStore.
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:888
static const lat::Regexp s_rxmeqr1("^st:(\\d+):([-+e.\\d]+):([^:]*):(.*)$")
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")
Definition: DQMStore.cc:1330
MonitorElement * DQMStore::findObject ( const std::string &  dir,
const std::string &  name,
const uint32_t  run = 0,
const uint32_t  lumi = 0,
const uint32_t  streamId = 0,
const uint32_t  moduleId = 0 
) const
private

get MonitorElement <name> in directory <dir> (null if MonitorElement does not exist)

Definition at line 1753 of file DQMStore.cc.

References MonitorElement::data_, data_, dir, DQMNet::CoreObject::dirname, fjr2json::lumi, DQMNet::CoreObject::lumi, DQMNet::CoreObject::moduleId, mergeVDriftHistosByStation::name, DQMNet::CoreObject::objname, raiseDQMError(), DTTTrigCorrFirst::run, DQMNet::CoreObject::run, s_safe, and DQMNet::CoreObject::streamId.

Referenced by book(), bookFloat(), bookInt(), bookString(), extract(), makeDirectory(), and tag().

1759 {
1760  if (dir.find_first_not_of(s_safe) != std::string::npos)
1761  raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
1762  " unacceptable characters", dir.c_str());
1763  if (name.find_first_not_of(s_safe) != std::string::npos)
1764  raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
1765  " unacceptable characters", name.c_str());
1766 
1767  MonitorElement proto;
1768  proto.data_.dirname = &dir;
1769  proto.data_.objname = name;
1770  proto.data_.run = run;
1771  proto.data_.lumi = lumi;
1772  proto.data_.streamId = streamId;
1773  proto.data_.moduleId = moduleId;
1774 
1775  MEMap::const_iterator mepos = data_.find(proto);
1776  return (mepos == data_.end() ? 0
1777  : const_cast<MonitorElement *>(&*mepos));
1778 }
uint32_t moduleId
Definition: DQMNet.h:103
tuple lumi
Definition: fjr2json.py:35
static const std::string s_safe
Definition: DQMStore.cc:50
const std::string * dirname
Definition: DQMNet.h:104
uint32_t run
Definition: DQMNet.h:100
uint32_t lumi
Definition: DQMNet.h:101
std::string objname
Definition: DQMNet.h:105
DQMNet::CoreObject data_
MEMap data_
Definition: DQMStore.h:606
dbl *** dir
Definition: mlp_gen.cc:35
uint32_t streamId
Definition: DQMNet.h:102
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
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 1934 of file DQMStore.cc.

References data_, MonitorElement::Reset(), reset_, and MonitorElement::resetUpdate().

Referenced by DQMStore().

1935 {
1936  MEMap::iterator mi = data_.begin();
1937  MEMap::iterator me = data_.end();
1938  for ( ; mi != me; ++mi)
1939  {
1940  MonitorElement &me = const_cast<MonitorElement &>(*mi);
1941  me.Reset();
1942  me.resetUpdate();
1943  }
1944 
1945  reset_ = true;
1946 }
void resetUpdate(void)
reset &quot;was updated&quot; flag
bool reset_
Definition: DQMStore.h:596
MEMap data_
Definition: DQMStore.h:606
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * DQMStore::get ( const std::string &  path) const

get ME from full pathname (e.g. "my/long/dir/my_histo")

Definition at line 1623 of file DQMStore.cc.

References data_, dir, mergeVDriftHistosByStation::name, splitPath(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HistoProviderDQM::access(), SiStripDcsInfo::addBadModules(), HcalDigiClient::analyze(), HcalRecHitClient::analyze(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), EBTrendClient::analyze(), EETrendClient::analyze(), HcalBaseDQMonitor::analyze(), EESummaryClient::analyze(), EBSummaryClient::analyze(), EBTimingClient::analyze(), EBLaserClient::analyze(), EELedClient::analyze(), EELaserClient::analyze(), EEStatusFlagsClient::analyze(), EBStatusFlagsClient::analyze(), EBTestPulseClient::analyze(), EBIntegrityClient::analyze(), EECosmicClient::analyze(), EEIntegrityClient::analyze(), EBCosmicClient::analyze(), EBOccupancyClient::analyze(), EEOccupancyClient::analyze(), EEPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), EEPedestalOnlineClient::analyze(), EETestPulseClient::analyze(), EBPedestalClient::analyze(), EBClusterClient::analyze(), EEClusterClient::analyze(), EBTriggerTowerClient::analyze(), EETriggerTowerClient::analyze(), EcalBarrelMonitorClient::analyze(), EcalEndcapMonitorClient::analyze(), EETimingClient::analyze(), GeneralHLTOffline::analyze(), RPCDBPopConAnalyzer::analyze(), SiPixelDigiSource::analyze(), SiPixelRawDataErrorSource::analyze(), SiPixelClusterSource::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), L1EmulatorErrorFlagClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), HLTEventInfoClient::beginJob(), HLTMonPhotonClient::beginJob(), BeamMonitor::beginJob(), HLTMonElectronConsumer::beginJob(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalSummaryClient::beginRun(), RPCBxTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCOccupancyTest::beginRun(), RPCEventSummary::beginRun(), RPCRecHitProbability::beginRun(), RPCMonitorDigi::beginRun(), RPCDeadChannelTest::beginRun(), RPCMultiplicityTest::beginRun(), RPCClusterSizeTest::beginRun(), ZDCMonitorClient::beginRun(), EcalBarrelMonitorClient::beginRun(), EcalEndcapMonitorClient::beginRun(), HLTMuonPlotter::beginRun(), CalibrationScanTask::book(), CalibrationTask::book(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), SiPixelDataQuality::bookGlobalQualityFlag(), L1TEventInfoClient::bookHistograms(), DTSegmentAnalysisTask::bookHistos(), RPCMonitorDigi::bookRegionME(), BeamMonitorBx::BookTables(), BeamMonitorBx::BookTrendHistos(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), HcalBeamClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDeadCellClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalRawDataClient::calculateProblems(), CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), RPCOccupancyTest::clientOperation(), RPCEventSummary::clientOperation(), HDShower::compute(), EMShower::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline::countHLTPathHitsEndLumiBlock(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), createH2CompTest(), createH2ContentTest(), EgHLTOfflineClient::createHLTvsOfflineHists(), EgHLTOfflineClient::createLooseTightTrigEff(), EgHLTOfflineClient::createN1EffHists(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripActionExecutor::createShiftReport(), TopElectronHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists2Leg(), EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo(), dqmCopyRecursively(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), SiPixelActionExecutor::dumpBarrelRefValues(), L1TEventInfoClient::dumpContentMonitorElements(), SiPixelActionExecutor::dumpEndcapRefValues(), EMShower::EMShower(), DQMHcalIsoTrackPostProcessor::endJob(), HarvestingAnalyzer::endJob(), EcalBarrelMonitorModule::endJob(), EcalEndcapMonitorModule::endJob(), TrackerHitAnalyzer::endJob(), HcalSimHitsValidation::endJob(), HcalMonitorModule::endJob(), ZDCMonitorModule::endJob(), MuIsoValidation::endJob(), MuonAlignment::endJob(), RPCDcsInfoClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCDcsInfoClient::endRun(), RPCRecHitValidClient::endRun(), DQMExample_Step2::endRun(), DQMDcsInfoClient::endRun(), RPCRecHitProbabilityClient::endRun(), SiPixelCertification::endRun(), TauDQMHistEffProducer::endRun(), TopHLTDiMuonDQMClient::endRun(), DataCertificationJetMET::endRun(), HLTTauCertifier::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencyShiftHisto::endRun(), RPCEfficiencyPerRingLayer::endRun(), EEDataCertificationTask::endRun(), EBDataCertificationTask::endRun(), DQMOfflineHLTEventInfoClient::endRun(), MuonAlignmentSummary::endRun(), FourVectorHLTClient::endRun(), EcalBarrelMonitorClient::endRun(), EcalEndcapMonitorClient::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), EcalZmassClient::endRun(), CSCOfflineClient::endRun(), TauDQMHistPlotter::endRun(), RPCEfficiencySecond::endRun(), ZDCMonitorClient::errorSummary(), CommissioningHistograms::extractHistograms(), SiPixelRawDataErrorModule::fill(), SiPixelClusterModule::fill(), SiPixelDigiModule::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(), FourVectorHLTOnline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), FourVectorHLTOffline::fillHltMatrix(), EgHLTOfflineClient::FillHLTvsOfflineHist(), SiPixelInformationExtractor::fillModuleAndHistoList(), RPCChamberQuality::fillMonitorElements(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillPathSummaryPlots(), BeamSpotProblemMonitor::FillPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiPixelActionExecutor::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrigResRateMon::fillXsecPerDataset(), PFDQMEventSelector::filter(), CSCOfflineMonitor::finalize(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), ElectronDqmAnalyzerBase::get(), L1TGMTClient::get1DHisto(), HLTEventInfoClient::get1DHisto(), L1TDTTPGClient::get1DHisto(), FourVectorHLTClient::get1DHisto(), HLTEventInfoClient::get1DProfile(), L1TDTTPGClient::get1DProfile(), FourVectorHLTClient::get1DProfile(), L1TGMTClient::get2DHisto(), HLTEventInfoClient::get2DHisto(), L1TDTTPGClient::get2DHisto(), FourVectorHLTClient::get2DHisto(), HLTEventInfoClient::get2DProfile(), L1TDTTPGClient::get2DProfile(), FourVectorHLTClient::get2DProfile(), getAnyHisto(), betterConfigParser.BetterConfigParser::getCompares(), EDMtoMEConverter::getData(), SiPixelActionExecutor::getData(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), SiPixelActionExecutor::getFEDSummaryME(), betterConfigParser.BetterConfigParser::getGeneral(), SiPixelActionExecutor::getGrandSummaryME(), HcalRawDataClient::getHardwareSpaceHistos(), getHisto(), getHisto2(), EmDQMPostProcessor::getHistogram(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), rpcdqmclient::clientTools::getMEs(), SiStripQualityChecker::getModuleStatus(), RPCDqmClient::getMonitorElements(), betterConfigParser.BetterConfigParser::getResultingSection(), SiPixelActionExecutor::getSummaryME(), getTH1F(), L1TDTTFClient::getTH1F(), getTH2F(), L1TDTTFClient::getTH2F(), getTH3F(), getTProfile(), getTProfile2D(), HDShower::HDShower(), CommissioningHistograms::histogram(), htmlErrors(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), PhotonDataCertification::invMassZtest(), HcalBaseDQMonitor::IsAllowedCalibType(), TkHistoMap::loadTkHistoMap(), EgHLTOfflineClient::makeEffMonElem2Leg(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), PlotCombiner::makePlot(), SiPixelHistoPlotter::makePlot(), SiStripHistoPlotter::makePlot(), TrigResRateMon::normalizeHLTMatrix(), DQMClientExample::performClient(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), SiStripInformationExtractor::plotHistosFromLayout(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiPixelInformationExtractor::printAlarmList(), TrackingActionExecutor::printShiftHistoParameters(), SiStripActionExecutor::printShiftHistoParameters(), QTestStatusChecker::processAlarms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), L1TEventInfoClient::readQtResults(), CastorLEDMonitor::reset(), RPCFEDIntegrity::reset(), resetME(), ecaldqm::MESetNonObject::retrieve(), ecaldqm::MESetEcal::retrieve(), SiPixelHistoricInfoDQMClient::retrieveMEs(), SiPixelHistoricInfoEDAClient::retrieveMEs(), PhotonOfflineClient::runClient(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), CommissioningHistograms::runNumber(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), SamplingHistograms::SamplingHistograms(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), L1EmulatorErrorFlagClient::setSummary(), EcalEndcapMonitorClient::softReset(), EcalBarrelMonitorClient::softReset(), PFJetDQMAnalyzer::storeBadEvents(), PFMETDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), DTDataIntegrityTask::TimeHistos(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), and SubTaskSummaryStatus::WriteThreshold().

1624 {
1625  std::string dir;
1626  std::string name;
1627  splitPath(dir, name, path);
1628  MonitorElement proto(&dir, name);
1629  MEMap::const_iterator mepos = data_.find(proto);
1630  return (mepos == data_.end() ? 0
1631  : const_cast<MonitorElement *>(&*mepos));
1632 }
static void splitPath(std::string &dir, std::string &name, const std::string &path)
Definition: DQMStore.cc:88
MEMap data_
Definition: DQMStore.h:606
dbl *** dir
Definition: mlp_gen.cc:35
std::vector< MonitorElement * > DQMStore::get ( unsigned int  tag) const

get all MonitorElements tagged as <tag>

Definition at line 1636 of file DQMStore.cc.

References MonitorElement::data_, data_, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, DQMNet::CoreObject::flags, i, query::result, DQMNet::CoreObject::tag, and tag().

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().

1637 {
1638  // FIXME: Use reverse map [tag -> path] / [tag -> dir]?
1639  std::vector<MonitorElement *> result;
1640  for (MEMap::const_iterator i = data_.begin(), e = data_.end(); i != e; ++i)
1641  {
1642  const MonitorElement &me = *i;
1643  if ((me.data_.flags & DQMNet::DQM_PROP_TAGGED) && me.data_.tag == tag)
1644  result.push_back(const_cast<MonitorElement *>(&me));
1645  }
1646  return result;
1647 }
int i
Definition: DBlmapReader.cc:9
uint32_t flags
Definition: DQMNet.h:97
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
uint32_t tag
Definition: DQMNet.h:98
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
tuple result
Definition: query.py:137
DQMNet::CoreObject data_
MEMap data_
Definition: DQMStore.h:606
std::vector< MonitorElement * > DQMStore::getAllContents ( const std::string &  path,
uint32_t  runNumber = 0,
uint32_t  lumi = 0 
) const

get vector with children of folder, including all subfolders + their children; must use an exact pathname

Definition at line 1836 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), or, query::result, MonitorElement::setLumi(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), HcalDataCertification::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), HcalDAQInfo::beginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), SiStripDQMProfileToTkMapConverter::beginRun(), SiStripQualityHotStripIdentifierRoot::bookHistos(), HcalDataCertification::CertifyHcal(), DQMHistoryServiceBase::createSummary(), HcalDAQInfo::endLuminosityBlock(), DataCertificationJetMET::endRun(), DQMHistNormalizer::endRun(), StatisticsFilter::filter(), HcalBaseDQClient::htmlOutput(), SiStripNoisesDQMService::readNoises(), SiStripPedestalsDQMService::readPedestals(), HcalRecHitMonitor::reset(), EcalBarrelMonitorClient::softReset(), EcalEndcapMonitorClient::softReset(), DQMRootOutputModule::writeLuminosityBlock(), and DQMRootOutputModule::writeRun().

1839 {
1841  const std::string *cleaned = 0;
1842  cleanTrailingSlashes(path, clean, cleaned);
1843  MonitorElement proto(cleaned, std::string(), runNumber);
1844  proto.setLumi(lumi);
1845 
1846  std::vector<MonitorElement *> result;
1847  MEMap::const_iterator e = data_.end();
1848  MEMap::const_iterator i = data_.lower_bound(proto);
1849  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i) {
1850  if (runNumber != 0) {
1851  if (i->data_.run > runNumber // TODO[rovere]: pleonastic? first we encounter local ME of the same run ...
1852  || i->data_.streamId != 0
1853  || i->data_.moduleId != 0)
1854  break;
1855  }
1856  if (lumi != 0) {
1857  if (i->data_.lumi > lumi
1858  || i->data_.streamId != 0
1859  || i->data_.moduleId != 0)
1860  break;
1861  }
1862  if (runNumber != 0 or lumi !=0) {
1863  assert(i->data_.streamId == 0);
1864  assert(i->data_.moduleId == 0);
1865  }
1866  result.push_back(const_cast<MonitorElement *>(&*i));
1867  }
1868  return result;
1869 }
int i
Definition: DBlmapReader.cc:9
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
tuple lumi
Definition: fjr2json.py:35
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
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 1783 of file DQMStore.cc.

References data_, dirs_, DQMNet::DQM_PROP_TAGGED, isSubdirectory(), m, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by EDMtoMEConverter::getData().

1784 {
1785  into.clear();
1786  into.reserve(dirs_.size());
1787 
1788  MEMap::const_iterator me = data_.end();
1789  std::set<std::string>::const_iterator di = dirs_.begin();
1790  std::set<std::string>::const_iterator de = dirs_.end();
1791  char tagbuf[32]; // more than enough for '/' and up to 10 digits
1792 
1793  for ( ; di != de; ++di)
1794  {
1795  MonitorElement proto(&*di, std::string());
1796  MEMap::const_iterator mi = data_.lower_bound(proto);
1797  MEMap::const_iterator m = mi;
1798  size_t sz = di->size() + 2;
1799  size_t nfound = 0;
1800  for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
1801  if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
1802  {
1803  // the tags count for '/' + up to 10 digits, otherwise ',' + ME name
1804  sz += 1 + m->data_.objname.size() + 11;
1805  ++nfound;
1806  }
1807 
1808  if (! nfound)
1809  continue;
1810 
1811  std::vector<std::string>::iterator istr
1812  = into.insert(into.end(), std::string());
1813 
1814  istr->reserve(sz);
1815 
1816  *istr += *di;
1817  *istr += ':';
1818  for (sz = 0; mi != m; ++mi)
1819  {
1820  if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
1821  {
1822  sprintf(tagbuf, "/%u", mi->data_.tag);
1823  if (sz > 0)
1824  *istr += ',';
1825  *istr += m->data_.objname;
1826  *istr += tagbuf;
1827  ++sz;
1828  }
1829  }
1830  }
1831 }
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
MEMap data_
Definition: DQMStore.h:606
std::set< std::string > dirs_
Definition: DQMStore.h:607
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 1652 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), query::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiStripCommissioningOfflineClient::beginRun(), ecaldqm::MESetChannel::checkDirectory(), SiPixelActionExecutor::checkQTestResults(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTClient::endRun(), CommissioningHistograms::extractHistograms(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), TrackingCertificationInfo::fillTrackingCertificationMEs(), TrackingCertificationInfo::fillTrackingCertificationMEsAtLumi(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), QTestStatusChecker::fullPathNames(), SiStripSummaryCreator::getSummaryME(), SiStripHistoPlotter::makeCondDBPlots(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), PhotonOfflineClient::retrieveHisto(), SiPixelHistoricInfoDQMClient::retrieveMEs(), SiPixelHistoricInfoEDAClient::retrieveMEs(), HcalDigisClient::runClient(), BTagHLTOfflineClient::runClient_(), CaloTowersClient::runClient_(), HcalNoiseRatesClient::runClient_(), NoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), HcalRecHitsDQMClient::runClient_(), HcalRecHitsClient::runClient_(), HcalSimHitsClient::runClient_(), JetMETHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and showDirStructure().

1653 {
1655  const std::string *cleaned = 0;
1656  cleanTrailingSlashes(path, clean, cleaned);
1657  MonitorElement proto(cleaned, std::string());
1658 
1659  std::vector<MonitorElement *> result;
1660  MEMap::const_iterator e = data_.end();
1661  MEMap::const_iterator i = data_.lower_bound(proto);
1662  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
1663  if (*cleaned == *i->data_.dirname)
1664  result.push_back(const_cast<MonitorElement *>(&*i));
1665 
1666  return result;
1667 }
int i
Definition: DBlmapReader.cc:9
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
std::vector< MonitorElement * > DQMStore::getContents ( const std::string &  path,
unsigned int  tag 
) const

same as above for tagged MonitorElements

Definition at line 1671 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, i, isSubdirectory(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, and tag().

1672 {
1674  const std::string *cleaned = 0;
1675  cleanTrailingSlashes(path, clean, cleaned);
1676  MonitorElement proto(cleaned, std::string());
1677 
1678  std::vector<MonitorElement *> result;
1679  MEMap::const_iterator e = data_.end();
1680  MEMap::const_iterator i = data_.lower_bound(proto);
1681  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
1682  if (*cleaned == *i->data_.dirname
1683  && (i->data_.flags & DQMNet::DQM_PROP_TAGGED)
1684  && i->data_.tag == tag)
1685  result.push_back(const_cast<MonitorElement *>(&*i));
1686 
1687  return result;
1688 }
int i
Definition: DBlmapReader.cc:9
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
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 1695 of file DQMStore.cc.

References data_, dirs_, isSubdirectory(), m, and AlCaHLTBitMon_QueryRunRegistry::string.

1696 {
1697  into.clear();
1698  into.reserve(dirs_.size());
1699 
1700  MEMap::const_iterator me = data_.end();
1701  std::set<std::string>::const_iterator di = dirs_.begin();
1702  std::set<std::string>::const_iterator de = dirs_.end();
1703  for ( ; di != de; ++di)
1704  {
1705  MonitorElement proto(&*di, std::string());
1706  MEMap::const_iterator mi = data_.lower_bound(proto);
1707  MEMap::const_iterator m = mi;
1708  size_t sz = di->size() + 2;
1709  size_t nfound = 0;
1710  for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
1711  if (*di == *m->data_.dirname)
1712  {
1713  sz += m->data_.objname.size() + 1;
1714  ++nfound;
1715  }
1716 
1717  if (! nfound)
1718  continue;
1719 
1720  std::vector<std::string>::iterator istr
1721  = into.insert(into.end(), std::string());
1722 
1723  if (showContents)
1724  {
1725  istr->reserve(sz);
1726 
1727  *istr += *di;
1728  *istr += ':';
1729  for (sz = 0; mi != m; ++mi)
1730  {
1731  if (*di != *mi->data_.dirname)
1732  continue;
1733 
1734  if (sz > 0)
1735  *istr += ',';
1736 
1737  *istr += mi->data_.objname;
1738  ++sz;
1739  }
1740  }
1741  else
1742  {
1743  istr->reserve(di->size() + 2);
1744  *istr += *di;
1745  *istr += ':';
1746  }
1747  }
1748 }
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
MEMap data_
Definition: DQMStore.h:606
std::set< std::string > dirs_
Definition: DQMStore.h:607
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 1874 of file DQMStore.cc.

References data_, alignCSCRings::e, i, mergePath(), getHLTPrescaleColumns::path, raiseDQMError(), query::result, corrVsCorr::rx, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by DQMStoreStats::calcstats(), EgHLTOfflineSummaryClient::getQTestResults_(), and DQMFileSaver::saveForOnline().

1875 {
1876  lat::Regexp rx;
1877  try
1878  {
1879  rx = lat::Regexp(pattern, 0, syntaxType);
1880  rx.study();
1881  }
1882  catch (lat::Error &e)
1883  {
1884  raiseDQMError("DQMStore", "Invalid regular expression '%s': %s",
1885  pattern.c_str(), e.explain().c_str());
1886  }
1887 
1888  std::string path;
1889  std::vector<MonitorElement *> result;
1890  MEMap::const_iterator i = data_.begin();
1891  MEMap::const_iterator e = data_.end();
1892  for ( ; i != e; ++i)
1893  {
1894  path.clear();
1895  mergePath(path, *i->data_.dirname, i->data_.objname);
1896  if (rx.match(path))
1897  result.push_back(const_cast<MonitorElement *>(&*i));
1898  }
1899 
1900  return result;
1901 }
int i
Definition: DBlmapReader.cc:9
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
tuple result
Definition: query.py:137
MEMap data_
Definition: DQMStore.h:606
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
std::vector< std::string > DQMStore::getMEs ( void  ) const

get list of (non-dir) MEs of current directory

Definition at line 1597 of file DQMStore.cc.

References data_, alignCSCRings::e, i, isSubdirectory(), pwd_, query::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiPixelDigiSource::analyze(), CalibrationScanTask::book(), CalibrationTask::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(), SiPixelActionExecutor::fillSummary(), ElectronDqmAnalyzerBase::find(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiPixelInformationExtractor::getMEList(), SiPixelActionExecutor::getSummaryME(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), L1TRPCTFClient::processHistograms(), JetMETDQMOfflineClient::runClient_(), and SiPixelInformationExtractor::selectMEList().

1598 {
1599  MonitorElement proto(&pwd_, std::string());
1600  std::vector<std::string> result;
1601  MEMap::const_iterator e = data_.end();
1602  MEMap::const_iterator i = data_.lower_bound(proto);
1603  for ( ; i != e && isSubdirectory(pwd_, *i->data_.dirname); ++i)
1604  if (pwd_ == *i->data_.dirname)
1605  result.push_back(i->getName());
1606 
1607  return result;
1608 }
int i
Definition: DBlmapReader.cc:9
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
tuple result
Definition: query.py:137
std::string pwd_
Definition: DQMStore.h:605
MEMap data_
Definition: DQMStore.h:606
QCriterion * DQMStore::getQCriterion ( const std::string &  qtname) const
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 2903 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, dqm::qstatus::ERROR, isSubdirectory(), dqm::qstatus::OTHER, ntuplemaker::status, dqm::qstatus::STATUS_OK, AlCaHLTBitMon_QueryRunRegistry::string, and dqm::qstatus::WARNING.

Referenced by QTestStatusChecker::checkGlobalStatus(), SiStripInformationExtractor::printAlarmList(), and SiPixelInformationExtractor::printAlarmList().

2904 {
2906  const std::string *cleaned = 0;
2907  cleanTrailingSlashes(path, clean, cleaned);
2908 
2910  MEMap::const_iterator mi = data_.begin();
2911  MEMap::const_iterator me = data_.end();
2912  for ( ; mi != me; ++mi)
2913  {
2914  if (! cleaned->empty() && ! isSubdirectory(*cleaned, *mi->data_.dirname))
2915  continue;
2916 
2917  if (mi->hasError())
2918  return dqm::qstatus::ERROR;
2919  else if (mi->hasWarning())
2920  status = dqm::qstatus::WARNING;
2921  else if (status < dqm::qstatus::WARNING
2922  && mi->hasOtherReport())
2923  status = dqm::qstatus::OTHER;
2924  }
2925  return status;
2926 }
static const int OTHER
static const int WARNING
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
static const int STATUS_OK
tuple status
Definition: ntuplemaker.py:245
static const int ERROR
std::vector< std::string > DQMStore::getSubdirs ( void  ) const

get list of subdirectories of current directory

Definition at line 1574 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(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), DataCertificationJetMET::endRun(), TauDQMFileLoader::endRun(), FourVectorHLTClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), FastTimerServiceClient::fillProcessSummaryPlots(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), FastTimerServiceClient::fillSummaryPlots(), DQMGenericTnPClient::findAllSubdirectories(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiPixelInformationExtractor::getMEList(), TrackingUtility::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), TrackingUtility::goToDir(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), ElectronDqmAnalyzerBase::remove_other_dirs(), HcalDigisClient::runClient(), BTagHLTOfflineClient::runClient_(), HcalRecHitsClient::runClient_(), HcalRecHitsDQMClient::runClient_(), NoiseRatesClient::runClient_(), HcalNoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), CaloTowersClient::runClient_(), HcalSimHitsClient::runClient_(), JetMETDQMOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and HLXMonitor::SetupHists().

1575 {
1576  std::vector<std::string> result;
1577  std::set<std::string>::const_iterator e = dirs_.end();
1578  std::set<std::string>::const_iterator i = dirs_.find(pwd_);
1579 
1580  // If we didn't find current directory, the tree is empty, so quit.
1581  if (i == e)
1582  return result;
1583 
1584  // Skip the current directory and then start looking for immediate
1585  // subdirectories in the dirs_ list. Stop when we are no longer in
1586  // (direct or indirect) subdirectories of pwd_. Note that we don't
1587  // "know" which order the set will sort A/B, A/B/C and A/D.
1588  while (++i != e && isSubdirectory(pwd_, *i))
1589  if (i->find('/', pwd_.size()+1) == std::string::npos)
1590  result.push_back(*i);
1591 
1592  return result;
1593 }
int i
Definition: DBlmapReader.cc:9
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
tuple result
Definition: query.py:137
std::string pwd_
Definition: DQMStore.h:605
std::set< std::string > dirs_
Definition: DQMStore.h:607
void DQMStore::goUp ( void  )

equivalent to "cd .."

Definition at line 595 of file DQMStore.cc.

References pwd_, and setCurrentFolder().

Referenced by MultiTrackValidator::beginRun(), TrackerSeedValidator::beginRun(), MuonTrackValidator::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(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelInformationExtractor::getMEList(), TrackingUtility::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), TrackingUtility::goToDir(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), and SiPixelInformationExtractor::selectMEList().

596 {
597  size_t pos = pwd_.rfind('/');
598  if (pos == std::string::npos)
599  setCurrentFolder("");
600  else
601  setCurrentFolder(pwd_.substr(0, pos));
602 }
std::string pwd_
Definition: DQMStore.h:605
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:584
MonitorElement* DQMStore::initialise ( MonitorElement me,
const std::string &  path 
)
private

Referenced by book().

void DQMStore::initializeFrom ( const edm::ParameterSet pset)
private

Definition at line 441 of file DQMStore.cc.

References collateHistograms_, gather_cfg::cout, enableMultiThread_, edm::ParameterSet::getUntrackedParameter(), makeDirectory(), qalgos_, readFile(), reset(), s_referenceDirName, scaleFlag_, AlCaHLTBitMon_QueryRunRegistry::string, StripRunDirs, verbose_, and verboseQT_.

Referenced by DQMStore().

441  {
442  makeDirectory("");
443  reset();
444 
445  // set steerable parameters
446  verbose_ = pset.getUntrackedParameter<int>("verbose", 0);
447  if (verbose_ > 0)
448  std::cout << "DQMStore: verbosity set to " << verbose_ << std::endl;
449 
450  verboseQT_ = pset.getUntrackedParameter<int>("verboseQT", 0);
451  if (verbose_ > 0)
452  std::cout << "DQMStore: QTest verbosity set to " << verboseQT_ << std::endl;
453 
454  collateHistograms_ = pset.getUntrackedParameter<bool>("collateHistograms", false);
455  if (collateHistograms_)
456  std::cout << "DQMStore: histogram collation is enabled\n";
457 
458  enableMultiThread_ = pset.getUntrackedParameter<bool>("enableMultiThread", false);
459  if (enableMultiThread_)
460  std::cout << "DQMStore: MultiThread option is enabled\n";
461 
462  std::string ref = pset.getUntrackedParameter<std::string>("referenceFileName", "");
463  if (! ref.empty())
464  {
465  std::cout << "DQMStore: using reference file '" << ref << "'\n";
466  readFile(ref, true, "", s_referenceDirName, StripRunDirs, false);
467  }
468 
469  initQCriterion<Comp2RefChi2>(qalgos_);
470  initQCriterion<Comp2RefKolmogorov>(qalgos_);
471  initQCriterion<ContentsXRange>(qalgos_);
472  initQCriterion<ContentsYRange>(qalgos_);
473  initQCriterion<MeanWithinExpected>(qalgos_);
474  initQCriterion<Comp2RefEqualH>(qalgos_);
475  initQCriterion<DeadChannel>(qalgos_);
476  initQCriterion<NoisyChannel>(qalgos_);
477  initQCriterion<ContentsWithinExpected>(qalgos_);
478  initQCriterion<CompareToMedian>(qalgos_);
479  initQCriterion<CompareLastFilledBin>(qalgos_);
480  initQCriterion<CheckVariance>(qalgos_);
481 
482  scaleFlag_ = pset.getUntrackedParameter<double>("ScalingFlag", 0.0);
483  if (verbose_ > 0)
484  std::cout << "DQMStore: Scaling Flag set to " << scaleFlag_ << std::endl;
485 }
T getUntrackedParameter(std::string const &, T const &) const
bool readFile(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
Definition: DQMStore.cc:2672
unsigned verboseQT_
Definition: DQMStore.h:595
double scaleFlag_
Definition: DQMStore.h:597
QAMap qalgos_
Definition: DQMStore.h:610
unsigned verbose_
Definition: DQMStore.h:594
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
tuple cout
Definition: gather_cfg.py:121
void reset(void)
Definition: DQMStore.cc:1910
bool collateHistograms_
Definition: DQMStore.h:598
void makeDirectory(const std::string &path)
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition: DQMStore.cc:607
bool enableMultiThread_
Definition: DQMStore.h:599
bool DQMStore::isCollate ( void  ) const

Definition at line 2981 of file DQMStore.cc.

References collateHistograms_.

2982 {
2983  return collateHistograms_;
2984 }
bool collateHistograms_
Definition: DQMStore.h:598
bool DQMStore::isCollateME ( MonitorElement me) const
private

Definition at line 2990 of file DQMStore.cc.

References MonitorElement::data_, DQMNet::CoreObject::dirname, isSubdirectory(), and s_collateDirName.

Referenced by extract().

2991 { return me && isSubdirectory(s_collateDirName, *me->data_.dirname); }
const std::string * dirname
Definition: DQMNet.h:104
static const std::string s_collateDirName
Definition: DQMStore.cc:49
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
DQMNet::CoreObject data_
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 2647 of file DQMStore.cc.

References collateHistograms_, gather_cfg::cout, readFile(), and verbose_.

Referenced by DQMFileReader::beginJob(), and ReadMeFromFile::beginRun().

2650 {
2651  bool overwrite = true;
2652  if (collateHistograms_) overwrite = false;
2653  if (verbose_)
2654  {
2655  std::cout << "DQMStore::load: reading from file '" << filename << "'\n";
2656  if (collateHistograms_)
2657  std::cout << "DQMStore::load: in collate mode " << "\n";
2658  else
2659  std::cout << "DQMStore::load: in overwrite mode " << "\n";
2660  }
2661 
2662  return readFile(filename,overwrite,"","",stripdirs,fileMustExist);
2663 
2664 }
bool readFile(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
Definition: DQMStore.cc:2672
unsigned verbose_
Definition: DQMStore.h:594
tuple filename
Definition: lut2db_cfg.py:20
tuple cout
Definition: gather_cfg.py:121
bool collateHistograms_
Definition: DQMStore.h:598
void DQMStore::makeDirectory ( const std::string &  path)
private

get folder corresponding to inpath wrt to root (create subdirs if necessary)

Definition at line 607 of file DQMStore.cc.

References dirs_, findObject(), mergeVDriftHistosByStation::name, raiseDQMError(), pickleFileParser::slash, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by initializeFrom(), readDirectory(), and setCurrentFolder().

608 {
609  std::string prev;
610  std::string subdir;
612  prev.reserve(path.size());
613  subdir.reserve(path.size());
614  name.reserve(path.size());
615  size_t prevname = 0;
616  size_t slash = 0;
617 
618  while (true)
619  {
620  // Create this subdirectory component.
621  subdir.clear();
622  subdir.append(path, 0, slash);
623  name.clear();
624  name.append(subdir, prevname, std::string::npos);
625  if (! prev.empty() && findObject(prev, name))
626  raiseDQMError("DQMStore", "Attempt to create subdirectory '%s'"
627  " which already exists as a monitor element",
628  subdir.c_str());
629 
630  if (! dirs_.count(subdir))
631  dirs_.insert(subdir);
632 
633  // Stop if we've reached the end (including possibly a trailing slash).
634  if (slash+1 >= path.size())
635  break;
636 
637  // Find the next slash, making sure we progress. If reach the end,
638  // process the last path component; the next loop round will terminate.
639  prevname = slash ? slash+1 : slash;
640  prev = subdir;
641  if ((slash = path.find('/', ++slash)) == std::string::npos)
642  slash = path.size();
643  }
644 }
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
std::set< std::string > dirs_
Definition: DQMStore.h:607
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void DQMStore::mergeAndResetMEsLuminositySummaryCache ( uint32_t  run,
uint32_t  lumi,
uint32_t  streamId,
uint32_t  moduleId 
)

Definition at line 336 of file DQMStore.cc.

References book_mutex_, gather_cfg::cout, data_, alignCSCRings::e, MonitorElement::globalize(), i, HcalObjRepresent::Reset(), MonitorElement::setLumi(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

Referenced by DQMEDAnalyzer::endLuminosityBlockSummary().

339  {
340  if (verbose_ > 1)
341  std::cout << "Merging objects from run: "
342  << run << " lumi: " << lumi
343  << ", stream: " << streamId
344  << " module: " << moduleId << std::endl;
345  std::string null_str("");
346  MonitorElement proto(&null_str, null_str, run, streamId, moduleId);
347  std::set<MonitorElement>::const_iterator e = data_.end();
348  std::set<MonitorElement>::const_iterator i = data_.lower_bound(proto);
349  while (i != e) {
350  if (i->data_.run != run
351  || i->data_.streamId != streamId
352  || i->data_.moduleId != moduleId)
353  break;
354 
355  // Handle LS-based histograms only.
356  if (not i->getLumiFlag()) {
357  ++i;
358  continue;
359  }
360 
361  MonitorElement global_me(*i);
362  global_me.globalize();
363  global_me.setLumi(lumi);
364  std::set<MonitorElement>::const_iterator me = data_.find(global_me);
365  if (me != data_.end()) {
366  if (verbose_ > 1)
367  std::cout << "Found global Object, using it --> ";
368  me->getTH1()->Add(i->getTH1());
369  } else {
370  // Since this is equivalent to a real booking operation it must
371  // be locked.
372  if (verbose_ > 1)
373  std::cout << "No global Object found. ";
374  std::lock_guard<std::mutex> guard(book_mutex_);
375  me = data_.find(global_me);
376  if (me != data_.end()) {
377  me->getTH1()->Add(i->getTH1());
378  } else {
379  std::pair<std::set<MonitorElement>::const_iterator, bool> gme;
380  gme = data_.insert(global_me);
381  assert(gme.second);
382  }
383  }
384  const_cast<MonitorElement*>(&*i)->Reset();
385  // TODO(rovere): eventually reset the local object and mark it as reusable??
386  ++i;
387  }
388 }
int i
Definition: DBlmapReader.cc:9
tuple lumi
Definition: fjr2json.py:35
std::mutex book_mutex_
Definition: DQMStore.h:613
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
tuple cout
Definition: gather_cfg.py:121
void Reset(std::vector< TH2F > &depth)
void DQMStore::mergeAndResetMEsRunSummaryCache ( uint32_t  run,
uint32_t  streamId,
uint32_t  moduleId 
)

Function to transfer the local copies of histograms from each stream into the global ROOT Object. Since this involves de-facto a booking action in the case in which the global object is not yet there, the function requires the acquisition of the central lock into the DQMStore. A double 'find' is done on the internal data_ since we have no guarantee that a previous module holding the lock have booked what we looked for before requiring the lock. In case we book the global object for the first time, no Add action is needed since the ROOT histograms is cloned starting from the local one.

Definition at line 285 of file DQMStore.cc.

References book_mutex_, gather_cfg::cout, data_, alignCSCRings::e, MonitorElement::globalize(), i, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

Referenced by DQMEDAnalyzer::endRunSummary(), and FastTimerService::postStreamEndRun().

287  {
288  if (verbose_ > 1)
289  std::cout << "Merging objects from run: "
290  << run
291  << ", stream: " << streamId
292  << " module: " << moduleId << std::endl;
293  std::string null_str("");
294  MonitorElement proto(&null_str, null_str, run, streamId, moduleId);
295  std::set<MonitorElement>::const_iterator e = data_.end();
296  std::set<MonitorElement>::const_iterator i = data_.lower_bound(proto);
297  while (i != e) {
298  if (i->data_.run != run
299  || i->data_.streamId != streamId
300  || i->data_.moduleId != moduleId)
301  break;
302 
303  // Handle Run-based histograms only.
304  if (i->getLumiFlag()) {
305  ++i;
306  continue;
307  }
308 
309  MonitorElement global_me(*i);
310  global_me.globalize();
311  std::set<MonitorElement>::const_iterator me = data_.find(global_me);
312  if (me != data_.end()) {
313  if (verbose_ > 1)
314  std::cout << "Found global Object, using it. ";
315  me->getTH1()->Add(i->getTH1());
316  } else {
317  // Since this is equivalent to a real booking operation it must
318  // be locked.
319  if (verbose_ > 1)
320  std::cout << "No global Object found. ";
321  std::lock_guard<std::mutex> guard(book_mutex_);
322  me = data_.find(global_me);
323  if (me != data_.end()) {
324  me->getTH1()->Add(i->getTH1());
325  } else {
326  std::pair<std::set<MonitorElement>::const_iterator, bool> gme;
327  gme = data_.insert(global_me);
328  assert(gme.second);
329  }
330  }
331  // TODO(rovere): eventually reset the local object and mark it as reusable??
332  ++i;
333  }
334 }
int i
Definition: DBlmapReader.cc:9
std::mutex book_mutex_
Definition: DQMStore.h:613
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
tuple cout
Definition: gather_cfg.py:121
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 2632 of file DQMStore.cc.

References readFile().

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), ElectronDqmAnalyzerBase::beginJob(), DQMFileReader::beginJob(), HcalMonitorClient::beginJob(), EcalBarrelMonitorClient::beginJob(), EcalEndcapMonitorClient::beginJob(), SiPixelDQMRocLevelAnalyzer::beginJob(), edmtest::DQMReferenceHistogramRootFileEventSetupAnalyzer::beginRun(), SiStripCommissioningOfflineClient::beginRun(), SiPixelHistoricInfoDQMClient::endRun(), TauDQMFileLoader::endRun(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::importConfig(), ZDCMonitorClient::initialize(), PFDQMEventSelector::openInputFile(), TrackingOfflineDQM::openInputFile(), SiStripOfflineDQM::openInputFile(), DQMHistoryServiceBase::openRequestedFile(), SiStripBadComponentsDQMService::openRequestedFile(), BuildTrackerMapPlugin::read(), PhotonOfflineClient::runClient(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), and StatisticsFilter::StatisticsFilter().

2638 {
2639  return readFile(filename,overwrite,onlypath,prepend,stripdirs,fileMustExist);
2640 }
bool readFile(const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
Definition: DQMStore.cc:2672
tuple filename
Definition: lut2db_cfg.py:20
const DQMStore& DQMStore::operator= ( const DQMStore )
private
void DQMStore::print_trace ( const std::string &  dir,
const std::string &  name 
)
private

Definition at line 497 of file DQMStore.cc.

References i, m, alignCSCRings::r, s_rxtrace(), findQualityFiles::size, and verbose_.

Referenced by book().

498 {
499  static std::ofstream stream("histogramBookingBT.log");
500  void *array[10];
501  size_t size;
502  char **strings;
503  int r=0;
504  lat::RegexpMatch m;
505  m.reset();
506 
507  size = backtrace (array, 10);
508  strings = backtrace_symbols (array, size);
509 
510  if ((size > 4)
511  &&s_rxtrace.match(strings[4], 0, 0, &m))
512  {
513  char * demangled = abi::__cxa_demangle(m.matchString(strings[4], 2).c_str(), 0, 0, &r);
514  stream << "\"" << dir << "/"
515  << name << "\" "
516  << (r ? m.matchString(strings[4], 2) : demangled) << " "
517  << m.matchString(strings[4], 1) << "\n";
518  free(demangled);
519  }
520  else
521  stream << "Skipping "<< dir << "/" << name
522  << " with stack size " << size << "\n";
523  /* In this case print the full stack trace, up to main or to the
524  * maximum stack size, i.e. 10. */
525  if (verbose_ > 4)
526  {
527  size_t i;
528  m.reset();
529 
530  for (i = 0; i < size; i++)
531  if (s_rxtrace.match(strings[i], 0, 0, &m))
532  {
533  char * demangled = abi::__cxa_demangle(m.matchString(strings[i], 2).c_str(), 0, 0, &r);
534  stream << "\t\t" << i << "/" << size << " "
535  << (r ? m.matchString(strings[i], 2) : demangled) << " "
536  << m.matchString(strings[i], 1) << std::endl;
537  free (demangled);
538  }
539  }
540  free (strings);
541 }
int i
Definition: DBlmapReader.cc:9
static const lat::Regexp s_rxtrace("(.*)\\((.*)\\+0x.*\\).*")
unsigned verbose_
Definition: DQMStore.h:594
dbl *** dir
Definition: mlp_gen.cc:35
tuple size
Write out results.
const std::string & DQMStore::pwd ( void  ) const

return pathname of current directory

Definition at line 556 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), ecaldqm::MESetChannel::append_(), HcalDataCertification::beginJob(), HcalDAQInfo::beginJob(), SiStripSpyMonitorModule::beginJob(), CalibrationTask::book(), FineDelayTask::book(), LatencyTask::book(), CalibrationScanTask::book(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), PhotonOfflineClient::bookHisto(), PhotonAnalyzer::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(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), DataCertificationJetMET::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelRawDataErrorModule::fill(), SiPixelClusterModule::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(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), TrackingQualityChecker::fillTrackingStatus(), TrackingQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiPixelInformationExtractor::getMEList(), TrackingUtility::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripQualityChecker::getModuleStatus(), SiStripSummaryCreator::getSummaryME(), SiPixelActionExecutor::getSummaryME(), TrackingUtility::getTopFolderPath(), SiStripUtility::getTopFolderPath(), TrackingUtility::goToDir(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiPixelInformationExtractor::goToDir(), CommissioningHistograms::histogram(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), ElectronDqmAnalyzerBase::remove_other_dirs(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), and SubTaskSummaryStatus::WriteThreshold().

557 { return pwd_; }
std::string pwd_
Definition: DQMStore.h:605
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 2477 of file DQMStore.cc.

References prof2calltree::count, gather_cfg::cout, extract(), isSubdirectory(), combine::key, makeDirectory(), GetRecoTauVFromDQM_MC_cff::next, getGTfromDQMFile::obj, raiseDQMError(), s_collateDirName, s_monitorDirName, s_referenceDirName, createPayload::skip, pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, StripRunDirs, and verbose_.

Referenced by readFile().

2483 {
2484  unsigned int ntot = 0;
2485  unsigned int count = 0;
2486 
2487  if (! file->cd(curdir.c_str()))
2488  raiseDQMError("DQMStore", "Failed to process directory '%s' while"
2489  " reading file '%s'", curdir.c_str(), file->GetName());
2490 
2491  // Figure out current directory name, but strip out the top
2492  // directory into which we dump everything.
2493  std::string dirpart = curdir;
2494  if (dirpart.compare(0, s_monitorDirName.size(), s_monitorDirName) == 0)
2495  {
2496  if (dirpart.size() == s_monitorDirName.size())
2497  dirpart.clear();
2498  else if (dirpart[s_monitorDirName.size()] == '/')
2499  dirpart.erase(0, s_monitorDirName.size()+1);
2500  }
2501 
2502  // See if we are going to skip this directory.
2503  bool skip = (! onlypath.empty() && ! isSubdirectory(onlypath, dirpart));
2504 
2505  if (prepend == s_collateDirName ||
2506  prepend == s_referenceDirName ||
2507  stripdirs == StripRunDirs )
2508  {
2509  // Remove Run # and RunSummary dirs
2510  // first look for Run summary,
2511  // if that is found and erased, also erase Run dir
2512  size_t slash = dirpart.find('/');
2513  size_t pos = dirpart.find("/Run summary");
2514  if (slash != std::string::npos && pos !=std::string::npos)
2515  {
2516  dirpart.erase(pos,12);
2517 
2518  pos = dirpart.find("Run ");
2519  size_t length = dirpart.find('/',pos+1)-pos+1;
2520  if (pos !=std::string::npos)
2521  dirpart.erase(pos,length);
2522  }
2523  }
2524 
2525  // If we are prepending, add it to the directory name,
2526  // and suppress reading of already existing reference histograms
2527  if (prepend == s_collateDirName ||
2528  prepend == s_referenceDirName)
2529  {
2530  size_t slash = dirpart.find('/');
2531  // If we are reading reference, skip previous reference.
2532  if (slash == std::string::npos // skip if Reference is toplevel folder, i.e. no slash
2533  && slash+1+s_referenceDirName.size() == dirpart.size()
2534  && dirpart.compare(slash+1, s_referenceDirName.size(), s_referenceDirName) == 0)
2535  return 0;
2536 
2537  slash = dirpart.find('/');
2538  // Skip reading of EventInfo subdirectory.
2539  if (slash != std::string::npos
2540  && slash + 10 == dirpart.size()
2541  && dirpart.compare( slash+1 , 9 , "EventInfo") == 0) {
2542  if (verbose_)
2543  std::cout << "DQMStore::readDirectory: skipping '" << dirpart << "'\n";
2544  return 0;
2545  }
2546 
2547  // Add prefix.
2548  if (dirpart.empty())
2549  dirpart = prepend;
2550  else
2551  dirpart = prepend + '/' + dirpart;
2552  }
2553  else if (! prepend.empty())
2554  {
2555  if (dirpart.empty())
2556  dirpart = prepend;
2557  else
2558  dirpart = prepend + '/' + dirpart;
2559  }
2560 
2561  // Loop over the contents of this directory in the file.
2562  // Post-pone string object handling to happen after other
2563  // objects have been read in so we are guaranteed to have
2564  // histograms by the time we read in quality tests and tags.
2565  TKey *key;
2566  TIter next (gDirectory->GetListOfKeys());
2567  std::list<TObject *> delayed;
2568  while ((key = (TKey *) next()))
2569  {
2570  std::auto_ptr<TObject> obj(key->ReadObj());
2571  if (dynamic_cast<TDirectory *>(obj.get()))
2572  {
2573  std::string subdir;
2574  subdir.reserve(curdir.size() + strlen(obj->GetName()) + 2);
2575  subdir += curdir;
2576  if (! curdir.empty())
2577  subdir += '/';
2578  subdir += obj->GetName();
2579 
2580  ntot += readDirectory(file, overwrite, onlypath, prepend, subdir, stripdirs);
2581  }
2582  else if (skip)
2583  ;
2584  else if (dynamic_cast<TObjString *>(obj.get()))
2585  {
2586  delayed.push_back(obj.release());
2587  }
2588  else
2589  {
2590  if (verbose_ > 2)
2591  std::cout << "DQMStore: reading object '" << obj->GetName()
2592  << "' of type '" << obj->IsA()->GetName()
2593  << "' from '" << file->GetName()
2594  << "' into '" << dirpart << "'\n";
2595 
2596  makeDirectory(dirpart);
2597  if (extract(obj.get(), dirpart, overwrite))
2598  ++count;
2599  }
2600  }
2601 
2602  while (! delayed.empty())
2603  {
2604  if (verbose_ > 2)
2605  std::cout << "DQMStore: reading object '" << delayed.front()->GetName()
2606  << "' of type '" << delayed.front()->IsA()->GetName()
2607  << "' from '" << file->GetName()
2608  << "' into '" << dirpart << "'\n";
2609 
2610  makeDirectory(dirpart);
2611  if (extract(delayed.front(), dirpart, overwrite))
2612  ++count;
2613 
2614  delete delayed.front();
2615  delayed.pop_front();
2616  }
2617 
2618  if (verbose_ > 1)
2619  std::cout << "DQMStore: read " << count << '/' << ntot
2620  << " objects from directory '" << dirpart << "'\n";
2621 
2622  return ntot + count;
2623 }
static const std::string s_collateDirName
Definition: DQMStore.cc:49
static const std::string s_monitorDirName
name of global monitoring folder (containing all sources subdirectories)
Definition: DQMStore.cc:47
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
bool extract(TObject *obj, const std::string &dir, bool overwrite)
Definition: DQMStore.cc:1954
unsigned verbose_
Definition: DQMStore.h:594
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
unsigned int readDirectory(TFile *file, bool overwrite, const std::string &path, const std::string &prepend, const std::string &curdir, OpenRunDirs stripdirs)
Definition: DQMStore.cc:2477
list key
Definition: combine.py:13
tuple cout
Definition: gather_cfg.py:121
void makeDirectory(const std::string &path)
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition: DQMStore.cc:607
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
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 2672 of file DQMStore.cc.

References gather_cfg::cout, data_, cppFunctionSkipper::exception, f, n, raiseDQMError(), readDirectory(), and verbose_.

Referenced by initializeFrom(), load(), Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), Vispa.Main.TabController.TabController::open(), open(), and Vispa.Main.TabController.TabController::refresh().

2678 {
2679 
2680  if (verbose_)
2681  std::cout << "DQMStore::readFile: reading from file '" << filename << "'\n";
2682 
2683  std::auto_ptr<TFile> f;
2684 
2685  try
2686  {
2687  f.reset(TFile::Open(filename.c_str()));
2688  if (! f.get() || f->IsZombie())
2689  raiseDQMError("DQMStore", "Failed to open file '%s'", filename.c_str());
2690  }
2691  catch (std::exception &)
2692  {
2693  if (fileMustExist)
2694  throw;
2695  else
2696  {
2697  if (verbose_)
2698  std::cout << "DQMStore::readFile: file '" << filename << "' does not exist, continuing\n";
2699  return false;
2700  }
2701  }
2702 
2703  unsigned n = readDirectory(f.get(), overwrite, onlypath, prepend, "", stripdirs);
2704  f->Close();
2705 
2706  MEMap::iterator mi = data_.begin();
2707  MEMap::iterator me = data_.end();
2708  for ( ; mi != me; ++mi)
2709  const_cast<MonitorElement &>(*mi).updateQReportStats();
2710 
2711  if (verbose_)
2712  {
2713  std::cout << "DQMStore::open: successfully read " << n
2714  << " objects from file '" << filename << "'";
2715  if (! onlypath.empty())
2716  std::cout << " from directory '" << onlypath << "'";
2717  if (! prepend.empty())
2718  std::cout << " into directory '" << prepend << "'";
2719  std::cout << std::endl;
2720  }
2721  return true;
2722 }
double f[11][100]
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
unsigned int readDirectory(TFile *file, bool overwrite, const std::string &path, const std::string &prepend, const std::string &curdir, OpenRunDirs stripdirs)
Definition: DQMStore.cc:2477
tuple filename
Definition: lut2db_cfg.py:20
tuple cout
Definition: gather_cfg.py:121
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void DQMStore::removeContents ( void  )
void DQMStore::removeContents ( const std::string &  dir)

remove all monitoring elements from directory;

Definition at line 2750 of file DQMStore.cc.

References data_, alignCSCRings::e, i, isSubdirectory(), and AlCaHLTBitMon_QueryRunRegistry::string.

2751 {
2752  MonitorElement proto(&dir, std::string());
2753  MEMap::iterator e = data_.end();
2754  MEMap::iterator i = data_.lower_bound(proto);
2755  while (i != e && isSubdirectory(dir, *i->data_.dirname))
2756  if (dir == *i->data_.dirname)
2757  data_.erase(i++);
2758  else
2759  ++i;
2760 }
int i
Definition: DBlmapReader.cc:9
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
MEMap data_
Definition: DQMStore.h:606
dbl *** dir
Definition: mlp_gen.cc:35
void DQMStore::removeElement ( const std::string &  name)

erase monitoring element in current directory (opposite of book1D,2D,etc. action);

Definition at line 2772 of file DQMStore.cc.

References pwd_.

Referenced by HcalSummaryClient::analyze(), L1EmulatorErrorFlagClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), HLTEventInfoClient::beginJob(), BeamMonitor::beginJob(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalSummaryClient::beginRun(), RPCBxTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCOccupancyTest::beginRun(), RPCEventSummary::beginRun(), AlcaBeamMonitorClient::beginRun(), RPCRecHitProbability::beginRun(), RPCMonitorDigi::beginRun(), RPCDeadChannelTest::beginRun(), RPCMultiplicityTest::beginRun(), ZDCMonitorClient::beginRun(), RPCClusterSizeTest::beginRun(), EcalEndcapMonitorClient::beginRun(), EcalBarrelMonitorClient::beginRun(), L1TEventInfoClient::bookHistograms(), RPCMonitorDigi::bookRegionME(), BeamMonitorBx::BookTables(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EBPedestalOnlineTask::cleanup(), EEDaqInfoTask::cleanup(), EEDataCertificationTask::cleanup(), EEDcsInfoTask::cleanup(), EEPedestalOnlineTask::cleanup(), EBDataCertificationTask::cleanup(), EECosmicTask::cleanup(), EBPedestalTask::cleanup(), EEPedestalTask::cleanup(), EBOccupancyTask::cleanup(), EELaserTask::cleanup(), EELedTask::cleanup(), EETestPulseTask::cleanup(), EBCosmicTask::cleanup(), EBLaserTask::cleanup(), EBTestPulseTask::cleanup(), EcalBarrelMonitorModule::cleanup(), EcalEndcapMonitorModule::cleanup(), EBTimingTask::cleanup(), EESummaryClient::cleanup(), EBSummaryClient::cleanup(), EBTrendClient::cleanup(), EBSelectiveReadoutTask::cleanup(), EBClusterTask::cleanup(), EETrendClient::cleanup(), EEClusterTask::cleanup(), EEStatusFlagsTask::cleanup(), EBStatusFlagsTask::cleanup(), EEIntegrityTask::cleanup(), EERawDataTask::cleanup(), EBLaserClient::cleanup(), EBRawDataTask::cleanup(), EBTimingClient::cleanup(), EBTrendTask::cleanup(), EETrendTask::cleanup(), EELaserClient::cleanup(), EELedClient::cleanup(), EBHltTask::cleanup(), EBIntegrityTask::cleanup(), EBTestPulseClient::cleanup(), EEHltTask::cleanup(), EEIntegrityClient::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEPedestalClient::cleanup(), EEPedestalOnlineClient::cleanup(), EETestPulseClient::cleanup(), EEOccupancyTask::cleanup(), EETimingTask::cleanup(), EBTriggerTowerClient::cleanup(), EETriggerTowerClient::cleanup(), EETimingClient::cleanup(), HcalMonitorModule::cleanup(), EESelectiveReadoutTask::cleanup(), PFClient::createResolutionPlots(), MonitorElementsDb::endJob(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), TrackerOfflineValidationSummary::fillTree(), CommissioningHistograms::histogram(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), JetMETDQMOfflineClient::runClient_(), EESummaryClient::setup(), EBSummaryClient::setup(), EBTimingClient::setup(), EELaserClient::setup(), EBLaserClient::setup(), EELedClient::setup(), EEPedestalClient::setup(), EBPedestalOnlineClient::setup(), EBIntegrityClient::setup(), EBTestPulseClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EEIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EBTriggerTowerClient::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), and SubTaskSummaryStatus::WriteThreshold().

2773 {
2775 }
void removeElement(const std::string &name)
Definition: DQMStore.cc:2772
std::string pwd_
Definition: DQMStore.h:605
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 2780 of file DQMStore.cc.

References gather_cfg::cout, data_, and accesses::warning.

2781 {
2782  MonitorElement proto(&dir, name);
2783  MEMap::iterator pos = data_.find(proto);
2784  if (pos == data_.end() && warning)
2785  std::cout << "DQMStore: WARNING: attempt to remove non-existent"
2786  << " monitor element '" << name << "' in '" << dir << "'\n";
2787  else
2788  data_.erase(pos);
2789 }
tuple warning
Definition: accesses.py:3
MEMap data_
Definition: DQMStore.h:606
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
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 1910 of file DQMStore.cc.

References data_, MonitorElement::Reset(), reset_, MonitorElement::resetMe(), and MonitorElement::resetUpdate().

Referenced by DQMService::flushStandalone(), and initializeFrom().

1911 {
1912  MEMap::iterator mi = data_.begin();
1913  MEMap::iterator me = data_.end();
1914  for ( ; mi != me; ++mi)
1915  {
1916  MonitorElement &me = const_cast<MonitorElement &>(*mi);
1917  if (mi->wasUpdated())
1918  {
1919  if (me.resetMe())
1920  me.Reset();
1921  me.resetUpdate();
1922  }
1923  }
1924 
1925  reset_ = true;
1926 }
void resetUpdate(void)
reset &quot;was updated&quot; flag
bool reset_
Definition: DQMStore.h:596
MEMap data_
Definition: DQMStore.h:606
bool resetMe(void) const
true if ME should be reset at end of monitoring cycle
void Reset(void)
reset ME (ie. contents, errors, etc)
void DQMStore::rmdir ( const std::string &  path)

delete directory and all contents; delete directory (all contents + subfolders);

Definition at line 2730 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, dirs_, alignCSCRings::e, i, isSubdirectory(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by EBPedestalOnlineTask::beginJob(), EBStatusFlagsTask::beginJob(), EEPedestalOnlineTask::beginJob(), EEStatusFlagsTask::beginJob(), EBRawDataTask::beginJob(), EERawDataTask::beginJob(), EEPedestalTask::beginJob(), EBIntegrityTask::beginJob(), HLTMonPhotonClient::beginJob(), HLTMonPhotonSource::beginJob(), EBPedestalTask::beginJob(), EECosmicTask::beginJob(), EEIntegrityTask::beginJob(), EELedTask::beginJob(), EELaserTask::beginJob(), EBCosmicTask::beginJob(), EETestPulseTask::beginJob(), EBOccupancyTask::beginJob(), EBTestPulseTask::beginJob(), EcalBarrelMonitorModule::beginJob(), EBLaserTask::beginJob(), EcalEndcapMonitorModule::beginJob(), EBTimingTask::beginJob(), EBClusterTask::beginJob(), EBSelectiveReadoutTask::beginJob(), EETrendClient::beginJob(), EBTrendClient::beginJob(), EEClusterTask::beginJob(), L1TOccupancyClient::beginJob(), EBTrendTask::beginJob(), EETrendTask::beginJob(), EBHltTask::beginJob(), EEHltTask::beginJob(), HLTJetMETDQMSource::beginJob(), EEOccupancyTask::beginJob(), EETimingTask::beginJob(), EETriggerTowerTask::beginJob(), EBTriggerTowerTask::beginJob(), L1TRate_Harvest::beginJob(), L1TRate::beginJob(), FourVectorHLT::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRPCTF::beginJob(), HLTMonElectron::beginJob(), HLTMonElectronConsumer::beginJob(), HLTMon::beginJob(), L1TRate_Offline::beginJob(), EESelectiveReadoutTask::beginJob(), L1TCSCTF::beginJob(), FourVectorHLTOnline::beginJob(), L1TSync::beginJob(), L1TSync_Harvest::beginJob(), FourVectorHLTriggerOffline::beginJob(), L1TSync_Offline::beginJob(), L1GtHwValidation::beginJob(), L1TBPTX::beginJob(), FourVectorHLTOffline::beginJob(), L1TGCT::beginJob(), L1TGT::beginRun(), L1TDTTPG::beginRun(), HLTInclusiveVBFSource::beginRun(), L1TCSCTPG::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), TriggerValidator::beginRun(), L1TRPCTPG::beginRun(), L1ExtraRecoDQM::beginRun(), L1TCompare::beginRun(), L1TdeRCT::beginRun(), L1ExtraDQM::beginRun(), L1TGMT::book_(), EETriggerTowerTask::cleanup(), EBTriggerTowerTask::cleanup(), ecaldqm::MESetChannel::clear(), dqmCopyRecursively(), DTTriggerCheck::endJob(), DTLocalTriggerLutTask::endJob(), DTLocalTriggerBaseTask::endJob(), DTLocalTriggerSynchTask::endJob(), DTLocalTriggerTask::endJob(), SiStripCommissioningSource::remove(), CommissioningHistograms::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), ZDCMonitorClient::removeAllME(), and ecaldqm::MESetChannel::reset().

2731 {
2733  const std::string *cleaned = 0;
2734  cleanTrailingSlashes(path, clean, cleaned);
2735  MonitorElement proto(cleaned, std::string());
2736 
2737  MEMap::iterator e = data_.end();
2738  MEMap::iterator i = data_.lower_bound(proto);
2739  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
2740  data_.erase(i++);
2741 
2742  std::set<std::string>::iterator de = dirs_.end();
2743  std::set<std::string>::iterator di = dirs_.lower_bound(*cleaned);
2744  while (di != de && isSubdirectory(*cleaned, *di))
2745  dirs_.erase(di++);
2746 }
int i
Definition: DBlmapReader.cc:9
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
std::set< std::string > dirs_
Definition: DQMStore.h:607
void DQMStore::runQTests ( void  )

run quality tests (also finds updated contents in last monitoring cycle, including newly added content)

Definition at line 2882 of file DQMStore.cc.

References gather_cfg::cout, data_, isSubdirectory(), reset_, MonitorElement::runQTests(), s_referenceDirName, and verbose_.

Referenced by ZDCMonitorClient::analyze(), and ZDCMonitorClient::report().

2883 {
2884 
2885  if (verbose_ > 0)
2886  std::cout << "DQMStore: running runQTests() with reset = "
2887  << ( reset_ ? "true" : "false" ) << std::endl;
2888 
2889  // Apply quality tests to each monitor element, skipping references.
2890  MEMap::iterator mi = data_.begin();
2891  MEMap::iterator me = data_.end();
2892  for ( ; mi != me; ++mi)
2893  if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
2894  const_cast<MonitorElement &>(*mi).runQTests();
2895 
2896  reset_ = false;
2897 }
void runQTests(void)
run all quality tests
bool reset_
Definition: DQMStore.h:596
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
tuple cout
Definition: gather_cfg.py:121
void DQMStore::save ( const std::string &  filename,
const std::string &  path = "",
const std::string &  pattern = "",
const std::string &  rewrite = "",
const uint32_t  run = 0,
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 2296 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(), autoMagneticFieldProducer_cfi::master, max(), getHLTPrescaleColumns::path, raiseDQMError(), python.rootplot.root2matplotlib::replace(), s_monitorDirName, s_referenceDirName, SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest, ntuplemaker::status, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.

Referenced by SiStripGainFromData::algoEndJob(), Vispa.Main.TabController.TabController::allowClose(), CalibrationScanTask::checkAndSave(), CalibrationTask::checkAndSave(), Vispa.Main.TabController.TabController::checkModificationTimestamp(), EBTriggerTowerTask::cleanup(), EETriggerTowerTask::cleanup(), doSaveForOnline(), DQMHOAlCaRecoStream::endJob(), PerformanceAnalyzer::endJob(), Digi2Raw2Digi::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), CSCDigiValidation::endJob(), GenericBenchmarkAnalyzer::endJob(), TrackingTruthValid::endJob(), CSCRecHitValidation::endJob(), TauDQMSimpleFileSaver::endJob(), ElectronDqmAnalyzerBase::endJob(), PFTester::endJob(), SiStripDigiValid::endJob(), SiPixelDigiValid::endJob(), SiPixelHistoricInfoDQMClient::endJob(), HLTMonBTagClient::endJob(), HLTMonBTagIPSource::endJob(), HLTMonBTagMuSource::endJob(), HcalDigiTester::endJob(), SiPixelHistoricInfoEDAClient::endJob(), EgammaBasicClusters::endJob(), RPCRecHitProbability::endJob(), SiStripMonitorFilter::endJob(), RPCMonitorDigi::endJob(), SiStripMonitorHLT::endJob(), MonitorLTC::endJob(), EgammaSuperClusters::endJob(), HcalSimHitStudy::endJob(), LaserDQM::endJob(), TkAlCaRecoMonitor::endJob(), DTtTrigDBValidation::endJob(), CaloTowersAnalyzer::endJob(), DataCertificationJetMET::endJob(), HLTMonHcalIsoTrack::endJob(), MonitorTrackResiduals::endJob(), SiStripMonitorDigi::endJob(), HcalDigisClient::endJob(), SiPixelRecHitsValid::endJob(), DTnoiseDBValidation::endJob(), SiStripLAProfileBooker::endJob(), MixCollectionValidation::endJob(), SiStripCommissioningSource::endJob(), dEdxAnalyzer::endJob(), BxTiming::endJob(), RPCDigiValid::endJob(), BTagValidator::endJob(), DTt0DBValidation::endJob(), TrackerHitAnalyzer::endJob(), SiStripMonitorCluster::endJob(), HLTAlCaMonEcalPhiSym::endJob(), SiStripRecHitsValid::endJob(), TrackSplittingMonitor::endJob(), SiPixelHitEfficiencySource::endJob(), TrackEfficiencyMonitor::endJob(), DQMHcalPhiSymAlCaReco::endJob(), HcalSimHitsValidation::endJob(), DQMSourceEleCalib::endJob(), LaserAlignmentT0ProducerDQM::endJob(), HcalNoiseRates::endJob(), DQMHcalDiJetsAlCaReco::endJob(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), L1TDTTF::endJob(), SiPixelTrackResidualSource::endJob(), TrackingMonitor::endJob(), GlobalTest::endJob(), TestSuite::endJob(), SiPixelHLTSource::endJob(), L1TDTTPG::endJob(), NoiseRatesClient::endJob(), HcalRecHitsClient::endJob(), SiPixelDigiSource::endJob(), CaloTowersDQMClient::endJob(), HcalNoiseRatesClient::endJob(), HcalRecHitsDQMClient::endJob(), CaloTowersClient::endJob(), HcalSimHitsClient::endJob(), ElectronConversionRejectionValidator::endJob(), ZDCDigiStudy::endJob(), SiStripFEDCheckPlugin::endJob(), HLTMon::endJob(), L1TRPCTF::endJob(), SiPixelRawDataErrorSource::endJob(), JPTJetAnalyzer::endJob(), SiStripSpyMonitorModule::endJob(), ZdcSimHitStudy::endJob(), L1TCSCTPG::endJob(), SiPixelRecHitSource::endJob(), LogMessageMonitor::endJob(), HLTAlCaMonPi0::endJob(), SiStripMonitorTrack::endJob(), TkConvValidator::endJob(), DQMSourcePi0::endJob(), SiPixelClusterSource::endJob(), SiStripFEDMonitorPlugin::endJob(), TrackingOfflineDQM::endJob(), SiStripOfflineDQM::endJob(), PhotonValidator::endJob(), L1TdeCSCTF::endJob(), SiStripTrackingRecHitsValid::endJob(), L1TCSCTF::endJob(), DQMHcalIsoTrackAlCaReco::endJob(), SiStripCMMonitorPlugin::endJob(), CSCOfflineMonitor::endJob(), L1TRPCTPG::endJob(), TauTagValidation::endJob(), MuonAlignment::endJob(), RCTMonitor::endJob(), ValidationHcalIsoTrackAlCaReco::endJob(), RPCTTUMonitor::endJob(), L1TRCT::endJob(), L1TCompare::endJob(), TopValidation::endJob(), PiZeroAnalyzer::endJob(), SiPixelMuonHLT::endJob(), PhotonAnalyzer::endJob(), ZToMuMuGammaAnalyzer::endJob(), L1TdeRCT::endJob(), L1TGCT::endJob(), SiPixelOfflineCalibAnalysisBase::endJob(), SiPixelHistoricInfoDQMClient::endRun(), MultiTrackValidator::endRun(), SiPixelHistoricInfoEDAClient::endRun(), TrackerSeedValidator::endRun(), RecoMuonValidator::endRun(), RPCEfficiencyShiftHisto::endRun(), RPCEfficiencyPerRingLayer::endRun(), SaveDQMFile::endRun(), SiStripMonitorRawData::endRun(), SiStripMonitorQuality::endRun(), GlobalMuonMatchAnalyzer::endRun(), SiStripMonitorPedestals::endRun(), MuonTrackResidualAnalyzer::endRun(), MuonTrackAnalyzer::endRun(), EcalSelectiveReadoutValidation::endRun(), V0Validator::endRun(), RPCEfficiency::endRun(), MuonTrackValidator::endRun(), BeamHaloAnalyzer::endRun(), RPCEfficiencySecond::endRun(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), PhotonOfflineClient::runClient(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), TkHistoMap::save(), CommissioningHistograms::save(), HLXMonitor::SaveDQMFile(), SiPixelHistoricInfoEDAClient::saveFile(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), PFTauElecRejectionBenchmark::write(), PFJetBenchmark::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().

2304 {
2305  std::set<std::string>::iterator di, de;
2306  MEMap::iterator mi, me = data_.end();
2307  DQMNet::QReports::const_iterator qi, qe;
2308  int nme=0;
2309 
2310  // TFile flushes to disk with fsync() on every TDirectory written to the
2311  // file. This makes DQM file saving painfully slow, and ironically makes
2312  // it _more_ likely the file saving gets interrupted and corrupts the file.
2313  // The utility class below simply ignores the flush synchronisation.
2314  class TFileNoSync : public TFile
2315  {
2316  public:
2317  TFileNoSync(const char *file, const char *opt) : TFile(file, opt) {}
2318  virtual Int_t SysSync(Int_t) override { return 0; }
2319  };
2320 
2321  // open output file, on 1st save recreate, later update
2322  if (verbose_)
2323  std::cout << "\n DQMStore: Opening TFile '" << filename
2324  << "' with option '" << fileupdate <<"'\n";
2325 
2326  TFileNoSync f(filename.c_str(), fileupdate.c_str()); // open file
2327  if(f.IsZombie())
2328  raiseDQMError("DQMStore", "Failed to create/update file '%s'", filename.c_str());
2329  f.cd();
2330 
2331  // Construct a regular expression from the pattern string.
2332  std::auto_ptr<lat::Regexp> rxpat;
2333  if (! pattern.empty())
2334  rxpat.reset(new lat::Regexp(pattern.c_str()));
2335 
2336  // Prepare a path for the reference object selection.
2337  std::string refpath;
2338  refpath.reserve(s_referenceDirName.size() + path.size() + 2);
2339  refpath += s_referenceDirName;
2340  if (! path.empty())
2341  {
2342  refpath += '/';
2343  refpath += path;
2344  }
2345 
2346  // Loop over the directory structure.
2347  for (di = dirs_.begin(), de = dirs_.end(); di != de; ++di)
2348  {
2349  // Check if we should process this directory. We process the
2350  // requested part of the object tree, including references.
2351  if (! path.empty()
2352  && ! isSubdirectory(path, *di)
2353  && ! isSubdirectory(refpath, *di))
2354  continue;
2355 
2356  // Loop over monitor elements in this directory.
2357  MonitorElement proto(&*di, std::string(), run, 0, 0);
2358  mi = data_.lower_bound(proto);
2359  for ( ; mi != me && isSubdirectory(*di, *mi->data_.dirname); ++mi)
2360  {
2361  if (verbose_ > 1)
2362  std::cout << "Run: " << (*mi).run()
2363  << " Lumi: " << (*mi).lumi()
2364  << " LumiFlag: " << (*mi).getLumiFlag()
2365  << " streamId: " << (*mi).streamId()
2366  << " moduleId: " << (*mi).moduleId()
2367  << " fullpathname: " << (*mi).getPathname() << std::endl;
2368  // Skip if it isn't a direct child.
2369  if (*di != *mi->data_.dirname)
2370  continue;
2371 
2372  // Keep backward compatibility with the old way of
2373  // booking/handlind MonitorElements into the DQMStore. If run is
2374  // 0 it means that a booking happened w/ the old non-threadsafe
2375  // style, and we have to ignore the streamId and moduleId as a
2376  // consequence.
2377 
2378  if (run != 0 && (mi->data_.streamId !=0 || mi->data_.moduleId !=0))
2379  continue;
2380 
2381  // Handle reference histograms, with three distinct cases:
2382  // 1) Skip all references entirely on saving.
2383  // 2) Blanket saving of all references.
2384  // 3) Save only references for monitor elements with qtests.
2385  // The latter two are affected by "path" sub-tree selection,
2386  // i.e. references are saved only in the selected tree part.
2387  if (isSubdirectory(refpath, *mi->data_.dirname))
2388  {
2389  if (ref == SaveWithoutReference)
2390  // Skip the reference entirely.
2391  continue;
2392  else if (ref == SaveWithReference)
2393  // Save all references regardless of qtests.
2394  ;
2395  else if (ref == SaveWithReferenceForQTest)
2396  {
2397  // Save only references for monitor elements with qtests
2398  // with an optional cut on minimum quality test result.
2399  int status = -1;
2400  std::string mname(mi->getFullname(), s_referenceDirName.size()+1, std::string::npos);
2401  MonitorElement *master = get(mname);
2402  if (master)
2403  for (size_t i = 0, e = master->data_.qreports.size(); i != e; ++i)
2404  status = std::max(status, master->data_.qreports[i].code);
2405 
2406  if (! master || status < minStatus)
2407  {
2408  if (verbose_ > 1)
2409  std::cout << "DQMStore::save: skipping monitor element '"
2410  << mi->data_.objname << "' while saving, status is "
2411  << status << ", required minimum status is "
2412  << minStatus << std::endl;
2413  continue;
2414  }
2415  }
2416  }
2417 
2418  if (verbose_ > 1)
2419  std::cout << "DQMStore::save: saving monitor element '"
2420  << mi->data_.objname << "'\n";
2421  nme++; // count saved histograms
2422 
2423  // Create the directory.
2424  gDirectory->cd("/");
2425  if (di->empty())
2427  else if (rxpat.get())
2428  cdInto(s_monitorDirName + '/' + lat::StringOps::replace(*di, *rxpat, rewrite));
2429  else
2430  cdInto(s_monitorDirName + '/' + *di);
2431 
2432  // Save the object.
2433  switch (mi->kind())
2434  {
2438  TObjString(mi->tagString().c_str()).Write();
2439  break;
2440 
2441  default:
2442  mi->object_->Write();
2443  break;
2444  }
2445 
2446  // Save quality reports if this is not in reference section.
2447  if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
2448  {
2449  qi = mi->data_.qreports.begin();
2450  qe = mi->data_.qreports.end();
2451  for ( ; qi != qe; ++qi)
2452  TObjString(mi->qualityTagString(*qi).c_str()).Write();
2453  }
2454 
2455  // Save efficiency tag, if any
2456  if (mi->data_.flags & DQMNet::DQM_PROP_EFFICIENCY_PLOT)
2457  TObjString(mi->effLabelString().c_str()).Write();
2458 
2459  // Save tag if any
2460  if (mi->data_.flags & DQMNet::DQM_PROP_TAGGED)
2461  TObjString(mi->tagLabelString().c_str()).Write();
2462  }
2463  }
2464 
2465  f.Close();
2466 
2467  // Maybe make some noise.
2468  if (verbose_)
2469  std::cout << "DQMStore::save: successfully wrote " << nme
2470  << " objects from path '" << path
2471  << "' into DQM file '" << filename << "'\n";
2472 }
int i
Definition: DBlmapReader.cc:9
bool cdInto(const std::string &path) const
Definition: DQMStore.cc:2249
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
static const uint32_t DQM_PROP_EFFICIENCY_PLOT
Definition: DQMNet.h:63
static const std::string s_monitorDirName
name of global monitoring folder (containing all sources subdirectories)
Definition: DQMStore.cc:47
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
const T & max(const T &a, const T &b)
double f[11][100]
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
static const std::string s_referenceDirName
Definition: DQMStore.cc:48
tuple filename
Definition: lut2db_cfg.py:20
tuple cout
Definition: gather_cfg.py:121
tuple status
Definition: ntuplemaker.py:245
std::set< std::string > dirs_
Definition: DQMStore.h:607
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void DQMStore::scaleElements ( void  )

Invoke this method after flushing all recently changed monitoring. Clears updated flag on all MEs and calls their Reset() method.

Definition at line 2998 of file DQMStore.cc.

References gather_cfg::cout, data_, dirExists(), MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, MonitorElement::DQM_KIND_TH3F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, patZpeak::events, MonitorElement::getFloatValue(), MonitorElement::getFullname(), MonitorElement::getIntValue(), MonitorElement::getTH1D(), MonitorElement::getTH1F(), MonitorElement::getTH1S(), MonitorElement::getTH2D(), MonitorElement::getTH2F(), MonitorElement::getTH2S(), MonitorElement::getTH3F(), MonitorElement::getTProfile(), MonitorElement::getTProfile2D(), MonitorElement::kind(), scaleFlag_, and verbose_.

2999 {
3000  if (scaleFlag_ == 0.0) return;
3001  if (verbose_ > 0)
3002  std::cout << " =========== " << " ScaleFlag " << scaleFlag_ << std::endl;
3003  double factor = scaleFlag_;
3004  int events = 1;
3005  if (dirExists("Info/EventInfo")) {
3006  if ( scaleFlag_ == -1.0) {
3007  MonitorElement * scale_me = get("Info/EventInfo/ScaleFactor");
3008  if (scale_me && scale_me->kind()==MonitorElement::DQM_KIND_REAL) factor = scale_me->getFloatValue();
3009  }
3010  MonitorElement * event_me = get("Info/EventInfo/processedEvents");
3011  if (event_me && event_me->kind()==MonitorElement::DQM_KIND_INT) events = event_me->getIntValue();
3012  }
3013  factor = factor/(events*1.0);
3014 
3015  MEMap::iterator mi = data_.begin();
3016  MEMap::iterator me = data_.end();
3017  for ( ; mi != me; ++mi)
3018  {
3019  MonitorElement &me = const_cast<MonitorElement &>(*mi);
3020  switch (me.kind())
3021  {
3023  {
3024  me.getTH1F()->Scale(factor);
3025  break;
3026  }
3028  {
3029  me.getTH1S()->Scale(factor);
3030  break;
3031  }
3033  {
3034  me.getTH1D()->Scale(factor);
3035  break;
3036  }
3038  {
3039  me.getTH2F()->Scale(factor);
3040  break;
3041  }
3043  {
3044  me.getTH2S()->Scale(factor);
3045  break;
3046  }
3048  {
3049  me.getTH2D()->Scale(factor);
3050  break;
3051  }
3053  {
3054  me.getTH3F()->Scale(factor);
3055  break;
3056  }
3058  {
3059  me.getTProfile()->Scale(factor);
3060  break;
3061  }
3063  {
3064  me.getTProfile2D()->Scale(factor);
3065  break;
3066  }
3067  default:
3068  if (verbose_ > 0)
3069  std::cout << " The DQM object '" << me.getFullname() << "' is not scalable object " << std::endl;
3070  continue;
3071  }
3072  }
3073 }
TH2S * getTH2S(void) const
TH1S * getTH1S(void) const
TProfile2D * getTProfile2D(void) const
TH3F * getTH3F(void) const
TH1D * getTH1D(void) const
TH2D * getTH2D(void) const
double scaleFlag_
Definition: DQMStore.h:597
double getFloatValue(void) const
Kind kind(void) const
Get the type of the monitor element.
const std::string getFullname(void) const
get full name of ME including Pathname
bool dirExists(const std::string &path) const
true if directory exists
Definition: DQMStore.cc:648
unsigned verbose_
Definition: DQMStore.h:594
MEMap data_
Definition: DQMStore.h:606
int64_t getIntValue(void) const
TH1F * getTH1F(void) const
tuple events
Definition: patZpeak.py:19
TProfile * getTProfile(void) const
tuple cout
Definition: gather_cfg.py:121
TH2F * getTH2F(void) const
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 2951 of file DQMStore.cc.

References MonitorElement::setAccumulate().

2952 {
2953  if (me)
2954  me->setAccumulate(flag);
2955 }
void setAccumulate(bool)
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 584 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), makeDirectory(), pwd_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiStripDcsInfo::addBadModules(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), BeamMonitor::analyze(), BeamSpotProblemMonitor::analyze(), FourVectorHLT::analyze(), MuIsoValidation::analyze(), ecaldqm::MESetChannel::append_(), DQMHOAlCaRecoStream::beginJob(), BenchmarkAnalyzer::beginJob(), PFCandidateDQMAnalyzer::beginJob(), PFJetDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), ElectronDqmAnalyzerBase::beginJob(), GenericBenchmarkAnalyzer::beginJob(), L1Scalers::beginJob(), PFTester::beginJob(), HLTMonBTagClient::beginJob(), HLTMonBTagIPSource::beginJob(), HLTMonBTagMuSource::beginJob(), DQMSourceExample::beginJob(), ScoutingAnalyzerBase::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), DQMFileReader::beginJob(), EgammaBasicClusters::beginJob(), L1TGCTClient::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), L1EmulatorErrorFlagClient::beginJob(), RPCDaqInfo::beginJob(), SiPixelCertification::beginJob(), SiPixelDcsInfo::beginJob(), SiStripMonitorFilter::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), EEDaqInfoTask::beginJob(), TopElectronHLTOfflineSource::beginJob(), DQMFEDIntegrityClient::beginJob(), EEDataCertificationTask::beginJob(), EEDcsInfoTask::beginJob(), EBDataCertificationTask::beginJob(), SiPixelDaqInfo::beginJob(), SiStripMonitorHLT::beginJob(), L1ScalersClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), EgammaSuperClusters::beginJob(), L1TDTTPGClient::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTFClient::beginJob(), BeamConditionsMonitor::beginJob(), MonitorLTC::beginJob(), DQMSourceEleCalib::beginJob(), HLTMonBitSummary::beginJob(), HLTMonHcalIsoTrack::beginJob(), DTDataIntegrityTest::beginJob(), AlcaBeamMonitor::beginJob(), TkAlCaRecoMonitor::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), EBStatusFlagsTask::beginJob(), HLTEventInfoClient::beginJob(), AcceptanceHistoProducer::beginJob(), HcalSimHitStudy::beginJob(), EEPedestalOnlineTask::beginJob(), QcdHighPtDQM::beginJob(), EEStatusFlagsTask::beginJob(), EBPedestalOnlineTask::beginJob(), DTBlockedROChannelsTest::beginJob(), HLTMonPhotonClient::beginJob(), HLTMonPhotonSource::beginJob(), EECosmicTask::beginJob(), L1TDEMON::beginJob(), EEIntegrityTask::beginJob(), SimHitsValidationHcal::beginJob(), EEPedestalTask::beginJob(), EBIntegrityTask::beginJob(), EERawDataTask::beginJob(), EBPedestalTask::beginJob(), EBRawDataTask::beginJob(), BeamMonitorBx::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), BasicHepMCValidation::beginJob(), DrellYanValidation::beginJob(), EELaserTask::beginJob(), EELedTask::beginJob(), EBCosmicTask::beginJob(), EETestPulseTask::beginJob(), EBOccupancyTask::beginJob(), EBTestPulseTask::beginJob(), EcalEndcapMonitorModule::beginJob(), EcalBarrelMonitorModule::beginJob(), WValidation::beginJob(), EBLaserTask::beginJob(), dEdxAnalyzer::beginJob(), EBTimingTask::beginJob(), PFJetAnalyzer::beginJob(), HiggsValidation::beginJob(), VertexMonitor::beginJob(), HTMHTAnalyzer::beginJob(), EBTrendClient::beginJob(), EETrendClient::beginJob(), EEClusterTask::beginJob(), EBClusterTask::beginJob(), EBSelectiveReadoutTask::beginJob(), BasicGenParticleValidation::beginJob(), BeamMonitor::beginJob(), L1TOccupancyClient::beginJob(), EBTrendTask::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), EBHltTask::beginJob(), EETrendTask::beginJob(), BeamSpotProblemMonitor::beginJob(), DQMClientExample::beginJob(), EEHltTask::beginJob(), TrackSplittingMonitor::beginJob(), HLTJetMETDQMSource::beginJob(), TrackEfficiencyClient::beginJob(), TrackEfficiencyMonitor::beginJob(), JetPtAnalyzer::beginJob(), MuCorrMETAnalyzer::beginJob(), TcMETAnalyzer::beginJob(), EEOccupancyTask::beginJob(), EETimingTask::beginJob(), L1TDTTF::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), EBTriggerTowerTask::beginJob(), DuplicationChecker::beginJob(), EETriggerTowerTask::beginJob(), JetAnalyzer::beginJob(), HLTAlCaMonPi0::beginJob(), DQMSourcePi0::beginJob(), L1TRate_Harvest::beginJob(), GlobalTest::beginJob(), HcalDataCertification::beginJob(), GeneralHLTOffline::beginJob(), TestSuite::beginJob(), TopDiLeptonDQM::beginJob(), JPTJetAnalyzer::beginJob(), DQMDaqInfo::beginJob(), HcalDCSInfo::beginJob(), FourVectorHLT::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRate::beginJob(), HLTMonElectron::beginJob(), HLTMonElectronConsumer::beginJob(), L1TRPCTF::beginJob(), ZDCDigiStudy::beginJob(), HcalDAQInfo::beginJob(), SiStripFEDCheckPlugin::beginJob(), HLTMon::beginJob(), TopHLTDiMuonDQM::beginJob(), EcalZmassTask::beginJob(), PFMETAnalyzer::beginJob(), L1TRate_Offline::beginJob(), SiStripSpyMonitorModule::beginJob(), LogMessageMonitor::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), CaloMETAnalyzer::beginJob(), TkConvValidator::beginJob(), METAnalyzer::beginJob(), TTbar_GenLepAnalyzer::beginJob(), EESelectiveReadoutTask::beginJob(), TTbar_GenJetAnalyzer::beginJob(), TauValidation::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), TTbar_Kinematics::beginJob(), SiStripFEDMonitorPlugin::beginJob(), L1TCSCTF::beginJob(), MuIsoValidation::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), SiStripCMMonitorPlugin::beginJob(), MuonAlignment::beginJob(), TauTagValidation::beginJob(), HLTScalers::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), FourVectorHLTOnline::beginJob(), TopValidation::beginJob(), L1TSync::beginJob(), QcdLowPtDQM::beginJob(), EmDQMReco::beginJob(), PiZeroAnalyzer::beginJob(), EgHLTOfflineSource::beginJob(), TrigResRateMon::beginJob(), L1TSync_Harvest::beginJob(), L1TSync_Offline::beginJob(), FourVectorHLTriggerOffline::beginJob(), L1GtHwValidation::beginJob(), PhotonAnalyzer::beginJob(), L1TBPTX::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), FourVectorHLTOffline::beginJob(), L1TGCT::beginJob(), HLTScalersClient::beginJob(), MCEmbeddingValidationAnalyzer::beginJob(), CastorRecHitMonitor::beginRun(), CastorHIMonitor::beginRun(), CastorPSMonitor::beginRun(), CastorDataIntegrityMonitor::beginRun(), HLTTauDQML1Plotter::beginRun(), CastorDigiMonitor::beginRun(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalBeamClient::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), HcalDigiClient::beginRun(), HcalHotCellClient::beginRun(), HcalNZSClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitMonitor::beginRun(), TrackingTruthValid::beginRun(), HcalRecHitClient::beginRun(), HLTTauDQMPathSummaryPlotter::beginRun(), MultiTrackValidator::beginRun(), HcalSummaryClient::beginRun(), CastorTowerJetMonitor::beginRun(), CaloTowerAnalyzer::beginRun(), SiPixelDigiValid::beginRun(), SiStripDigiValid::beginRun(), RPCBxTest::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCMonitorLinkSynchro::beginRun(), RPCOccupancyTest::beginRun(), HcalRawDataClient::beginRun(), RPCEventSummary::beginRun(), TrackerSeedValidator::beginRun(), L1TGMTClient::beginRun(), RPCMonitorRaw::beginRun(), HLTTauDQMPathPlotter::beginRun(), RPCDcsInfo::beginRun(), PrimaryVertexMonitor::beginRun(), DTOfflineSummaryClients::beginRun(), RPCRecHitValid::beginRun(), DQMDcsInfoClient::beginRun(), RPCRecHitProbability::beginRun(), TrackerHitAnalyzer::beginRun(), RPCMonitorDigi::beginRun(), HLTOniaSource::beginRun(), AlcaBeamMonitor::beginRun(), HLTMonBitSummary::beginRun(), CastorChannelQualityMonitor::beginRun(), RPCDeadChannelTest::beginRun(), TrackBuildingAnalyzer::beginRun(), SiPixelRecHitsValid::beginRun(), RPCMultiplicityTest::beginRun(), RPCClusterSizeTest::beginRun(), ZDCMonitorClient::beginRun(), BxTiming::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), RPCEfficiencyShiftHisto::beginRun(), CastorLEDMonitor::beginRun(), DQMProvInfo::beginRun(), DTSummaryClients::beginRun(), RPCDigiValid::beginRun(), SiStripRecHitsValid::beginRun(), MuonAlignmentSummary::beginRun(), L1TOccupancyClient::beginRun(), HcalMonitorClient::beginRun(), DTSegmentAnalysisTask::beginRun(), RPCDBPopConAnalyzer::beginRun(), DTNoiseTask::beginRun(), HLTJetMETDQMSource::beginRun(), SiStripMonitorRawData::beginRun(), GlobalMuonMatchAnalyzer::beginRun(), SiPixelTrackResidualSource::beginRun(), ZDCMonitorModule::beginRun(), GeneralHLTOffline::beginRun(), MuonIdDQM::beginRun(), HeavyFlavorValidation::beginRun(), TrackingMonitor::beginRun(), EcalEndcapMonitorClient::beginRun(), HLTInclusiveVBFSource::beginRun(), EcalBarrelMonitorClient::beginRun(), L1TCSCTPG::beginRun(), L1TDTTPG::beginRun(), L1TGT::beginRun(), DTLocalTriggerBaseTask::beginRun(), MuonTrackResidualAnalyzer::beginRun(), MuonIdVal::beginRun(), BTagHLTOfflineSource::beginRun(), HLTHiggsSubAnalysis::beginRun(), MuonTrackAnalyzer::beginRun(), SiPixelClusterSource::beginRun(), HLTMuonPlotter::beginRun(), EcalZmassClient::beginRun(), HLTMuonMatchAndPlot::beginRun(), L1TdeCSCTF::beginRun(), JetMETHLTOfflineSource::beginRun(), TriggerValidator::beginRun(), HLTJetMETValidation::beginRun(), HLTOfflineReproducibility::beginRun(), EmDQM::beginRun(), L1TRPCTPG::beginRun(), RPCTTUMonitor::beginRun(), L1TRCT::beginRun(), L1ExtraRecoDQM::beginRun(), L1TCompare::beginRun(), FourVectorHLTOnline::beginRun(), CastorMonitorModule::beginRun(), V0Validator::beginRun(), Vx3DHLTAnalyzer::beginRun(), EgHLTOfflineSource::beginRun(), TrigResRateMon::beginRun(), RPCEfficiency::beginRun(), L1GtHwValidation::beginRun(), FourVectorHLTriggerOffline::beginRun(), FourVectorHLTOffline::beginRun(), MuonTrackValidator::beginRun(), L1TdeRCT::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), L1ExtraDQM::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), CalibrationScanTask::book(), CalibrationTask::book(), FineDelayTask::book(), LatencyTask::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), MEtoMEComparitor::book(), SiStripMonitorTrack::book(), QcdUeDQM::book1D(), QcdUeDQM::book2D(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTRunConditionVar::bookChamberHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1DVB(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), TrackerOfflineValidationSummary::bookHarvestingHists(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), DQMLumiMonitor::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), PhotonValidator::bookHistograms(), L1TGT::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TEventInfoClient::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkMuTauHistManager::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeEvtWeight::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeMuonRadCorrUncertainty::bookHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeL1ETM::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::electronDistributionExtra::bookHistograms(), MCEmbeddingValidationAnalyzer::tauDistributionExtra::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonEfficiencyT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::leptonL1TriggerEfficiencyT1T2< T1, T2 >::bookHistograms(), MCEmbeddingValidationAnalyzer::l1ExtraObjectDistributionT< T >::bookHistograms(), MCEmbeddingValidationAnalyzer::metDistributionType::bookHistograms(), MCEmbeddingValidationAnalyzer::metL1TriggerEfficiencyType::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDataIntegrityTest::bookHistos(), DTDCSByLumiTask::bookHistos(), PlotMakerL1::bookHistos(), DTNoiseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerReco::bookHistos(), DTtTrigDBValidation::bookHistos(), DQMExample_Step1::bookHistos(), DTLocalTriggerTask::bookHistos(), DTDataIntegrityTask::bookHistos(), DTScalerInfoTask::bookHistos(), HiggsDQM::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), B2GDQM::bookHistos(), ExoticaDQM::bookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForBeamSpot(), TrackAnalyzer::bookHistosForHitProperties(), TrackAnalyzer::bookHistosForLScertification(), TrackAnalyzer::bookHistosForState(), TrackAnalyzer::bookHistosForTrackerSpecific(), TrackingQualityChecker::bookLSStatus(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelClusterSource::bookMEs(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), QcdUeDQM::bookProfile(), RCTMonitor::BookRCT(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookRollME(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), TrigResRateMon::bookTestHisto(), CSCOfflineMonitor::bookTheHists(), SiPixelActionExecutor::bookTrackerMaps(), TrackingCertificationInfo::bookTrackingCertificationMEs(), TrackingCertificationInfo::bookTrackingCertificationMEsAtLumi(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), RPCMonitorDigi::bookWheelDiskME(), DTTriggerEfficiencyTask::bookWheelHistos(), DTLocalTriggerTask::bookWheelHistos(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BxTiming::BxTiming(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), CastorMonitorModule::CastorMonitorModule(), cd(), HcalDataCertification::CertifyHcal(), HcalCoarsePedestalMonitor::cleanup(), HcalNZSMonitor::cleanup(), HcalTrigPrimMonitor::cleanup(), HcalNoiseMonitor::cleanup(), HcalRecHitMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), HcalDataIntegrityTask::cleanup(), HcalHotCellMonitor::cleanup(), HcalBeamMonitor::cleanup(), HcalDeadCellMonitor::cleanup(), HcalDetDiagNoiseMonitor::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EBDataCertificationTask::cleanup(), EEPedestalOnlineTask::cleanup(), EEDataCertificationTask::cleanup(), EEDcsInfoTask::cleanup(), EEDaqInfoTask::cleanup(), EBPedestalOnlineTask::cleanup(), EEPedestalTask::cleanup(), EECosmicTask::cleanup(), EBPedestalTask::cleanup(), EELaserTask::cleanup(), EELedTask::cleanup(), EBCosmicTask::cleanup(), EETestPulseTask::cleanup(), EBOccupancyTask::cleanup(), EBTestPulseTask::cleanup(), EcalEndcapMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EBLaserTask::cleanup(), EBTimingTask::cleanup(), EBSummaryClient::cleanup(), EESummaryClient::cleanup(), EBSelectiveReadoutTask::cleanup(), EBTrendClient::cleanup(), EETrendClient::cleanup(), EEClusterTask::cleanup(), EBClusterTask::cleanup(), EBStatusFlagsTask::cleanup(), EEStatusFlagsTask::cleanup(), EBLaserClient::cleanup(), EBTrendTask::cleanup(), EELaserClient::cleanup(), EELedClient::cleanup(), EBStatusFlagsClient::cleanup(), EEStatusFlagsClient::cleanup(), EBTimingClient::cleanup(), EEIntegrityTask::cleanup(), EERawDataTask::cleanup(), EBHltTask::cleanup(), EBIntegrityTask::cleanup(), EETrendTask::cleanup(), EBRawDataTask::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EEIntegrityClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEPedestalClient::cleanup(), EEPedestalOnlineClient::cleanup(), EETestPulseClient::cleanup(), EBTestPulseClient::cleanup(), EEHltTask::cleanup(), EETriggerTowerClient::cleanup(), EBTriggerTowerClient::cleanup(), EETimingTask::cleanup(), EEOccupancyTask::cleanup(), EETimingClient::cleanup(), HcalMonitorModule::cleanup(), HcalDigiMonitor::cleanup(), EESelectiveReadoutTask::cleanup(), HcalDetDiagTimingMonitor::cleanup(), HcalDetDiagLEDMonitor::cleanup(), CastorBaseMonitor::clearME(), HcalEEUSMonitor::clearME(), HcalBaseMonitor::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_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiPixelActionExecutor::createMaps(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createMEs(), PFClient::createProfilePlots(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripCommissioningSource::createRunNumber(), SiPixelActionExecutor::createSummary(), SiStripCommissioningSource::createTask(), SiStripCommissioningSource::createTasks(), CSCDigiValidation::CSCDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), dqmCopyRecursively(), DTGlobalRecoTask::DTGlobalRecoTask(), DTnoiseDBValidation::DTnoiseDBValidation(), DTt0DBValidation::DTt0DBValidation(), DTTriggerCheck::DTTriggerCheck(), DTtTrigDBValidation::DTtTrigDBValidation(), EgHLTOfflineClient::EgHLTOfflineClient(), EmDQMReco::EmDQMReco(), ElectronDqmAnalyzerBase::endJob(), HarvestingAnalyzer::endJob(), BTagValidator::endJob(), TrackerHitAnalyzer::endJob(), PhotonAnalyzer::endJob(), ZToMuMuGammaAnalyzer::endJob(), ElectronDqmAnalyzerBase::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HltSusyExoPostProcessor::endRun(), ElectronDqmAnalyzerBase::endRun(), RPCDcsInfoClient::endRun(), RPCRecHitValidClient::endRun(), DQMExample_Step2::endRun(), DQMGenericTnPClient::endRun(), AlcaBeamMonitorClient::endRun(), DQMDcsInfoClient::endRun(), TauDQMHistEffProducer::endRun(), DataCertificationJetMET::endRun(), TauDQMFileLoader::endRun(), HLTTauCertifier::endRun(), HcalDigisClient::endRun(), DQMOfflineHLTEventInfoClient::endRun(), GlobalHitsProdHistStripper::endRun(), PhotonDataCertification::endRun(), FourVectorHLTClient::endRun(), HLTOverallSummary::endRun(), HLTMuonCertSummary::endRun(), CSCOfflineClient::endRun(), PhotonAnalyzer::endRun(), ZToMuMuGammaAnalyzer::endRun(), ESRecoSummary::ESRecoSummary(), EwkElecDQM::EwkElecDQM(), EwkMuDQM::EwkMuDQM(), EwkMuLumiMonitorDQM::EwkMuLumiMonitorDQM(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), FastTimerServiceClient::fillPathSummaryPlots(), FastTimerServiceClient::fillProcessSummaryPlots(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), FastTimerServiceClient::fillSummaryPlots(), TrackerOfflineValidationSummary::fillTree(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), TkHistoMap::folderDefinition(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), goUp(), HcalDigisClient::HcalDigisClient(), HcalDigisValidation::HcalDigisValidation(), 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(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), LaserDQM::initMonitors(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JetTester::JetTester(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1ScalersClient::L1ScalersClient(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), L1Validator::L1Validator(), L1TGMTClient::makeEfficiency1D(), L1TGMTClient::makeEfficiency2D(), DQMProvInfo::makeHLTKeyInfo(), PlotCombiner::makePlot(), DQMProvInfo::makeProvInfo(), L1TGMTClient::makeRatio1D(), METTester::METTester(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), RivetAnalyzer::normalizeTree(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), CastorRecHitPerChan::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), L1TRPCTFClient::processHistograms(), SiStripFEDErrorsDQM::readBadAPVs(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), ElectronDqmAnalyzerBase::remove(), RPCRecHitValid::RPCRecHitValid(), HcalDigisClient::runClient(), PhotonOfflineClient::runClient(), BTagHLTOfflineClient::runClient_(), CaloTowersClient::runClient_(), CaloTowersDQMClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsDQMClient::runClient_(), HcalNoiseRatesClient::runClient_(), HcalSimHitsClient::runClient_(), HLTInclusiveVBFClient::runClient_(), JetMETDQMOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), TopElectronHLTOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), EgHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::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(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCoarsePedestalMonitor::setup(), HcalRecHitMonitor::setup(), HcalZDCMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalNoiseMonitor::setup(), HcalBeamMonitor::setup(), HcalLSbyLSMonitor::setup(), HcalHotCellMonitor::setup(), HcalDataIntegrityTask::setup(), HcalDeadCellMonitor::setup(), PFJetBenchmark::setup(), PFMETBenchmark::setup(), HcalDetDiagNoiseMonitor::setup(), HcalEEUSMonitor::setup(), PFTauElecRejectionBenchmark::setup(), EcalEndcapMonitorModule::setup(), EEPedestalOnlineTask::setup(), EBPedestalOnlineTask::setup(), EECosmicTask::setup(), EBPedestalTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EELaserTask::setup(), EBOccupancyTask::setup(), EBCosmicTask::setup(), EELedTask::setup(), EBTestPulseTask::setup(), HcalRawDataMonitor::setup(), EcalBarrelMonitorModule::setup(), EBLaserTask::setup(), EBSummaryClient::setup(), EESummaryClient::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), EETrendClient::setup(), EEClusterTask::setup(), EBClusterTask::setup(), EBTrendClient::setup(), EBStatusFlagsTask::setup(), EEStatusFlagsTask::setup(), EBRawDataTask::setup(), EBTimingClient::setup(), EEStatusFlagsClient::setup(), EBIntegrityTask::setup(), EBTrendTask::setup(), EELedClient::setup(), EBStatusFlagsClient::setup(), EBHltTask::setup(), EBLaserClient::setup(), EETrendTask::setup(), EELaserClient::setup(), EERawDataTask::setup(), EEIntegrityTask::setup(), EEOccupancyClient::setup(), EEIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EBTestPulseClient::setup(), EBOccupancyClient::setup(), EEPedestalClient::setup(), EBPedestalOnlineClient::setup(), EEHltTask::setup(), EBPedestalClient::setup(), EETestPulseClient::setup(), EBIntegrityClient::setup(), EBClusterClient::setup(), EEClusterClient::setup(), EETriggerTowerClient::setup(), EBTriggerTowerClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), HcalMonitorModule::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EETriggerTowerTask::setup(), EBTriggerTowerTask::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagLEDMonitor::setup(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOffline::setupHltLsPlots(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupHltMatrix(), FourVectorHLTOffline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), EmDQM::SetVarsFromPSet(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), PFMETDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), SubTaskSummaryStatus::WriteThreshold(), and ZDCMonitorModule::~ZDCMonitorModule().

585 {
587  const std::string *cleaned = 0;
588  cleanTrailingSlashes(fullpath, clean, cleaned);
589  makeDirectory(*cleaned);
590  pwd_ = *cleaned;
591 }
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
std::string pwd_
Definition: DQMStore.h:605
std::vector< T * > clean
Definition: MVATrainer.cc:156
void makeDirectory(const std::string &path)
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition: DQMStore.cc:607
void DQMStore::setVerbose ( unsigned  level)

set verbose level (0 turns all non-error messages off)

Definition at line 548 of file DQMStore.cc.

Referenced by RPCRecHitProbabilityClient::beginJob(), ElectronDqmAnalyzerBase::beginJob(), RPCDqmClient::beginJob(), L1Scalers::beginJob(), HLTMonBTagIPSource::beginJob(), HLTMonBTagMuSource::beginJob(), HLTMonBTagClient::beginJob(), ScoutingAnalyzerBase::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), PhotonDataCertification::beginJob(), PiZeroAnalyzer::beginJob(), ReadMeFromFile::beginRun(), SaveDQMFile::beginRun(), TrackerHitAnalyzer::beginRun(), SiStripCommissioningOfflineClient::beginRun(), SiStripCommissioningSource::beginRun(), HeavyFlavorValidation::beginRun(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BTagHLTOfflineSource::BTagHLTOfflineSource(), BxTiming::BxTiming(), ConversionPostprocessing::ConversionPostprocessing(), DTSegment2DQuality::DTSegment2DQuality(), EgHLTOfflineClient::EgHLTOfflineClient(), EgHLTOfflineSource::EgHLTOfflineSource(), EmDQM::EmDQM(), 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(), L1TEfficiency_Harvesting::L1TEfficiency_Harvesting(), L1TGCT::L1TGCT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), SiStripBadComponentsDQMService::openRequestedFile(), PhotonOfflineClient::PhotonOfflineClient(), PhotonPostprocessing::PhotonPostprocessing(), CommissioningHistograms::remove(), RivetAnalyzer::RivetAnalyzer(), SimHitsValidationHcal::SimHitsValidationHcal(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TopElectronHLTOfflineSource::TopElectronHLTOfflineSource(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), ZDCDigiStudy::ZDCDigiStudy(), and ZdcSimHitStudy::ZdcSimHitStudy().

549 { return; }
void DQMStore::showDirStructure ( void  ) const

Definition at line 2961 of file DQMStore.cc.

References relmon_rootfiles_spy::contents, filterCSVwithJSON::copy, gather_cfg::cout, and getContents().

Referenced by HcalBeamClient::beginJob(), HcalDetDiagLEDClient::beginJob(), HcalDetDiagNoiseMonitorClient::beginJob(), HcalTrigPrimClient::beginJob(), HcalDetDiagPedestalClient::beginJob(), HcalDetDiagTimingClient::beginJob(), HcalCoarsePedestalClient::beginJob(), HcalDigiClient::beginJob(), HcalHotCellClient::beginJob(), HcalDeadCellClient::beginJob(), HcalNZSClient::beginJob(), HcalRecHitClient::beginJob(), HcalRawDataClient::beginJob(), DQMSourceExample::beginJob(), HcalBaseDQClient::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), GlobalTest::beginJob(), TestSuite::beginJob(), PiZeroAnalyzer::beginJob(), TrackerHitAnalyzer::beginRun(), MuonTrackResidualAnalyzer::beginRun(), MuonTrackAnalyzer::beginRun(), RPCTTUMonitor::beginRun(), DTSegment2DQuality::DTSegment2DQuality(), EcalBarrelMonitorDbModule::EcalBarrelMonitorDbModule(), EcalEndcapMonitorDbModule::EcalEndcapMonitorDbModule(), DataCertificationJetMET::endJob(), dEdxAnalyzer::endJob(), BTagValidator::endJob(), TrackSplittingMonitor::endJob(), TrackEfficiencyMonitor::endJob(), LaserAlignmentT0ProducerDQM::endJob(), TrackingMonitor::endJob(), LogMessageMonitor::endJob(), SiStripMonitorTrack::endJob(), RCTMonitor::endJob(), TopValidation::endJob(), DataCertificationJetMET::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DataCertificationJetMET::endRun(), TauDQMFileLoader::endRun(), SiStripMonitorQuality::endRun(), SiStripMonitorRawData::endRun(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), ZDCMonitorClient::initialize(), LaserDQM::initMonitors(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), RecoMuonValidator::RecoMuonValidator(), HLXMonitor::SetupHists(), HistoProviderDQM::show(), SimHitsValidationHcal::SimHitsValidationHcal(), ZDCDigiStudy::ZDCDigiStudy(), and ZdcSimHitStudy::ZdcSimHitStudy().

2962 {
2963  std::vector<std::string> contents;
2964  getContents(contents);
2965 
2966  std::cout << " ------------------------------------------------------------\n"
2967  << " Directory structure: \n"
2968  << " ------------------------------------------------------------\n";
2969 
2970  std::copy(contents.begin(), contents.end(),
2971  std::ostream_iterator<std::string>(std::cout, "\n"));
2972 
2973  std::cout << " ------------------------------------------------------------\n";
2974 }
std::vector< MonitorElement * > getContents(const std::string &path) const
Definition: DQMStore.cc:1652
tuple cout
Definition: gather_cfg.py:121
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 2934 of file DQMStore.cc.

References MonitorElement::softReset().

Referenced by TrackAnalyzer::doSoftReset(), HLXMonitor::FillHistograms(), HLXMonitor::ResetAll(), resetME(), EcalBarrelMonitorClient::softReset(), and EcalEndcapMonitorClient::softReset().

2935 {
2936  if (me)
2937  me->softReset();
2938 }
void softReset(void)
void DQMStore::tag ( MonitorElement me,
unsigned int  myTag 
)

tag ME as <myTag> (myTag > 0)

Definition at line 1509 of file DQMStore.cc.

References MonitorElement::data_, DQMNet::DQM_PROP_TAGGED, DQMNet::CoreObject::flags, MonitorElement::getFullname(), raiseDQMError(), and DQMNet::CoreObject::tag.

Referenced by DQMSourceExample::beginJob(), ConverterTester::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(), Inspector.Inspector::SetTag(), EcalEndcapMonitorModule::setup(), EEPedestalOnlineTask::setup(), EBPedestalOnlineTask::setup(), EEPedestalTask::setup(), EBPedestalTask::setup(), EETestPulseTask::setup(), EBOccupancyTask::setup(), EELaserTask::setup(), EELedTask::setup(), EcalBarrelMonitorModule::setup(), EBTestPulseTask::setup(), EBLaserTask::setup(), EBTimingTask::setup(), EEStatusFlagsTask::setup(), EBStatusFlagsTask::setup(), EBIntegrityTask::setup(), EEIntegrityTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EETriggerTowerTask::setup(), EBTriggerTowerTask::setup(), tag(), tagAllContents(), and tagContents().

1510 {
1511  if (! myTag)
1512  raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
1513  " with a zero tag", me->getFullname().c_str());
1514  if ((me->data_.flags & DQMNet::DQM_PROP_TAGGED) && myTag != me->data_.tag)
1515  raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
1516  " twice with multiple tags", me->getFullname().c_str());
1517 
1518  me->data_.tag = myTag;
1520 }
uint32_t flags
Definition: DQMNet.h:97
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
uint32_t tag
Definition: DQMNet.h:98
const std::string getFullname(void) const
get full name of ME including Pathname
DQMNet::CoreObject data_
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
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 1524 of file DQMStore.cc.

References dir, findObject(), mergeVDriftHistosByStation::name, raiseDQMError(), splitPath(), AlCaHLTBitMon_QueryRunRegistry::string, and tag().

Referenced by Inspector.Inspector::SetTag().

1525 {
1526  std::string dir;
1527  std::string name;
1528  splitPath(dir, name, path);
1529 
1530  if (MonitorElement *me = findObject(dir, name))
1531  tag(me, myTag);
1532  else
1533  raiseDQMError("DQMStore", "Attempt to tag non-existent monitor element"
1534  " '%s' with tag %u", path.c_str(), myTag);
1535 
1536 }
MonitorElement * findObject(const std::string &dir, const std::string &name, const uint32_t run=0, const uint32_t lumi=0, const uint32_t streamId=0, const uint32_t moduleId=0) const
Definition: DQMStore.cc:1753
static void splitPath(std::string &dir, std::string &name, const std::string &path)
Definition: DQMStore.cc:88
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
dbl *** dir
Definition: mlp_gen.cc:35
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
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 1552 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), data_, alignCSCRings::e, i, isSubdirectory(), AlCaHLTBitMon_QueryRunRegistry::string, and tag().

1553 {
1555  const std::string *cleaned = 0;
1556  cleanTrailingSlashes(path, clean, cleaned);
1557  MonitorElement proto(cleaned, std::string());
1558 
1559  // FIXME: WILDCARDS? Old one supported them, but nobody seemed to use them.
1560  MEMap::iterator e = data_.end();
1561  MEMap::iterator i = data_.lower_bound(proto);
1562  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
1563  {
1564  tag(const_cast<MonitorElement *>(&*i), myTag);
1565  ++i;
1566  }
1567 }
int i
Definition: DBlmapReader.cc:9
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:606
void DQMStore::tagContents ( const std::string &  path,
unsigned int  myTag 
)

tag all children of folder (does NOT include subfolders)

Definition at line 1540 of file DQMStore.cc.

References data_, alignCSCRings::e, i, AlCaHLTBitMon_QueryRunRegistry::string, and tag().

Referenced by DQMSourceExample::beginJob(), and HLXMonitor::SetupHists().

1541 {
1542  MonitorElement proto(&path, std::string());
1543  MEMap::iterator e = data_.end();
1544  MEMap::iterator i = data_.lower_bound(proto);
1545  for ( ; i != e && path == *i->data_.dirname; ++i)
1546  tag(const_cast<MonitorElement *>(&*i), myTag);
1547 }
int i
Definition: DBlmapReader.cc:9
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1509
MEMap data_
Definition: DQMStore.h:606
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 2829 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), raiseDQMError(), s_safe, AlCaHLTBitMon_QueryRunRegistry::string, and useQTestByMatch().

Referenced by createMeanValueTest(), createXRangeTest(), and createYRangeTest().

2830 {
2831  // Clean the path
2833  const std::string *cleaned = 0;
2834  cleanTrailingSlashes(dir, clean, cleaned);
2835 
2836  // Validate the path.
2837  if (cleaned->find_first_not_of(s_safe) != std::string::npos)
2838  raiseDQMError("DQMStore", "Monitor element path name '%s'"
2839  " uses unacceptable characters", cleaned->c_str());
2840 
2841  // Redirect to the pattern match version.
2842  useQTestByMatch(*cleaned + "/*", qtname);
2843 }
static const std::string s_safe
Definition: DQMStore.cc:50
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
std::vector< T * > clean
Definition: MVATrainer.cc:156
int useQTestByMatch(const std::string &pattern, const std::string &qtname)
attach quality test &lt;qc&gt; to monitor elements matching &lt;pattern&gt;.
Definition: DQMStore.cc:2847
dbl *** dir
Definition: mlp_gen.cc:35
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
int DQMStore::useQTestByMatch ( const std::string &  pattern,
const std::string &  qtname 
)

attach quality test <qc> to monitor elements matching <pattern>.

Definition at line 2847 of file DQMStore.cc.

References MonitorElement::addQReport(), data_, getQCriterion(), mergePath(), getHLTPrescaleColumns::path, qtestspecs_, raiseDQMError(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by QTestHandle::attachTests(), and useQTest().

2848 {
2849  QCriterion *qc = getQCriterion(qtname);
2850  if (! qc)
2851  raiseDQMError("DQMStore", "Cannot apply non-existent quality test '%s'",
2852  qtname.c_str());
2853 
2854  fastmatch * fm = new fastmatch( pattern );
2855 
2856  // Record the test for future reference.
2857  QTestSpec qts(fm, qc);
2858  qtestspecs_.push_back(qts);
2859 
2860  // Apply the quality test.
2861  MEMap::iterator mi = data_.begin();
2862  MEMap::iterator me = data_.end();
2863  std::string path;
2864  int cases = 0;
2865  for ( ; mi != me; ++mi)
2866  {
2867  path.clear();
2868  mergePath(path, *mi->data_.dirname, mi->data_.objname);
2869  if (fm->match(path))
2870  {
2871  ++cases;
2872  const_cast<MonitorElement &>(*mi).addQReport(qts.second);
2873  }
2874  }
2875 
2876  //return the number of matched cases
2877  return cases;
2878 }
QCriterion * getQCriterion(const std::string &qtname) const
Definition: DQMStore.cc:2797
std::pair< fastmatch *, QCriterion * > QTestSpec
Definition: DQMStore.h:588
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
QTestSpecs qtestspecs_
Definition: DQMStore.h:611
MEMap data_
Definition: DQMStore.h:606
void addQReport(const DQMNet::QValue &desc, QCriterion *qc)
Add quality report, from DQMStore.
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11

Friends And Related Function Documentation

friend class DQMArchiver
friend

Definition at line 619 of file DQMStore.h.

friend class DQMNet
friend

Definition at line 618 of file DQMStore.h.

friend class DQMService
friend

Definition at line 617 of file DQMStore.h.

friend class DQMStoreExample
friend

Definition at line 620 of file DQMStore.h.

friend class edm::DQMHttpSource
friend

Definition at line 616 of file DQMStore.h.

Member Data Documentation

std::mutex DQMStore::book_mutex_
private
bool DQMStore::collateHistograms_
private

Definition at line 598 of file DQMStore.h.

Referenced by book(), bookFloat(), bookInt(), bookString(), extract(), initializeFrom(), isCollate(), and load().

MEMap DQMStore::data_
private
std::set<std::string> DQMStore::dirs_
private

Definition at line 607 of file DQMStore.h.

Referenced by book(), dirExists(), getAllTags(), getContents(), getSubdirs(), makeDirectory(), rmdir(), and save().

bool DQMStore::enableMultiThread_
private

Definition at line 599 of file DQMStore.h.

Referenced by bookTransaction(), and initializeFrom().

IBooker* DQMStore::ibooker_
private

Definition at line 614 of file DQMStore.h.

Referenced by bookTransaction(), and DQMStore().

uint32_t DQMStore::moduleId_
private

Definition at line 603 of file DQMStore.h.

Referenced by book(), and bookTransaction().

DQMStore::pwd_
private
DQMStore::qalgos_
private

Set of all the available quality test algorithms.

Definition at line 610 of file DQMStore.h.

Referenced by createQTest(), and initializeFrom().

DQMStore::qtests_
private

All the quality tests.

Definition at line 609 of file DQMStore.h.

Referenced by createQTest(), getQCriterion(), and ~DQMStore().

QTestSpecs DQMStore::qtestspecs_
private

Definition at line 611 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 600 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 596 of file DQMStore.h.

Referenced by forceReset(), reset(), and runQTests().

uint32_t DQMStore::run_
private

Definition at line 601 of file DQMStore.h.

Referenced by book(), and bookTransaction().

double DQMStore::scaleFlag_
private

Definition at line 597 of file DQMStore.h.

Referenced by initializeFrom(), and scaleElements().

uint32_t DQMStore::streamId_
private

Definition at line 602 of file DQMStore.h.

Referenced by book(), and bookTransaction().

DQMStore::verbose_
private
DQMStore::verboseQT_
private

Verbose flag for xml-based QTests.

Definition at line 595 of file DQMStore.h.

Referenced by createQTest(), and initializeFrom().