CMS 3D CMS Logo

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

#include <DQMStore.h>

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...
 
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) 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 load (const std::string &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
 
bool open (const std::string &filename, bool overwrite=false, const std::string &path="", const std::string &prepend="", OpenRunDirs stripdirs=KeepRunDirs, bool fileMustExist=true)
 
const std::string & pwd (void) const
 
void removeContents (void)
 erase all monitoring elements in current directory (not including subfolders); 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="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
 
void setCurrentFolder (const std::string &fullpath)
 
void setVerbose (unsigned level)
 
void showDirStructure (void) const
 
void softReset (MonitorElement *me)
 
void tag (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
 
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

bool collateHistograms_
 
MEMap data_
 
std::set< std::string > dirs_
 
std::string pwd_
 
QAMap qalgos_
 
QCMap qtests_
 
QTestSpecs qtestspecs_
 
std::string readSelectedDirectory_
 
bool reset_
 
unsigned verbose_
 
unsigned verboseQT_
 

Friends

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

Detailed Description

Definition at line 67 of file DQMStore.h.

Member Typedef Documentation

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

Definition at line 446 of file DQMStore.h.

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

Definition at line 448 of file DQMStore.h.

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

Definition at line 447 of file DQMStore.h.

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

Definition at line 444 of file DQMStore.h.

Definition at line 445 of file DQMStore.h.

Member Enumeration Documentation

Enumerator
KeepRunDirs 
StripRunDirs 

Definition at line 76 of file DQMStore.h.

Enumerator
SaveWithoutReference 
SaveWithReference 
SaveWithReferenceForQTest 

Definition at line 70 of file DQMStore.h.

Constructor & Destructor Documentation

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

Definition at line 259 of file DQMStore.cc.

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

260  : verbose_ (1),
261  verboseQT_ (1),
262  reset_ (false),
263  collateHistograms_ (false),
265  pwd_ ("")
266 {
267  initializeFrom(pset);
268  if(pset.getUntrackedParameter<bool>("forceResetOnBeginRun",false)) {
270  }
271 }
T getUntrackedParameter(std::string const &, T const &) const
bool reset_
Definition: DQMStore.h:452
void initializeFrom(const edm::ParameterSet &)
Definition: DQMStore.cc:295
void forceReset(void)
Definition: DQMStore.cc:1751
unsigned verboseQT_
Definition: DQMStore.h:451
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
std::string pwd_
Definition: DQMStore.h:456
std::string readSelectedDirectory_
Definition: DQMStore.h:454
unsigned verbose_
Definition: DQMStore.h:450
bool collateHistograms_
Definition: DQMStore.h:453
DQMStore::DQMStore ( const edm::ParameterSet pset)

Definition at line 273 of file DQMStore.cc.

References initializeFrom().

274  : verbose_ (1),
275  verboseQT_ (1),
276  reset_ (false),
277  collateHistograms_ (false),
279  pwd_ ("")
280 {
281  initializeFrom(pset);
282 }
bool reset_
Definition: DQMStore.h:452
void initializeFrom(const edm::ParameterSet &)
Definition: DQMStore.cc:295
unsigned verboseQT_
Definition: DQMStore.h:451
std::string pwd_
Definition: DQMStore.h:456
std::string readSelectedDirectory_
Definition: DQMStore.h:454
unsigned verbose_
Definition: DQMStore.h:450
bool collateHistograms_
Definition: DQMStore.h:453
DQMStore::~DQMStore ( void  )

Definition at line 284 of file DQMStore.cc.

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

285 {
286  for (QCMap::iterator i = qtests_.begin(), e = qtests_.end(); i != e; ++i)
287  delete i->second;
288 
289  for (QTestSpecs::iterator i = qtestspecs_.begin(), e = qtestspecs_.end(); i != e; ++i)
290  delete i->first;
291 
292 }
int i
Definition: DBlmapReader.cc:9
QCMap qtests_
Definition: DQMStore.h:460
QTestSpecs qtestspecs_
Definition: DQMStore.h:462
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 572 of file DQMStore.cc.

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

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

575 {
576  assert(name.find('/') == std::string::npos);
577  if (verbose_ > 3)
578  print_trace(dir, name);
579 
580  // Check if the request monitor element already exists.
581  if (MonitorElement *me = findObject(dir, name))
582  {
583  if (verbose_ > 1)
584  {
585  std::string path;
586  mergePath(path, dir, name);
587 
588  std::cout << "DQMStore: "
589  << context << ": monitor element '"
590  << path << "' already exists, resetting" << std::endl;
591  }
592  me->Reset();
593  return me;
594  }
595  else
596  {
597  // Create it and return for initialisation.
598  assert(dirs_.count(dir));
599  MonitorElement nme(&*dirs_.find(dir), name);
600  return &const_cast<MonitorElement &>(*data_.insert(nme).first);
601  }
602 }
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
list path
Definition: scaleCards.py:51
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
unsigned verbose_
Definition: DQMStore.h:450
MEMap data_
Definition: DQMStore.h:457
void print_trace(const std::string &dir, const std::string &name)
Definition: DQMStore.cc:342
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
std::set< std::string > dirs_
Definition: DQMStore.h:458
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 501 of file DQMStore.cc.

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

504 {
505  assert(name.find('/') == std::string::npos);
506  if (verbose_ > 3)
507  print_trace(dir, name);
508  std::string path;
509  mergePath(path, dir, name);
510 
511  // Put us in charge of h.
512  h->SetDirectory(0);
513 
514  // Check if the request monitor element already exists.
516  if (me)
517  {
518  if (collateHistograms_)
519  {
520  collate(me, h);
521  delete h;
522  return me;
523  }
524  else
525  {
526  if (verbose_ > 1)
527  std::cout << "DQMStore: "
528  << context << ": monitor element '"
529  << path << "' already exists, collating" << std::endl;
530  me->Reset();
531  collate(me, h);
532  delete h;
533  return me;
534  }
535  }
536  else
537  {
538  // Create and initialise core object.
539  assert(dirs_.count(dir));
540  MonitorElement proto(&*dirs_.find(dir), name);
541  me = const_cast<MonitorElement &>(*data_.insert(proto).first)
543 
544  // Initialise quality test information.
545  QTestSpecs::iterator qi = qtestspecs_.begin();
546  QTestSpecs::iterator qe = qtestspecs_.end();
547  for ( ; qi != qe; ++qi)
548  {
549  if ( qi->first->match(path) )
550  me->addQReport(qi->second);
551  }
552 
553  // Assign reference if we have one.
554  std::string refdir;
555  refdir.reserve(s_referenceDirName.size() + dir.size() + 2);
556  refdir += s_referenceDirName;
557  refdir += '/';
558  refdir += dir;
559 
560  if (MonitorElement *refme = findObject(refdir, name))
561  {
562  me->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
563  me->reference_ = refme->object_;
564  }
565 
566  // Return the monitor element.
567  return me;
568  }
569 }
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
static std::string s_referenceDirName
Definition: DQMStore.cc:48
list path
Definition: scaleCards.py:51
static const uint32_t DQM_PROP_HAS_REFERENCE
Definition: DQMNet.h:53
QTestSpecs qtestspecs_
Definition: DQMStore.h:462
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
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:450
MEMap data_
Definition: DQMStore.h:457
void print_trace(const std::string &dir, const std::string &name)
Definition: DQMStore.cc:342
tuple cout
Definition: gather_cfg.py:121
dbl *** dir
Definition: mlp_gen.cc:35
std::set< std::string > dirs_
Definition: DQMStore.h:458
bool collateHistograms_
Definition: DQMStore.h:453
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 717 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), BeamMonitor::analyze(), XmasToDQMSource::analyze(), FourVectorHLT::analyze(), ecaldqm::MESetChannel::append_(), DQMHOAlCaRecoStream::beginJob(), RPCMonitorLinkSynchro::beginJob(), RPCMonitorRaw::beginJob(), PFTester::beginJob(), L1Scalers::beginJob(), MonitorLTC::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), DQMSourceExample::beginJob(), L1TGCTClient::beginJob(), SiStripMonitorFilter::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), TrackAnalyzer::beginJob(), L1EmulatorErrorFlagClient::beginJob(), TkAlCaRecoMonitor::beginJob(), EgammaBasicClusters::beginJob(), SiStripMonitorHLT::beginJob(), DQMSourceEleCalib::beginJob(), HLTMonHcalIsoTrack::beginJob(), BxTiming::beginJob(), L1TDTTFClient::beginJob(), dEdxAnalyzer::beginJob(), MuonRecoOneHLT::beginJob(), DQMFEDIntegrityClient::beginJob(), EgammaSuperClusters::beginJob(), HLTMonBitSummary::beginJob(), L1TdeGCT::beginJob(), DiMuonHistograms::beginJob(), EfficiencyAnalyzer::beginJob(), BeamConditionsMonitor::beginJob(), QcdHighPtDQM::beginJob(), HcalSimHitStudy::beginJob(), SimHitsValidationHcal::beginJob(), ZdcSimHitStudy::beginJob(), L1TDEMON::beginJob(), AlcaBeamMonitor::beginJob(), VVVValidation::beginJob(), HLTMonPhotonClient::beginJob(), VertexMonitor::beginJob(), HLTMonPhotonSource::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), SegmentTrackAnalyzer::beginJob(), BeamMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), TrackingMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), DrellYanValidation::beginJob(), TrackSplittingMonitor::beginJob(), WValidation::beginJob(), PFJetAnalyzer::beginJob(), HiggsValidation::beginJob(), HTMHTAnalyzer::beginJob(), GlobalTest::beginJob(), BasicGenParticleValidation::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), L1TDTTF::beginJob(), JetPtAnalyzer::beginJob(), DQMClientExample::beginJob(), TrackEfficiencyMonitor::beginJob(), TrackEfficiencyClient::beginJob(), L1TDTTPG::beginJob(), MuCorrMETAnalyzer::beginJob(), TcMETAnalyzer::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DuplicationChecker::beginJob(), HLTAlCaMonPi0::beginJob(), DQMSourcePi0::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), TopDiLeptonDQM::beginJob(), ElectronConversionRejectionValidator::beginJob(), SiStripFEDCheckPlugin::beginJob(), L1TLTC::beginJob(), L1TCSCTPG::beginJob(), MuonIdDQM::beginJob(), FourVectorHLT::beginJob(), HLTMonSimpleBTag::beginJob(), HLTMonElectronConsumer::beginJob(), HLTMonElectron::beginJob(), L1TFED::beginJob(), L1TRPCTF::beginJob(), TkConvValidator::beginJob(), HLTMon::beginJob(), TopHLTDiMuonDQM::beginJob(), PhotonValidator::beginJob(), MuonTrackResidualAnalyzer::beginJob(), EcalZmassTask::beginJob(), PFMETAnalyzer::beginJob(), MuonTrackAnalyzer::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), L1TdeCSCTF::beginJob(), METAnalyzer::beginJob(), TTbar_GenLepAnalyzer::beginJob(), MuonIdVal::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), TTbar_GenJetAnalyzer::beginJob(), L1TCSCTF::beginJob(), TauValidation::beginJob(), TTbar_Kinematics::beginJob(), L1TRPCTPG::beginJob(), EmDQMReco::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), Vx3DHLTAnalyzer::beginJob(), TauTagValidation::beginJob(), MuonAlignment::beginJob(), RPCTTUMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), HLTScalers::beginJob(), TopValidation::beginJob(), PiZeroAnalyzer::beginJob(), L1TRCT::beginJob(), CastorMonitorModule::beginJob(), TrigResRateMon::beginJob(), EgHLTOfflineSource::beginJob(), PhotonAnalyzer::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), L1TdeRCT::beginJob(), L1TGCT::beginJob(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), HcalRecHitClient::beginRun(), HcalSummaryClient::beginRun(), CaloTowerAnalyzer::beginRun(), RPCBxTest::beginRun(), RPCOccupancyTest::beginRun(), RPCRecHitValid::beginRun(), RPCDcsInfo::beginRun(), RPCRecHitProbability::beginRun(), RPCMonitorDigi::beginRun(), METTester::beginRun(), AlcaBeamMonitor::beginRun(), DQMDcsInfo::beginRun(), HLTMonBitSummary::beginRun(), RPCMultiplicityTest::beginRun(), DTnoiseDBValidation::beginRun(), RPCClusterSizeTest::beginRun(), DQMProvInfo::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), RPCEfficiencyShiftHisto::beginRun(), L1TOccupancyClient::beginRun(), MuonAlignmentSummary::beginRun(), SiPixelTrackResidualSource::beginRun(), HLTJetMETDQMSource::beginRun(), SiStripMonitorRawData::beginRun(), GeneralHLTOffline::beginRun(), HLTInclusiveVBFSource::beginRun(), TriggerValidator::beginRun(), BTagHLTOfflineSource::beginRun(), HLTJetMETValidation::beginRun(), EcalZmassClient::beginRun(), JetMETHLTOfflineSource::beginRun(), HLTOfflineReproducibility::beginRun(), FourVectorHLTOnline::beginRun(), V0Validator::beginRun(), TrigResRateMon::beginRun(), FourVectorHLTriggerOffline::beginRun(), MuonTrackValidator::beginRun(), FourVectorHLTOffline::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), SiPixelHitEfficiencyModule::book(), SiPixelTrackResidualModule::book(), HLTMonBTagIPSource::book(), HLTMonBTagMuSource::book(), HLTMonBTagClient::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), MEtoMEComparitor::book(), HistoProviderDQM::book1D(), QcdUeDQM::book1D(), HLTMuonMatchAndPlot::book1D(), QcdLowPtDQM::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(), RPCMonitorSync::bookDetUnitME(), 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(), L1TGT::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkMuTauHistManager::bookHistograms(), CentralityDQM::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDCSByLumiTask::bookHistos(), PlotMakerL1::bookHistos(), DTNoiseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerReco::bookHistos(), DTLocalTriggerTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), HiggsDQM::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), 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(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CaloJetTesterUnCorr_HeavyIons::CaloJetTesterUnCorr_HeavyIons(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), HTrackVariables::computeEfficiency(), HcalTrigPrimMonitor::create_et_histogram(), PFClient::createEfficiencyPlots(), MonitorTrackResiduals::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), CSCWireDigiValidation::CSCWireDigiValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), DQMHcalIsoTrackPostProcessor::endJob(), HarvestingAnalyzer::endJob(), BTagValidator::endJob(), HLTScalersClient::endLuminosityBlock(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCRecHitValidClient::endRun(), AlcaBeamMonitorClient::endRun(), DQMDcsInfoClient::endRun(), TauDQMHistEffProducer::endRun(), GlobalHitsProdHistStripper::endRun(), FourVectorHLTClient::endRun(), extract(), SiStripQualityDQM::fillGrandSummaryMEs(), EgHLTOfflineClient::FillHLTvsOfflineHist(), SiPixelActionExecutor::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), 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(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EwkMuDQM::init_histograms(), EwkElecDQM::init_histograms(), EwkMuLumiMonitorDQM::init_histograms(), MuonIsolationDQM::InitHistos(), MuIsoValidation::InitHistos(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), evf::iDie::initMonitorElementsDatasets(), evf::iDie::initMonitorElementsStreams(), LaserDQM::initMonitors(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), EgHLTOfflineClient::makeEffMonElem2Leg(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook1D(), RivetAnalyzer::normalizeTree(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), CastorRecHitPerChan::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), FastTimerService::preBeginRun(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), BTagHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), CastorHIMonitor::setup(), CastorRecHitMonitor::setup(), CastorDataIntegrityMonitor::setup(), HcalNZSMonitor::setup(), CastorPSMonitor::setup(), HcalNoiseMonitor::setup(), CastorDigiMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalRecHitMonitor::setup(), CastorTowerJetMonitor::setup(), HcalBeamMonitor::setup(), HcalDetDiagLEDMonitor::setup(), HcalDataIntegrityTask::setup(), HcalHotCellMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDeadCellMonitor::setup(), CastorLEDMonitor::setup(), EcalEndcapMonitorModule::setup(), HcalEEUSMonitor::setup(), HcalZDCMonitor::setup(), EECosmicTask::setup(), EBClusterTask::setup(), EBCosmicTask::setup(), EEClusterTask::setup(), EBOccupancyTask::setup(), EcalBarrelMonitorModule::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), HcalRawDataMonitor::setup(), EESummaryClient::setup(), EBRawDataTask::setup(), EBSummaryClient::setup(), EBStatusFlagsTask::setup(), EEStatusFlagsTask::setup(), EERawDataTask::setup(), EBIntegrityTask::setup(), EEIntegrityTask::setup(), EEHltTask::setup(), EETimingTask::setup(), EBHltTask::setup(), EEOccupancyTask::setup(), EBLaserClient::setup(), EELaserClient::setup(), EELedClient::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EBPedestalOnlineClient::setup(), EBTestPulseClient::setup(), EEPedestalClient::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), ZDCMonitorModule::setup(), HcalMonitorModule::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EETriggerTowerTask::setup(), EBTriggerTowerTask::setup(), HcalDetDiagTimingMonitor::setup(), HcalBaseMonitor::setupDepthHists1D(), HLXMonitor::SetupHists(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupHltMatrix(), FourVectorHLTOffline::setupHltMatrix(), TopElectronHLTOfflineSource::EleMEs::setupMESet(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), and TrigResRateMon::TrigResRateMon().

719 {
720  return book1D(pwd_, name, new TH1F(name, title, nchX, lowX, highX));
721 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1D histogram.

Definition at line 725 of file DQMStore.cc.

References book1D(), and pwd_.

727 {
728  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, lowX, highX));
729 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 765 of file DQMStore.cc.

References book1D(), and pwd_.

767 {
768  return book1D(pwd_, name, new TH1F(name, title, nchX, xbinsize));
769 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 773 of file DQMStore.cc.

References book1D(), and pwd_.

775 {
776  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, xbinsize));
777 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const char *  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 781 of file DQMStore.cc.

References book1D(), and pwd_.

782 {
783  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name)));
784 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const std::string &  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 788 of file DQMStore.cc.

References book1D(), and pwd_.

789 {
790  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name.c_str())));
791 }
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1D ( const std::string &  dir,
const std::string &  name,
TH1F *  h 
)
private

Book 1D histogram based on TH1F.

Definition at line 696 of file DQMStore.cc.

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

697 {
698  return book(dir, name, "book1D", MonitorElement::DQM_KIND_TH1F, h, collate1D);
699 }
static void collate1D(MonitorElement *me, TH1F *h)
Definition: DQMStore.cc:1281
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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 749 of file DQMStore.cc.

References pwd_.

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

751 {
752  return book1DD(pwd_, name, new TH1D(name, title, nchX, lowX, highX));
753 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:749
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1DD ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 757 of file DQMStore.cc.

References book1DD(), and pwd_.

759 {
760  return book1DD(pwd_, name, new TH1D(name.c_str(), title.c_str(), nchX, lowX, highX));
761 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:749
std::string pwd_
Definition: DQMStore.h:456
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 809 of file DQMStore.cc.

References book1DD(), and pwd_.

810 {
811  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name)));
812 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:749
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1DD ( const std::string &  name,
TH1D *  h 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 816 of file DQMStore.cc.

References book1DD(), and pwd_.

817 {
818  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name.c_str())));
819 }
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:749
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book1DD ( const std::string &  dir,
const std::string &  name,
TH1D *  h 
)
private

Book 1D histogram based on TH1D.

Definition at line 710 of file DQMStore.cc.

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

711 {
712  return book(dir, name, "book1DD", MonitorElement::DQM_KIND_TH1D, h, collate1DD);
713 }
static void collate1DD(MonitorElement *me, TH1D *h)
Definition: DQMStore.cc:1295
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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 733 of file DQMStore.cc.

References pwd_.

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

735 {
736  return book1S(pwd_, name, new TH1S(name, title, nchX, lowX, highX));
737 }
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:733
MonitorElement * DQMStore::book1S ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 741 of file DQMStore.cc.

References book1S(), and pwd_.

743 {
744  return book1S(pwd_, name, new TH1S(name.c_str(), title.c_str(), nchX, lowX, highX));
745 }
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:733
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 795 of file DQMStore.cc.

References book1S(), and pwd_.

796 {
797  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name)));
798 }
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:733
MonitorElement * DQMStore::book1S ( const std::string &  name,
TH1S *  h 
)

Book 1S histogram by cloning an existing histogram.

Definition at line 802 of file DQMStore.cc.

References book1S(), and pwd_.

803 {
804  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name.c_str())));
805 }
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * book1S(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:733
MonitorElement * DQMStore::book1S ( const std::string &  dir,
const std::string &  name,
TH1S *  h 
)
private

Book 1D histogram based on TH1S.

Definition at line 703 of file DQMStore.cc.

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

704 {
705  return book(dir, name, "book1S", MonitorElement::DQM_KIND_TH1S, h, collate1S);
706 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
static void collate1S(MonitorElement *me, TH1S *h)
Definition: DQMStore.cc:1288
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 845 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), FourVectorHLT::analyze(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), RPCMonitorLinkSynchro::beginJob(), RPCMonitorRaw::beginJob(), L1Scalers::beginJob(), DQMSourceExample::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), EgammaBasicClusters::beginJob(), RPCDaqInfo::beginJob(), TkAlCaRecoMonitor::beginJob(), HLTMonHcalIsoTrack::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), DQMSourceEleCalib::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), L1TDTTFClient::beginJob(), L1TDTTPGClient::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), EEDaqInfoTask::beginJob(), EEDataCertificationTask::beginJob(), HLTMonBitSummary::beginJob(), DQMFEDIntegrityClient::beginJob(), EEDcsInfoTask::beginJob(), EgammaSuperClusters::beginJob(), EBDataCertificationTask::beginJob(), ZdcSimHitStudy::beginJob(), L1TdeGCT::beginJob(), QcdHighPtDQM::beginJob(), HLTEventInfoClient::beginJob(), HLTMonPhotonSource::beginJob(), L1TDEMON::beginJob(), DTDataIntegrityTest::beginJob(), MuonRecoAnalyzer::beginJob(), DTBlockedROChannelsTest::beginJob(), BeamMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), TrackingMonitor::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonSeedsAnalyzer::beginJob(), PFJetAnalyzer::beginJob(), ConverterTester::beginJob(), L1TDTTF::beginJob(), JetPtAnalyzer::beginJob(), L1TDTTPG::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), HcalDataCertification::beginJob(), TopDiLeptonDQM::beginJob(), HcalDCSInfo::beginJob(), L1TLTC::beginJob(), HLTMonSimpleBTag::beginJob(), HcalDAQInfo::beginJob(), FourVectorHLT::beginJob(), HLTMonElectron::beginJob(), LogMessageMonitor::beginJob(), HLTMon::beginJob(), TkConvValidator::beginJob(), L1TRPCTF::beginJob(), TopHLTDiMuonDQM::beginJob(), PhotonValidator::beginJob(), MuonTrackResidualAnalyzer::beginJob(), MuonTrackAnalyzer::beginJob(), L1TdeCSCTF::beginJob(), MuonIdVal::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1TCSCTF::beginJob(), TTbar_Kinematics::beginJob(), EmDQMReco::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), Vx3DHLTAnalyzer::beginJob(), MuonAlignment::beginJob(), L1TCompare::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), L1TRCT::beginJob(), CastorMonitorModule::beginJob(), L1TdeRCT::beginJob(), L1TGCT::beginJob(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), HcalDigiClient::beginRun(), HcalBeamClient::beginRun(), HcalHotCellClient::beginRun(), HcalNZSClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitClient::beginRun(), HcalSummaryClient::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), HcalRawDataClient::beginRun(), RPCOccupancyTest::beginRun(), CaloTowerAnalyzer::beginRun(), RPCEventSummary::beginRun(), RPCRecHitProbability::beginRun(), DTOfflineSummaryClients::beginRun(), RPCDeadChannelTest::beginRun(), RPCMultiplicityTest::beginRun(), RPCClusterSizeTest::beginRun(), DQMProvInfo::beginRun(), ZDCMonitorClient::beginRun(), RPCEfficiencyShiftHisto::beginRun(), L1TOccupancyClient::beginRun(), DTSummaryClients::beginRun(), MuonAlignmentSummary::beginRun(), SiPixelTrackResidualSource::beginRun(), HLTJetMETDQMSource::beginRun(), HLTInclusiveVBFSource::beginRun(), EcalBarrelMonitorClient::beginRun(), EcalEndcapMonitorClient::beginRun(), BTagHLTOfflineSource::beginRun(), SiPixelClusterSource::beginRun(), JetMETHLTOfflineSource::beginRun(), HLTOfflineReproducibility::beginRun(), FourVectorHLTOnline::beginRun(), FourVectorHLTriggerOffline::beginRun(), MuonTrackValidator::beginRun(), FourVectorHLTOffline::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), HLTMonBTagIPSource::book(), HLTMonBTagMuSource::book(), HLTMonBTagClient::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book2D(), QcdUeDQM::book2D(), HLTMuonMatchAndPlot::book2D(), QcdLowPtDQM::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(), DTnoiseDBValidation::bookHisto(), RPCValidHistograms::bookHistograms(), L1TGT::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTNoiseTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::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(), SiPixelActionExecutor::bookTrackerMaps(), 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(), SiStripMonitorCluster::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), CSCRecHit2DValidation::CSCRecHit2DValidation(), dqmRegisterHistogram(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), BTagValidator::endJob(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), DataCertificationJetMET::endRun(), FourVectorHLTClient::endRun(), PhotonDataCertification::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(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), EwkElecDQM::init_histograms(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), evf::iDie::initMonitorElements(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook2D(), RecoMuonValidator::RecoMuonValidator(), BTagHLTOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), CastorRecHitMonitor::setup(), CastorDataIntegrityMonitor::setup(), CastorPSMonitor::setup(), HcalNoiseMonitor::setup(), EtaPhiHists::setup(), HcalCaloTowerMonitor::setup(), HcalRecHitMonitor::setup(), HcalBeamMonitor::setup(), HcalDetDiagLEDMonitor::setup(), CastorChannelQualityMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDeadCellMonitor::setup(), EcalEndcapMonitorModule::setup(), HcalEEUSMonitor::setup(), HcalZDCMonitor::setup(), EBOccupancyTask::setup(), EEClusterTask::setup(), EBClusterTask::setup(), EcalBarrelMonitorModule::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), HcalRawDataMonitor::setup(), EBSummaryClient::setup(), EEStatusFlagsTask::setup(), EESummaryClient::setup(), EBStatusFlagsTask::setup(), EEIntegrityTask::setup(), EBIntegrityTask::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EELaserClient::setup(), EBTimingClient::setup(), EELedClient::setup(), EBLaserClient::setup(), EBTestPulseClient::setup(), EETestPulseClient::setup(), EEIntegrityClient::setup(), EBPedestalClient::setup(), EBIntegrityClient::setup(), EEPedestalOnlineClient::setup(), EEPedestalClient::setup(), EBPedestalOnlineClient::setup(), EETriggerTowerClient::setup(), EBTriggerTowerClient::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HcalDetDiagTimingMonitor::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().

848 {
849  return book2D(pwd_, name, new TH2F(name, title,
850  nchX, lowX, highX,
851  nchY, lowY, highY));
852 }
std::string pwd_
Definition: DQMStore.h:456
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:845
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 856 of file DQMStore.cc.

References book2D(), and pwd_.

859 {
860  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(),
861  nchX, lowX, highX,
862  nchY, lowY, highY));
863 }
std::string pwd_
Definition: DQMStore.h:456
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:845
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 911 of file DQMStore.cc.

References book2D(), and pwd_.

913 {
914  return book2D(pwd_, name, new TH2F(name, title,
915  nchX, xbinsize, nchY, ybinsize));
916 }
std::string pwd_
Definition: DQMStore.h:456
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:845
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 920 of file DQMStore.cc.

References book2D(), and pwd_.

922 {
923  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(),
924  nchX, xbinsize, nchY, ybinsize));
925 }
std::string pwd_
Definition: DQMStore.h:456
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:845
MonitorElement * DQMStore::book2D ( const char *  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 929 of file DQMStore.cc.

References book2D(), and pwd_.

930 {
931  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name)));
932 }
std::string pwd_
Definition: DQMStore.h:456
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:845
MonitorElement * DQMStore::book2D ( const std::string &  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 936 of file DQMStore.cc.

References book2D(), and pwd_.

937 {
938  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name.c_str())));
939 }
std::string pwd_
Definition: DQMStore.h:456
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:845
MonitorElement * DQMStore::book2D ( const std::string &  dir,
const std::string &  name,
TH2F *  h 
)
private

Book 2D histogram based on TH2F.

Definition at line 824 of file DQMStore.cc.

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

825 {
826  return book(dir, name, "book2D", MonitorElement::DQM_KIND_TH2F, h, collate2D);
827 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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:1302
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 889 of file DQMStore.cc.

References pwd_.

Referenced by book2DD(), extract(), and EDMtoMEConverter::getData().

892 {
893  return book2DD(pwd_, name, new TH2D(name, title,
894  nchX, lowX, highX,
895  nchY, lowY, highY));
896 }
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:889
std::string pwd_
Definition: DQMStore.h:456
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 900 of file DQMStore.cc.

References book2DD(), and pwd_.

903 {
904  return book2DD(pwd_, name, new TH2D(name.c_str(), title.c_str(),
905  nchX, lowX, highX,
906  nchY, lowY, highY));
907 }
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:889
std::string pwd_
Definition: DQMStore.h:456
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 957 of file DQMStore.cc.

References book2DD(), and pwd_.

958 {
959  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name)));
960 }
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:889
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book2DD ( const std::string &  name,
TH2D *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 964 of file DQMStore.cc.

References book2DD(), and pwd_.

965 {
966  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name.c_str())));
967 }
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:889
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book2DD ( const std::string &  dir,
const std::string &  name,
TH2D *  h 
)
private

Book 2D histogram based on TH2D.

Definition at line 838 of file DQMStore.cc.

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

839 {
840  return book(dir, name, "book2DD", MonitorElement::DQM_KIND_TH2D, h, collate2DD);
841 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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:1316
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 867 of file DQMStore.cc.

References pwd_.

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

870 {
871  return book2S(pwd_, name, new TH2S(name, title,
872  nchX, lowX, highX,
873  nchY, lowY, highY));
874 }
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:867
std::string pwd_
Definition: DQMStore.h:456
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 878 of file DQMStore.cc.

References book2S(), and pwd_.

881 {
882  return book2S(pwd_, name, new TH2S(name.c_str(), title.c_str(),
883  nchX, lowX, highX,
884  nchY, lowY, highY));
885 }
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:867
std::string pwd_
Definition: DQMStore.h:456
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 943 of file DQMStore.cc.

References book2S(), and pwd_.

944 {
945  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name)));
946 }
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:867
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book2S ( const std::string &  name,
TH2S *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 950 of file DQMStore.cc.

References book2S(), and pwd_.

951 {
952  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name.c_str())));
953 }
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:867
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book2S ( const std::string &  dir,
const std::string &  name,
TH2S *  h 
)
private

Book 2D histogram based on TH2S.

Definition at line 831 of file DQMStore.cc.

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

832 {
833  return book(dir, name, "book2S", MonitorElement::DQM_KIND_TH2S, h, collate2S);
834 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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:1309
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 979 of file DQMStore.cc.

References pwd_.

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

983 {
984  return book3D(pwd_, name, new TH3F(name, title,
985  nchX, lowX, highX,
986  nchY, lowY, highY,
987  nchZ, lowZ, highZ));
988 }
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:979
std::string pwd_
Definition: DQMStore.h:456
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 992 of file DQMStore.cc.

References book3D(), and pwd_.

996 {
997  return book3D(pwd_, name, new TH3F(name.c_str(), title.c_str(),
998  nchX, lowX, highX,
999  nchY, lowY, highY,
1000  nchZ, lowZ, highZ));
1001 }
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:979
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book3D ( const char *  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 1005 of file DQMStore.cc.

References book3D(), and pwd_.

1006 {
1007  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name)));
1008 }
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:979
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book3D ( const std::string &  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 1012 of file DQMStore.cc.

References book3D(), and pwd_.

1013 {
1014  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name.c_str())));
1015 }
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:979
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::book3D ( const std::string &  dir,
const std::string &  name,
TH3F *  h 
)
private

Book 3D histogram based on TH3F.

Definition at line 972 of file DQMStore.cc.

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

973 {
974  return book(dir, name, "book3D", MonitorElement::DQM_KIND_TH3F, h, collate3D);
975 }
static void collate3D(MonitorElement *me, TH3F *h)
Definition: DQMStore.cc:1323
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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 654 of file DQMStore.cc.

References pwd_.

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

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

Book float.

Definition at line 659 of file DQMStore.cc.

References bookFloat(), and pwd_.

660 {
661  return bookFloat(pwd_, name);
662 }
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:654
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookFloat ( const std::string &  dir,
const std::string &  name 
)
private

Book float.

Definition at line 637 of file DQMStore.cc.

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

638 {
639  if (collateHistograms_)
640  {
641  if (MonitorElement *me = findObject(dir, name))
642  {
643  me->Fill(0.);
644  return me;
645  }
646  }
647 
648  return book(dir, name, "bookFloat")
650 }
MonitorElement * initialise(Kind kind)
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:453
MonitorElement * DQMStore::bookInt ( const char *  name)

Book int.

Definition at line 624 of file DQMStore.cc.

References pwd_.

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

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

Book int.

Definition at line 629 of file DQMStore.cc.

References bookInt(), and pwd_.

630 {
631  return bookInt(pwd_, name);
632 }
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * bookInt(const char *name)
Book int.
Definition: DQMStore.cc:624
MonitorElement * DQMStore::bookInt ( const std::string &  dir,
const std::string &  name 
)
private

Book int.

Definition at line 607 of file DQMStore.cc.

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

608 {
609  if (collateHistograms_)
610  {
611  if (MonitorElement *me = findObject(dir, name))
612  {
613  me->Fill(0);
614  return me;
615  }
616  }
617 
618  return book(dir, name, "bookInt")
620 }
MonitorElement * initialise(Kind kind)
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:453
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1031 of file DQMStore.cc.

References pwd_.

Referenced by TrackAnalyzer::beginJob(), DQMSourceExample::beginJob(), BxTiming::beginJob(), HcalSimHitStudy::beginJob(), ZdcSimHitStudy::beginJob(), AlcaBeamMonitor::beginJob(), VertexMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), TrackingMonitor::beginJob(), BeamMonitor::beginJob(), PFJetAnalyzer::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), LogMessageMonitor::beginJob(), L1TFED::beginJob(), TkConvValidator::beginJob(), PhotonValidator::beginJob(), SiStripLAProfileBooker::beginRun(), AlcaBeamMonitor::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(), L1TGT::bookHistograms(), TrackAnalyzer::bookHistosForState(), SiStripMonitorTrack::bookMEProfile(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), CSCMonitorModule::bookMonitorObject(), HistoProviderDQM::bookProfile(), QcdUeDQM::bookProfile(), JPTJetAnalyzer::bookProfile(), bookProfile(), HcalSubdetDigiMonitor::bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), TrigResRateMon::bookTestHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency1D(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CaloJetTesterUnCorr_HeavyIons::CaloJetTesterUnCorr_HeavyIons(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), EmDQMPostProcessor::dividehistos(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCRecHitValid::endRun(), extract(), EDMtoMEConverter::getData(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), CommissioningHistograms::histogram(), MuIsoValidation::InitHistos(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), RivetAnalyzer::normalizeTree(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), FastTimerService::preBeginRun(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCaloTowerMonitor::setup(), HcalRecHitMonitor::setup(), HcalBeamMonitor::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), EcalEndcapMonitorModule::setup(), EELaserTask::setup(), EELedTask::setup(), EEClusterTask::setup(), EBClusterTask::setup(), EBPedestalTask::setup(), EBLaserTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), EETrendTask::setup(), EcalBarrelMonitorModule::setup(), EBTrendTask::setup(), EBTestPulseTask::setup(), EBSelectiveReadoutTask::setup(), HcalRawDataMonitor::setup(), EESummaryClient::setup(), EBSummaryClient::setup(), EBTrendClient::setup(), EETrendClient::setup(), EBTimingClient::setup(), EETimingClient::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HLXMonitor::SetupHists(), and TrigResRateMon::setupHltMatrix().

1035 {
1036  return bookProfile(pwd_, name, new TProfile(name, title,
1037  nchX, lowX, highX,
1038  lowY, highY,
1039  option));
1040 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1046 of file DQMStore.cc.

References bookProfile(), and pwd_.

1050 {
1051  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1052  nchX, lowX, highX,
1053  lowY, highY,
1054  option));
1055 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1061 of file DQMStore.cc.

References bookProfile(), and pwd_.

1065 {
1066  return bookProfile(pwd_, name, new TProfile(name, title,
1067  nchX, lowX, highX,
1068  lowY, highY,
1069  option));
1070 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1076 of file DQMStore.cc.

References bookProfile(), and pwd_.

1080 {
1081  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1082  nchX, lowX, highX,
1083  lowY, highY,
1084  option));
1085 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double *  xbinsize,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1091 of file DQMStore.cc.

References bookProfile(), and pwd_.

1095 {
1096  return bookProfile(pwd_, name, new TProfile(name, title,
1097  nchX, xbinsize,
1098  lowY, highY,
1099  option));
1100 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double *  xbinsize,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1106 of file DQMStore.cc.

References bookProfile(), and pwd_.

1110 {
1111  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1112  nchX, xbinsize,
1113  lowY, highY,
1114  option));
1115 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double *  xbinsize,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1121 of file DQMStore.cc.

References bookProfile(), and pwd_.

1125 {
1126  return bookProfile(pwd_, name, new TProfile(name, title,
1127  nchX, xbinsize,
1128  lowY, highY,
1129  option));
1130 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double *  xbinsize,
double  lowY,
double  highY,
const char *  option = "s" 
)

Book variable bin profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile::BuildOptions). The number of channels in Y is disregarded in a profile plot.

Definition at line 1136 of file DQMStore.cc.

References bookProfile(), and pwd_.

1140 {
1141  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
1142  nchX, xbinsize,
1143  lowY, highY,
1144  option));
1145 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const char *  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 1149 of file DQMStore.cc.

References bookProfile(), and pwd_.

1150 {
1151  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name)));
1152 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 1156 of file DQMStore.cc.

References bookProfile(), and pwd_.

1157 {
1158  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name.c_str())));
1159 }
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:1031
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookProfile ( const std::string &  dir,
const std::string &  name,
TProfile *  h 
)
private

Book profile histogram based on TProfile.

Definition at line 1020 of file DQMStore.cc.

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

1021 {
1022  return book(dir, name, "bookProfile",
1024  h, collateProfile);
1025 }
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
static void collateProfile(MonitorElement *me, TProfile *h)
Definition: DQMStore.cc:1330
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 1175 of file DQMStore.cc.

References pwd_.

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

1180 {
1181  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
1182  nchX, lowX, highX,
1183  nchY, lowY, highY,
1184  lowZ, highZ,
1185  option));
1186 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.

Definition at line 1192 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1197 {
1198  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
1199  nchX, lowX, highX,
1200  nchY, lowY, highY,
1201  lowZ, highZ,
1202  option));
1203 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.

Definition at line 1209 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1214 {
1215  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
1216  nchX, lowX, highX,
1217  nchY, lowY, highY,
1218  lowZ, highZ,
1219  option));
1220 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

Book 2-D profile. Option is one of: " ", "s" (default), "i", "G" (see TProfile2D::BuildOptions). The number of channels in Z is disregarded in a 2-D profile.

Definition at line 1226 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1231 {
1232  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
1233  nchX, lowX, highX,
1234  nchY, lowY, highY,
1235  lowZ, highZ,
1236  option));
1237 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1241 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1242 {
1243  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name)));
1244 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1248 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

1249 {
1250  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name.c_str())));
1251 }
std::string pwd_
Definition: DQMStore.h:456
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:1175
MonitorElement * DQMStore::bookProfile2D ( const std::string &  folder,
const std::string &  name,
TProfile2D *  h 
)
private

Book 2D profile histogram based on TProfile2D.

Definition at line 1164 of file DQMStore.cc.

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

1165 {
1166  return book(dir, name, "bookProfile2D",
1168  h, collateProfile2D);
1169 }
static void collateProfile2D(MonitorElement *me, TProfile2D *h)
Definition: DQMStore.cc:1340
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
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 688 of file DQMStore.cc.

References bookString(), and pwd_.

689 {
690  return bookString(pwd_, name, value);
691 }
MonitorElement * bookString(const char *name, const char *value)
Book string.
Definition: DQMStore.cc:683
std::string pwd_
Definition: DQMStore.h:456
MonitorElement * DQMStore::bookString ( const std::string &  dir,
const std::string &  name,
const std::string &  value 
)
private

Book string.

Definition at line 667 of file DQMStore.cc.

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

670 {
671  if (collateHistograms_)
672  {
673  if (MonitorElement *me = findObject(dir, name))
674  return me;
675  }
676 
677  return book(dir, name, "bookString")
679 }
MonitorElement * initialise(Kind kind)
MonitorElement * book(const std::string &dir, const std::string &name, const char *context)
Definition: DQMStore.cc:572
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
dbl *** dir
Definition: mlp_gen.cc:35
bool collateHistograms_
Definition: DQMStore.h:453
void DQMStore::cd ( void  )

go to top directory (ie. root)

Definition at line 406 of file DQMStore.cc.

References setCurrentFolder().

Referenced by SiStripDcsInfo::addBadModules(), SiStripGainFromData::algoEndJob(), SiPixelDigiSource::analyze(), MuIsoValidation::analyze(), MuonIsolationDQM::analyze(), DQMFileReader::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), MuonTrackResidualAnalyzer::beginJob(), MuonTrackAnalyzer::beginJob(), MuIsoValidation::beginJob(), MuonIsolationDQM::beginJob(), MultiTrackValidator::beginRun(), RPCDcsInfo::beginRun(), DQMDcsInfoClient::beginRun(), DQMDcsInfo::beginRun(), DQMProvInfo::beginRun(), V0Validator::beginRun(), MuonTrackValidator::beginRun(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), RecoMuonValidator::MuonME::bookHistograms(), CentralityDQM::bookHistos(), HiggsDQM::bookHistos(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), BeamMonitorBx::BookTables(), SiStripCertificationInfo::bookTrackingCertificationMEs(), BeamMonitorBx::BookTrendHistos(), EMShower::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createEfficiency(), SiStripTrackerMapCreator::createForOffline(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiPixelActionExecutor::createOccupancy(), SiStripSummaryCreator::createSummary(), SiStripActionExecutor::createSummary(), SiStripActionExecutor::createSummaryOffline(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), SiPixelActionExecutor::dumpModIds(), SiPixelActionExecutor::dumpRefValues(), EMShower::EMShower(), DQMHcalIsoTrackPostProcessor::endJob(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), SiStripOfflineDQM::endJob(), SiPixelEDAClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), SiPixelEDAClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), 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(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::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(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiPixelInformationExtractor::goToDir(), SiPixelWebInterface::handleEDARequest(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), evf::iDie::initMonitorElements(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), MuIsoValidation::MuIsoValidation(), MuonIsolationDQM::MuonIsolationDQM(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readAlarmTree(), SiPixelInformationExtractor::readAlarmTree(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleHistoTree(), SiStripNoisesDQMService::readNoises(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripPedestalsDQMService::readPedestals(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readSummaryHistoTree(), SiPixelInformationExtractor::readSummaryHistoTree(), RecoMuonValidator::RecoMuonValidator(), SiStripCommissioningSource::remove(), CommissioningHistograms::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiPixelInformationExtractor::sendTkUpdatedStatus(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), HLXMonitor::SetupHists(), SiPixelActionExecutor::setupQTests(), and dqm_interfaces.DirWalkerFile::walk().

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

cd to subdirectory (if there)

Definition at line 411 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), dirExists(), raiseDQMError(), and setCurrentFolder().

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().

412 {
413  std::string clean;
414  const std::string *cleaned = 0;
415  cleanTrailingSlashes(subdir, clean, cleaned);
416 
417  if (! dirExists(*cleaned))
418  raiseDQMError("DQMStore", "Cannot 'cd' into non-existent directory '%s'",
419  cleaned->c_str());
420 
421  setCurrentFolder(*cleaned);
422 }
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:493
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
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 2066 of file DQMStore.cc.

References end, python.connectstrParser::o, raiseDQMError(), and errorMatrix2Lands_multiChannel::start.

Referenced by save().

2067 {
2068  assert(! path.empty());
2069 
2070  // Find the first path component.
2071  size_t start = 0;
2072  size_t end = path.find('/', start);
2073  if (end == std::string::npos)
2074  end = path.size();
2075 
2076  while (true)
2077  {
2078  // Check if this subdirectory component exists. If yes, make sure
2079  // it is actually a subdirectory. Otherwise create or cd into it.
2080  std::string part(path, start, end-start);
2081  TObject *o = gDirectory->Get(part.c_str());
2082  if (o && ! dynamic_cast<TDirectory *>(o))
2083  raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
2084  " fails because the part '%s' already exists and is not"
2085  " directory", path.c_str(), part.c_str());
2086  else if (! o)
2087  gDirectory->mkdir(part.c_str());
2088 
2089  if (! gDirectory->cd(part.c_str()))
2090  raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
2091  " fails because could not cd into subdirectory '%s'",
2092  path.c_str(), part.c_str());
2093 
2094  // Stop if we reached the end, ignoring any trailing '/'.
2095  if (end+1 >= path.size())
2096  break;
2097 
2098  // Find the next path component.
2099  start = end+1;
2100  end = path.find('/', start);
2101  if (end == std::string::npos)
2102  end = path.size();
2103  }
2104 
2105  return true;
2106 }
list path
Definition: scaleCards.py:51
#define end
Definition: vmac.h:38
part
Definition: HCALResponse.h:21
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool DQMStore::checkBinningMatches ( MonitorElement me,
TH1 *  h 
)
staticprivate

Definition at line 1257 of file DQMStore.cc.

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

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

1258 {
1259  if (me->getTH1()->GetNbinsX() != h->GetNbinsX()
1260  || me->getTH1()->GetNbinsY() != h->GetNbinsY()
1261  || me->getTH1()->GetNbinsZ() != h->GetNbinsZ()
1262  || me->getTH1()->GetXaxis()->GetXmin() != h->GetXaxis()->GetXmin()
1263  || me->getTH1()->GetYaxis()->GetXmin() != h->GetYaxis()->GetXmin()
1264  || me->getTH1()->GetZaxis()->GetXmin() != h->GetZaxis()->GetXmin()
1265  || me->getTH1()->GetXaxis()->GetXmax() != h->GetXaxis()->GetXmax()
1266  || me->getTH1()->GetYaxis()->GetXmax() != h->GetYaxis()->GetXmax()
1267  || me->getTH1()->GetZaxis()->GetXmax() != h->GetZaxis()->GetXmax())
1268  {
1269  // edm::LogWarning ("DQMStore")
1270  std::cout << "*** DQMStore: WARNING:"
1271  << "checkBinningMatches: different binning - cannot add object '"
1272  << h->GetName() << "' of type "
1273  << h->IsA()->GetName() << " to existing ME: '"
1274  << me->getFullname() << "'\n";
1275  return false;
1276  }
1277  return true;
1278 }
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 1281 of file DQMStore.cc.

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

Referenced by book1D(), and extract().

1282 {
1283  if (checkBinningMatches(me,h))
1284  me->getTH1F()->Add(h);
1285 }
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1295 of file DQMStore.cc.

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

Referenced by book1DD(), and extract().

1296 {
1297  if (checkBinningMatches(me,h))
1298  me->getTH1D()->Add(h);
1299 }
TH1D * getTH1D(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1288 of file DQMStore.cc.

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

Referenced by book1S(), and extract().

1289 {
1290  if (checkBinningMatches(me,h))
1291  me->getTH1S()->Add(h);
1292 }
TH1S * getTH1S(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1302 of file DQMStore.cc.

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

Referenced by book2D(), and extract().

1303 {
1304  if (checkBinningMatches(me,h))
1305  me->getTH2F()->Add(h);
1306 }
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1316 of file DQMStore.cc.

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

Referenced by book2DD(), and extract().

1317 {
1318  if (checkBinningMatches(me,h))
1319  me->getTH2D()->Add(h);
1320 }
TH2D * getTH2D(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1309 of file DQMStore.cc.

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

Referenced by book2S(), and extract().

1310 {
1311  if (checkBinningMatches(me,h))
1312  me->getTH2S()->Add(h);
1313 }
TH2S * getTH2S(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1323 of file DQMStore.cc.

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

Referenced by book3D(), and extract().

1324 {
1325  if (checkBinningMatches(me,h))
1326  me->getTH3F()->Add(h);
1327 }
TH3F * getTH3F(void) const
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1330 of file DQMStore.cc.

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

Referenced by bookProfile(), and extract().

1331 {
1332  if (checkBinningMatches(me,h))
1333  {
1334  TProfile *meh = me->getTProfile();
1335  me->addProfiles(h, meh, meh, 1, 1);
1336  }
1337 }
void addProfiles(TProfile *h1, TProfile *h2, TProfile *sum, float c1, float c2)
static bool checkBinningMatches(MonitorElement *me, TH1 *h)
Definition: DQMStore.cc:1257
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 1340 of file DQMStore.cc.

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

Referenced by bookProfile2D(), and extract().

1341 {
1342  if (checkBinningMatches(me,h))
1343  {
1344  TProfile2D *meh = me->getTProfile2D();
1345  me->addProfiles(h, meh, meh, 1, 1);
1346  }
1347 }
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:1257
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 1458 of file DQMStore.cc.

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

Referenced by ContentReader::give_subdirs().

1459 {
1460  MonitorElement proto(&path, std::string());
1461  MEMap::const_iterator e = data_.end();
1462  MEMap::const_iterator i = data_.lower_bound(proto);
1463  return (i != e && isSubdirectory(path, *i->data_.dirname));
1464 }
int i
Definition: DBlmapReader.cc:9
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
list path
Definition: scaleCards.py:51
MEMap data_
Definition: DQMStore.h:457
QCriterion * DQMStore::createQTest ( const std::string &  algoname,
const std::string &  qtname 
)

create quality test with unique name <qtname> (analogous to ME name); quality test can then be attached to ME with useQTest method (<algo_name> must match one of known algorithms)

Definition at line 2608 of file DQMStore.cc.

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

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

2609 {
2610  if (qtests_.count(qtname))
2611  raiseDQMError("DQMStore", "Attempt to create duplicate quality test '%s'",
2612  qtname.c_str());
2613 
2614  QAMap::iterator i = qalgos_.find(algoname);
2615  if (i == qalgos_.end())
2616  raiseDQMError("DQMStore", "Cannot create a quality test using unknown"
2617  " algorithm '%s'", algoname.c_str());
2618 
2619  QCriterion *qc = i->second(qtname);
2620  qc->setVerbose(verboseQT_);
2621 
2622  qtests_[qtname] = qc;
2623  return qc;
2624 }
int i
Definition: DBlmapReader.cc:9
QCMap qtests_
Definition: DQMStore.h:460
unsigned verboseQT_
Definition: DQMStore.h:451
QAMap qalgos_
Definition: DQMStore.h:461
void setVerbose(int verbose)
probability limits for warnings, errors
Definition: QTest.h:115
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 493 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(), EcalBarrelMonitorClient::endLuminosityBlock(), EcalEndcapMonitorClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), TauDQMHistEffProducer::endRun(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getTopFolderPath(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripActionExecutor::printFaultyModuleList(), SiStripInformationExtractor::readAlarmTree(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readSummaryHistoTree(), CommissioningHistograms::remove(), PhotonOfflineClient::runClient(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

494 { return dirs_.count(path) > 0; }
list path
Definition: scaleCards.py:51
std::set< std::string > dirs_
Definition: DQMStore.h:458
void DQMStore::disableSoftReset ( MonitorElement me)

Definition at line 2742 of file DQMStore.cc.

References MonitorElement::disableSoftReset().

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

2743 {
2744  if (me)
2745  me->disableSoftReset();
2746 }
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 1771 of file DQMStore.cc.

References MonitorElement::addQReport(), DQMNet::QValue::algorithm, book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), bookString(), DQMNet::QValue::code, collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateHistograms_, collateProfile(), collateProfile2D(), MonitorElement::copyFrom(), gather_cfg::cout, dot(), DQMNet::DQM_PROP_HAS_REFERENCE, MonitorElement::Fill(), findObject(), h, isCollateME(), isSubdirectory(), diffTwoXMLs::label, m, funct::master(), DQMNet::QValue::message, n, MonitorElement::object_, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, alignCSCRings::s, s_referenceDirName, s_rxmeqr1(), s_rxmeqr2(), s_rxmeval(), MonitorElement::setEfficiencyFlag(), tag(), relativeConstraints::value, and verbose_.

Referenced by edm::DQMHttpSource::addEventToDQMBackend(), and readDirectory().

1772 {
1773  // NB: Profile histograms inherit from TH*D, checking order matters.
1774  MonitorElement *refcheck = 0;
1775  if (TProfile *h = dynamic_cast<TProfile *>(obj))
1776  {
1777  MonitorElement *me = findObject(dir, h->GetName());
1778  if (! me)
1779  me = bookProfile(dir, h->GetName(), (TProfile *) h->Clone());
1780  else if (overwrite)
1781  me->copyFrom(h);
1782  else if (isCollateME(me) || collateHistograms_)
1783  collateProfile(me, h);
1784  refcheck = me;
1785  }
1786  else if (TProfile2D *h = dynamic_cast<TProfile2D *>(obj))
1787  {
1788  MonitorElement *me = findObject(dir, h->GetName());
1789  if (! me)
1790  me = bookProfile2D(dir, h->GetName(), (TProfile2D *) h->Clone());
1791  else if (overwrite)
1792  me->copyFrom(h);
1793  else if (isCollateME(me) || collateHistograms_)
1794  collateProfile2D(me, h);
1795  refcheck = me;
1796  }
1797  else if (TH1F *h = dynamic_cast<TH1F *>(obj))
1798  {
1799  MonitorElement *me = findObject(dir, h->GetName());
1800  if (! me)
1801  me = book1D(dir, h->GetName(), (TH1F *) h->Clone());
1802  else if (overwrite)
1803  me->copyFrom(h);
1804  else if (isCollateME(me) || collateHistograms_)
1805  collate1D(me, h);
1806  refcheck = me;
1807  }
1808  else if (TH1S *h = dynamic_cast<TH1S *>(obj))
1809  {
1810  MonitorElement *me = findObject(dir, h->GetName());
1811  if (! me)
1812  me = book1S(dir, h->GetName(), (TH1S *) h->Clone());
1813  else if (overwrite)
1814  me->copyFrom(h);
1815  else if (isCollateME(me) || collateHistograms_)
1816  collate1S(me, h);
1817  refcheck = me;
1818  }
1819  else if (TH1D *h = dynamic_cast<TH1D *>(obj))
1820  {
1821  MonitorElement *me = findObject(dir, h->GetName());
1822  if (! me)
1823  me = book1DD(dir, h->GetName(), (TH1D *) h->Clone());
1824  else if (overwrite)
1825  me->copyFrom(h);
1826  else if (isCollateME(me) || collateHistograms_)
1827  collate1DD(me, h);
1828  refcheck = me;
1829  }
1830  else if (TH2F *h = dynamic_cast<TH2F *>(obj))
1831  {
1832  MonitorElement *me = findObject(dir, h->GetName());
1833  if (! me)
1834  me = book2D(dir, h->GetName(), (TH2F *) h->Clone());
1835  else if (overwrite)
1836  me->copyFrom(h);
1837  else if (isCollateME(me) || collateHistograms_)
1838  collate2D(me, h);
1839  refcheck = me;
1840  }
1841  else if (TH2S *h = dynamic_cast<TH2S *>(obj))
1842  {
1843  MonitorElement *me = findObject(dir, h->GetName());
1844  if (! me)
1845  me = book2S(dir, h->GetName(), (TH2S *) h->Clone());
1846  else if (overwrite)
1847  me->copyFrom(h);
1848  else if (isCollateME(me) || collateHistograms_)
1849  collate2S(me, h);
1850  refcheck = me;
1851  }
1852  else if (TH2D *h = dynamic_cast<TH2D *>(obj))
1853  {
1854  MonitorElement *me = findObject(dir, h->GetName());
1855  if (! me)
1856  me = book2DD(dir, h->GetName(), (TH2D *) h->Clone());
1857  else if (overwrite)
1858  me->copyFrom(h);
1859  else if (isCollateME(me) || collateHistograms_)
1860  collate2DD(me, h);
1861  refcheck = me;
1862  }
1863  else if (TH3F *h = dynamic_cast<TH3F *>(obj))
1864  {
1865  MonitorElement *me = findObject(dir, h->GetName());
1866  if (! me)
1867  me = book3D(dir, h->GetName(), (TH3F *) h->Clone());
1868  else if (overwrite)
1869  me->copyFrom(h);
1870  else if (isCollateME(me) || collateHistograms_)
1871  collate3D(me, h);
1872  refcheck = me;
1873  }
1874  else if (dynamic_cast<TObjString *>(obj))
1875  {
1876  lat::RegexpMatch m;
1877  if (! s_rxmeval.match(obj->GetName(), 0, 0, &m))
1878  {
1879  if (strstr(obj->GetName(), "CMSSW"))
1880  {
1881  if (verbose_)
1882  std::cout << "Input file version: " << obj->GetName() << std::endl;
1883  return true;
1884  }
1885  else if (strstr(obj->GetName(), "DQMPATCH"))
1886  {
1887  if (verbose_)
1888  std::cout << "DQM patch version: " << obj->GetName() << std::endl;
1889  return true;
1890  }
1891  else
1892  {
1893  std::cout << "*** DQMStore: WARNING: cannot extract object '"
1894  << obj->GetName() << "' of type '"
1895  << obj->IsA()->GetName() << "'\n";
1896  return false;
1897  }
1898  }
1899 
1900  std::string label = m.matchString(obj->GetName(), 1);
1901  std::string kind = m.matchString(obj->GetName(), 2);
1902  std::string value = m.matchString(obj->GetName(), 3);
1903 
1904  if (kind == "i")
1905  {
1906  MonitorElement *me = findObject(dir, label);
1907  if (! me || overwrite)
1908  {
1909  if (! me) me = bookInt(dir, label);
1910  me->Fill(atoll(value.c_str()));
1911  }
1912  }
1913  else if (kind == "f")
1914  {
1915  MonitorElement *me = findObject(dir, label);
1916  if (! me || overwrite)
1917  {
1918  if (! me) me = bookFloat(dir, label);
1919  me->Fill(atof(value.c_str()));
1920  }
1921  }
1922  else if (kind == "s")
1923  {
1924  MonitorElement *me = findObject(dir, label);
1925  if (! me)
1926  me = bookString(dir, label, value);
1927  else if (overwrite)
1928  me->Fill(value);
1929  }
1930  else if (kind == "e")
1931  {
1932  MonitorElement *me = findObject(dir, label);
1933  if (! me)
1934  {
1935  std::cout << "*** DQMStore: WARNING: no monitor element '"
1936  << label << "' in directory '"
1937  << dir << "' to be marked as efficiency plot.\n";
1938  return false;
1939  }
1940  me->setEfficiencyFlag();
1941  }
1942  else if (kind == "t")
1943  {
1944  MonitorElement *me = findObject(dir, label);
1945  if (! me)
1946  {
1947  std::cout << "*** DQMStore: WARNING: no monitor element '"
1948  << label << "' in directory '"
1949  << dir << "' for a tag\n";
1950  return false;
1951  }
1952  errno = 0;
1953  char *endp = 0;
1954  unsigned long val = strtoul(value.c_str(), &endp, 10);
1955  if ((val == 0 && errno) || *endp || val > ~uint32_t(0))
1956  {
1957  std::cout << "*** DQMStore: WARNING: cannot restore tag '"
1958  << value << "' for monitor element '"
1959  << label << "' in directory '"
1960  << dir << "' - invalid value\n";
1961  return false;
1962  }
1963  tag(me, val);
1964  }
1965  else if (kind == "qr")
1966  {
1967  // Handle qreports, but skip them while reading in references.
1969  {
1970  size_t dot = label.find('.');
1971  if (dot == std::string::npos)
1972  {
1973  std::cout << "*** DQMStore: WARNING: quality report label in '" << label
1974  << "' is missing a '.' and cannot be extracted\n";
1975  return false;
1976  }
1977 
1978  std::string mename (label, 0, dot);
1979  std::string qrname (label, dot+1, std::string::npos);
1980 
1981  m.reset();
1982  DQMNet::QValue qv;
1983  if (s_rxmeqr1.match(value, 0, 0, &m))
1984  {
1985  qv.code = atoi(m.matchString(value, 1).c_str());
1986  qv.qtresult = strtod(m.matchString(value, 2).c_str(), 0);
1987  qv.message = m.matchString(value, 4);
1988  qv.qtname = qrname;
1989  qv.algorithm = m.matchString(value, 3);
1990  }
1991  else if (s_rxmeqr2.match(value, 0, 0, &m))
1992  {
1993  qv.code = atoi(m.matchString(value, 1).c_str());
1994  qv.qtresult = 0; // unavailable in old format
1995  qv.message = m.matchString(value, 2);
1996  qv.qtname = qrname;
1997  // qv.algorithm unavailable in old format
1998  }
1999  else
2000  {
2001  std::cout << "*** DQMStore: WARNING: quality test value '"
2002  << value << "' is incorrectly formatted\n";
2003  return false;
2004  }
2005 
2006  MonitorElement *me = findObject(dir, mename);
2007  if (! me)
2008  {
2009  std::cout << "*** DQMStore: WARNING: no monitor element '"
2010  << mename << "' in directory '"
2011  << dir << "' for quality test '"
2012  << label << "'\n";
2013  return false;
2014  }
2015 
2016  me->addQReport(qv, /* FIXME: getQTest(qv.qtname)? */ 0);
2017  }
2018  }
2019  else
2020  {
2021  std::cout << "*** DQMStore: WARNING: cannot extract object '"
2022  << obj->GetName() << "' of type '"
2023  << obj->IsA()->GetName() << "'\n";
2024  return false;
2025  }
2026  }
2027  else if (TNamed *n = dynamic_cast<TNamed *>(obj))
2028  {
2029  // For old DQM data.
2030  std::string s;
2031  s.reserve(6 + strlen(n->GetTitle()) + 2*strlen(n->GetName()));
2032  s += '<'; s += n->GetName(); s += '>';
2033  s += n->GetTitle();
2034  s += '<'; s += '/'; s += n->GetName(); s += '>';
2035  TObjString os(s.c_str());
2036  return extract(&os, dir, overwrite);
2037  }
2038  else
2039  {
2040  std::cout << "*** DQMStore: WARNING: cannot extract object '"
2041  << obj->GetName() << "' of type '" << obj->IsA()->GetName()
2042  << "' and with title '" << obj->GetTitle() << "'\n";
2043  return false;
2044  }
2045 
2046  // If we just read in a reference monitor element, and there is a
2047  // monitor element with the same name, link the two together. The
2048  // other direction is handled by the initialise() method.
2049  if (refcheck && isSubdirectory(s_referenceDirName, dir))
2050  {
2051  std::string mdir(dir, s_referenceDirName.size()+1, std::string::npos);
2052  if (MonitorElement *master = findObject(mdir, obj->GetName()))
2053  {
2054  master->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
2055  master->reference_ = refcheck->object_;
2056  }
2057  }
2058 
2059  return true;
2060 }
static void collateProfile2D(MonitorElement *me, TProfile2D *h)
Definition: DQMStore.cc:1340
Master< F > master(const F &f)
Definition: FunctClone.h:68
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:867
bool isCollateME(MonitorElement *me) const
Definition: DQMStore.cc:2781
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:717
static void collate3D(MonitorElement *me, TH3F *h)
Definition: DQMStore.cc:1323
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:979
static void collate1D(MonitorElement *me, TH1F *h)
Definition: DQMStore.cc:1281
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:889
static void collate1DD(MonitorElement *me, TH1D *h)
Definition: DQMStore.cc:1295
static std::string s_referenceDirName
Definition: DQMStore.cc:48
MonitorElement * book1DD(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1S histogram.
Definition: DQMStore.cc:749
MonitorElement * bookFloat(const char *name)
Book float.
Definition: DQMStore.cc:654
void Fill(long long x)
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1354
static void collateProfile(MonitorElement *me, TProfile *h)
Definition: DQMStore.cc:1330
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:1771
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:683
static void collate1S(MonitorElement *me, TH1S *h)
Definition: DQMStore.cc:1288
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
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:1031
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:450
static void collate2S(MonitorElement *me, TH2S *h)
Definition: DQMStore.cc:1309
static void collate2D(MonitorElement *me, TH2F *h)
Definition: DQMStore.cc:1302
static void collate2DD(MonitorElement *me, TH2D *h)
Definition: DQMStore.cc:1316
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:624
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:845
float qtresult
Definition: DQMNet.h:89
bool collateHistograms_
Definition: DQMStore.h:453
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:733
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:1175
MonitorElement * DQMStore::findObject ( const std::string &  dir,
const std::string &  name 
) const
private

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

Definition at line 1598 of file DQMStore.cc.

References MonitorElement::data_, data_, dir, DQMNet::CoreObject::dirname, mergeVDriftHistosByStation::name, DQMNet::CoreObject::objname, raiseDQMError(), and s_safe.

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

1599 {
1600  if (dir.find_first_not_of(s_safe) != std::string::npos)
1601  raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
1602  " unacceptable characters", dir.c_str());
1603  if (name.find_first_not_of(s_safe) != std::string::npos)
1604  raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
1605  " unacceptable characters", name.c_str());
1606 
1607  MonitorElement proto;
1608  proto.data_.dirname = &dir;
1609  proto.data_.objname = name;
1610 
1611  MEMap::const_iterator mepos = data_.find(proto);
1612  return (mepos == data_.end() ? 0
1613  : const_cast<MonitorElement *>(&*mepos));
1614 }
const std::string * dirname
Definition: DQMNet.h:100
static std::string s_safe
Definition: DQMStore.cc:50
std::string objname
Definition: DQMNet.h:101
DQMNet::CoreObject data_
MEMap data_
Definition: DQMStore.h:457
dbl *** dir
Definition: mlp_gen.cc:35
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 1751 of file DQMStore.cc.

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

Referenced by DQMStore().

1752 {
1753  MEMap::iterator mi = data_.begin();
1754  MEMap::iterator me = data_.end();
1755  for ( ; mi != me; ++mi)
1756  {
1757  MonitorElement &me = const_cast<MonitorElement &>(*mi);
1758  me.Reset();
1759  me.resetUpdate();
1760  }
1761 
1762  reset_ = true;
1763 }
void resetUpdate(void)
reset &quot;was updated&quot; flag
bool reset_
Definition: DQMStore.h:452
MEMap data_
Definition: DQMStore.h:457
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 1468 of file DQMStore.cc.

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

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), HistoProviderDQM::access(), SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), HcalDigiClient::analyze(), HcalRecHitClient::analyze(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), ZDCMonitorClient::analyze(), HcalBaseDQMonitor::analyze(), EBTrendClient::analyze(), EETrendClient::analyze(), EESummaryClient::analyze(), EBSummaryClient::analyze(), EBTimingClient::analyze(), EELaserClient::analyze(), EBLaserClient::analyze(), EELedClient::analyze(), EEStatusFlagsClient::analyze(), EBStatusFlagsClient::analyze(), EBCosmicClient::analyze(), EECosmicClient::analyze(), EBIntegrityClient::analyze(), EEIntegrityClient::analyze(), EBOccupancyClient::analyze(), EEOccupancyClient::analyze(), EBPedestalClient::analyze(), EEPedestalClient::analyze(), EEPedestalOnlineClient::analyze(), EBPedestalOnlineClient::analyze(), EETestPulseClient::analyze(), EBTestPulseClient::analyze(), EBClusterClient::analyze(), EEClusterClient::analyze(), EBTriggerTowerClient::analyze(), EETriggerTowerClient::analyze(), EcalBarrelMonitorClient::analyze(), EcalEndcapMonitorClient::analyze(), EETimingClient::analyze(), RPCDBPopConAnalyzer::analyze(), GeneralHLTOffline::analyze(), SiPixelDigiSource::analyze(), SiPixelRawDataErrorSource::analyze(), SiPixelClusterSource::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), L1EmulatorErrorFlagClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), L1TEventInfoClient::beginJob(), HLTEventInfoClient::beginJob(), HLTMonPhotonClient::beginJob(), BeamMonitor::beginJob(), HLTMonElectronConsumer::beginJob(), SiPixelEDAClient::beginLuminosityBlock(), RPCChamberQuality::beginRun(), RPCNoisyStripTest::beginRun(), HcalCoarsePedestalClient::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), HcalSummaryClient::beginRun(), RPCBxTest::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(), L1TEMUEventInfoClient::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(), 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::createEfficiencyPlots(), createH2CompTest(), createH2ContentTest(), EgHLTOfflineClient::createHLTvsOfflineHists(), EgHLTOfflineClient::createLooseTightTrigEff(), EgHLTOfflineClient::createN1EffHists(), PFClient::createResolutionPlots(), SiStripActionExecutor::createShiftReport(), TopElectronHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists2Leg(), EgHLTOfflineClient::createTrigTagProbeEffHistsNewAlgo(), dqmCopyRecursively(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), SiPixelActionExecutor::dumpBarrelRefValues(), L1TEMUEventInfoClient::dumpContentMonitorElements(), SiPixelActionExecutor::dumpEndcapRefValues(), EMShower::EMShower(), DQMHcalIsoTrackPostProcessor::endJob(), EcalBarrelMonitorModule::endJob(), EcalEndcapMonitorModule::endJob(), HarvestingAnalyzer::endJob(), HcalSimHitsValidation::endJob(), HcalMonitorModule::endJob(), ZDCMonitorModule::endJob(), MuIsoValidation::endJob(), MuonIsolationDQM::endJob(), MuonAlignment::endJob(), RPCDcsInfoClient::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), TrigResRateMon::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), RPCDcsInfoClient::endRun(), RPCRecHitValidClient::endRun(), RPCRecHitProbabilityClient::endRun(), SiPixelCertification::endRun(), DQMDcsInfoClient::endRun(), TauDQMHistEffProducer::endRun(), DataCertificationJetMET::endRun(), TopHLTDiMuonDQMClient::endRun(), HLTTauCertifier::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencyPerRingLayer::endRun(), RPCEfficiencyShiftHisto::endRun(), EEDataCertificationTask::endRun(), DQMOfflineHLTEventInfoClient::endRun(), EBDataCertificationTask::endRun(), MuonAlignmentSummary::endRun(), FourVectorHLTClient::endRun(), PhotonDataCertification::endRun(), EcalBarrelMonitorClient::endRun(), EcalEndcapMonitorClient::endRun(), HLTOverallSummary::endRun(), HLTMuonCertSummary::endRun(), EcalZmassClient::endRun(), CSCOfflineClient::endRun(), TauDQMHistPlotter::endRun(), RPCEfficiencySecond::endRun(), 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(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiPixelActionExecutor::fillSummary(), FastTimerServiceClient::fillSummaryPlots(), TrigResRateMon::fillXsecPerDataset(), PFDQMEventSelector::filter(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), ElectronDqmAnalyzerBase::get(), L1TGMTClient::get1DHisto(), L1TEventInfoClient::get1DHisto(), HLTEventInfoClient::get1DHisto(), L1TDTTPGClient::get1DHisto(), FourVectorHLTClient::get1DHisto(), L1TEventInfoClient::get1DProfile(), HLTEventInfoClient::get1DProfile(), L1TDTTPGClient::get1DProfile(), FourVectorHLTClient::get1DProfile(), L1TGMTClient::get2DHisto(), L1TEventInfoClient::get2DHisto(), HLTEventInfoClient::get2DHisto(), L1TDTTPGClient::get2DHisto(), FourVectorHLTClient::get2DHisto(), L1TEventInfoClient::get2DProfile(), 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(), ContentReader::give_files(), ContentReader::give_ME(), CommissioningHistograms::histogram(), htmlErrors(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), 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(), SiStripActionExecutor::printShiftHistoParameters(), QTestStatusChecker::processAlarms(), L1TGCTClient::processHistograms(), L1TRPCTFClient::processHistograms(), edm::EventStreamHttpReader::read(), L1TEMUEventInfoClient::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().

1469 {
1470  std::string dir;
1471  std::string name;
1472  splitPath(dir, name, path);
1473  MonitorElement proto(&dir, name);
1474  MEMap::const_iterator mepos = data_.find(proto);
1475  return (mepos == data_.end() ? 0
1476  : const_cast<MonitorElement *>(&*mepos));
1477 }
static void splitPath(std::string &dir, std::string &name, const std::string &path)
Definition: DQMStore.cc:88
list path
Definition: scaleCards.py:51
MEMap data_
Definition: DQMStore.h:457
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 1481 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().

1482 {
1483  // FIXME: Use reverse map [tag -> path] / [tag -> dir]?
1484  std::vector<MonitorElement *> result;
1485  for (MEMap::const_iterator i = data_.begin(), e = data_.end(); i != e; ++i)
1486  {
1487  const MonitorElement &me = *i;
1488  if ((me.data_.flags & DQMNet::DQM_PROP_TAGGED) && me.data_.tag == tag)
1489  result.push_back(const_cast<MonitorElement *>(&me));
1490  }
1491  return result;
1492 }
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:1354
tuple result
Definition: query.py:137
DQMNet::CoreObject data_
MEMap data_
Definition: DQMStore.h:457
std::vector< MonitorElement * > DQMStore::getAllContents ( const std::string &  path) const

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

Definition at line 1672 of file DQMStore.cc.

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

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

1673 {
1674  std::string clean;
1675  const std::string *cleaned = 0;
1676  cleanTrailingSlashes(path, clean, cleaned);
1677  MonitorElement proto(cleaned, std::string());
1678 
1679  std::vector<MonitorElement *> result;
1680  MEMap::const_iterator e = data_.end();
1681  MEMap::const_iterator i = data_.lower_bound(proto);
1682  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
1683  result.push_back(const_cast<MonitorElement *>(&*i));
1684 
1685  return result;
1686 }
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
list path
Definition: scaleCards.py:51
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
void DQMStore::getAllTags ( std::vector< std::string > &  into) const

get tags for various maps, return vector with strings of the form <dir pathname>="">:<obj1>/<tag1>/<tag2>,<obj2>/<tag1>/<tag3>, etc.

Definition at line 1619 of file DQMStore.cc.

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

Referenced by EDMtoMEConverter::getData().

1620 {
1621  into.clear();
1622  into.reserve(dirs_.size());
1623 
1624  MEMap::const_iterator me = data_.end();
1625  std::set<std::string>::const_iterator di = dirs_.begin();
1626  std::set<std::string>::const_iterator de = dirs_.end();
1627  char tagbuf[32]; // more than enough for '/' and up to 10 digits
1628 
1629  for ( ; di != de; ++di)
1630  {
1631  MonitorElement proto(&*di, std::string());
1632  MEMap::const_iterator mi = data_.lower_bound(proto);
1633  MEMap::const_iterator m = mi;
1634  size_t sz = di->size() + 2;
1635  size_t nfound = 0;
1636  for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
1637  if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
1638  {
1639  // the tags count for '/' + up to 10 digits, otherwise ',' + ME name
1640  sz += 1 + m->data_.objname.size() + 11;
1641  ++nfound;
1642  }
1643 
1644  if (! nfound)
1645  continue;
1646 
1647  std::vector<std::string>::iterator istr
1648  = into.insert(into.end(), std::string());
1649 
1650  istr->reserve(sz);
1651 
1652  *istr += *di;
1653  *istr += ':';
1654  for (sz = 0; mi != m; ++mi)
1655  {
1656  if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
1657  {
1658  sprintf(tagbuf, "/%u", mi->data_.tag);
1659  if (sz > 0)
1660  *istr += ',';
1661  *istr += m->data_.objname;
1662  *istr += tagbuf;
1663  ++sz;
1664  }
1665  }
1666  }
1667 }
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:457
std::set< std::string > dirs_
Definition: DQMStore.h:458
std::vector< MonitorElement * > DQMStore::getContents ( const std::string &  path) const

get vector with all children of folder (does NOT include contents of subfolders)

Definition at line 1497 of file DQMStore.cc.

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

Referenced by SiStripCommissioningOfflineClient::beginRun(), ecaldqm::MESetChannel::checkDirectory(), SiPixelActionExecutor::checkQTestResults(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTClient::endRun(), CommissioningHistograms::extractHistograms(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripQualityChecker::fillSubDetStatus(), SiStripSummaryCreator::fillSummaryHistos(), SiStripCertificationInfo::fillTrackingCertificationMEs(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), FUShmDQMOutputService::findMonitorElements(), QTestStatusChecker::fullPathNames(), SiStripInformationExtractor::getCondDBHistos(), SiStripInformationExtractor::getGlobalHistos(), SiStripInformationExtractor::getHistosFromPath(), SiPixelInformationExtractor::getHistosFromPath(), SiStripInformationExtractor::getSingleModuleHistos(), SiPixelInformationExtractor::getSingleModuleHistos(), SiStripSummaryCreator::getSummaryME(), SiStripInformationExtractor::getTrackerMapHistos(), SiPixelInformationExtractor::getTrackerMapHistos(), SiStripHistoPlotter::makeCondDBPlots(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readStatusMessage(), SiPixelInformationExtractor::readStatusMessage(), PhotonOfflineClient::retrieveHisto(), SiPixelHistoricInfoDQMClient::retrieveMEs(), SiPixelHistoricInfoEDAClient::retrieveMEs(), BTagHLTOfflineClient::runClient_(), NoiseRatesClient::runClient_(), HcalRecHitsClient::runClient_(), HcalNoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), CaloTowersClient::runClient_(), HcalRecHitsDQMClient::runClient_(), JetMETHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and showDirStructure().

1498 {
1499  std::string clean;
1500  const std::string *cleaned = 0;
1501  cleanTrailingSlashes(path, clean, cleaned);
1502  MonitorElement proto(cleaned, std::string());
1503 
1504  std::vector<MonitorElement *> result;
1505  MEMap::const_iterator e = data_.end();
1506  MEMap::const_iterator i = data_.lower_bound(proto);
1507  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
1508  if (*cleaned == *i->data_.dirname)
1509  result.push_back(const_cast<MonitorElement *>(&*i));
1510 
1511  return result;
1512 }
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
list path
Definition: scaleCards.py:51
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
std::vector< MonitorElement * > DQMStore::getContents ( const std::string &  path,
unsigned int  tag 
) const

same as above for tagged MonitorElements

Definition at line 1516 of file DQMStore.cc.

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

1517 {
1518  std::string clean;
1519  const std::string *cleaned = 0;
1520  cleanTrailingSlashes(path, clean, cleaned);
1521  MonitorElement proto(cleaned, std::string());
1522 
1523  std::vector<MonitorElement *> result;
1524  MEMap::const_iterator e = data_.end();
1525  MEMap::const_iterator i = data_.lower_bound(proto);
1526  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
1527  if (*cleaned == *i->data_.dirname
1528  && (i->data_.flags & DQMNet::DQM_PROP_TAGGED)
1529  && i->data_.tag == tag)
1530  result.push_back(const_cast<MonitorElement *>(&*i));
1531 
1532  return result;
1533 }
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:1354
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
list path
Definition: scaleCards.py:51
tuple result
Definition: query.py:137
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
void DQMStore::getContents ( std::vector< std::string > &  into,
bool  showContents = true 
) const

get contents; return vector<string> of the form <dir pathname>="">:<obj1>,<obj2>,<obj3>; if showContents = false, change form to <dir pathname>="">: (useful for subscription requests; meant to imply "all contents")

Definition at line 1540 of file DQMStore.cc.

References data_, dirs_, isSubdirectory(), and m.

1541 {
1542  into.clear();
1543  into.reserve(dirs_.size());
1544 
1545  MEMap::const_iterator me = data_.end();
1546  std::set<std::string>::const_iterator di = dirs_.begin();
1547  std::set<std::string>::const_iterator de = dirs_.end();
1548  for ( ; di != de; ++di)
1549  {
1550  MonitorElement proto(&*di, std::string());
1551  MEMap::const_iterator mi = data_.lower_bound(proto);
1552  MEMap::const_iterator m = mi;
1553  size_t sz = di->size() + 2;
1554  size_t nfound = 0;
1555  for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
1556  if (*di == *m->data_.dirname)
1557  {
1558  sz += m->data_.objname.size() + 1;
1559  ++nfound;
1560  }
1561 
1562  if (! nfound)
1563  continue;
1564 
1565  std::vector<std::string>::iterator istr
1566  = into.insert(into.end(), std::string());
1567 
1568  if (showContents)
1569  {
1570  istr->reserve(sz);
1571 
1572  *istr += *di;
1573  *istr += ':';
1574  for (sz = 0; mi != m; ++mi)
1575  {
1576  if (*di != *mi->data_.dirname)
1577  continue;
1578 
1579  if (sz > 0)
1580  *istr += ',';
1581 
1582  *istr += mi->data_.objname;
1583  ++sz;
1584  }
1585  }
1586  else
1587  {
1588  istr->reserve(di->size() + 2);
1589  *istr += *di;
1590  *istr += ':';
1591  }
1592  }
1593 }
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
MEMap data_
Definition: DQMStore.h:457
std::set< std::string > dirs_
Definition: DQMStore.h:458
std::vector< MonitorElement * > DQMStore::getMatchingContents ( const std::string &  pattern,
lat::Regexp::Syntax  syntaxType = lat::Regexp::Wildcard 
) const

get vector with children of folder, including all subfolders + their children; matches names against a wildcard pattern matched against the full ME path

Definition at line 1691 of file DQMStore.cc.

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

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

1692 {
1693  lat::Regexp rx;
1694  try
1695  {
1696  rx = lat::Regexp(pattern, 0, syntaxType);
1697  rx.study();
1698  }
1699  catch (lat::Error &e)
1700  {
1701  raiseDQMError("DQMStore", "Invalid regular expression '%s': %s",
1702  pattern.c_str(), e.explain().c_str());
1703  }
1704 
1705  std::string path;
1706  std::vector<MonitorElement *> result;
1707  MEMap::const_iterator i = data_.begin();
1708  MEMap::const_iterator e = data_.end();
1709  for ( ; i != e; ++i)
1710  {
1711  path.clear();
1712  mergePath(path, *i->data_.dirname, i->data_.objname);
1713  if (rx.match(path))
1714  result.push_back(const_cast<MonitorElement *>(&*i));
1715  }
1716 
1717  return result;
1718 }
int i
Definition: DBlmapReader.cc:9
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
list path
Definition: scaleCards.py:51
tuple result
Definition: query.py:137
MEMap data_
Definition: DQMStore.h:457
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 1442 of file DQMStore.cc.

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

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(), ContentReader::give_files(), SiPixelWebInterface::handleEDARequest(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), L1TRPCTFClient::processHistograms(), SiStripInformationExtractor::readLayoutNames(), JetMETDQMOfflineClient::runClient_(), and SiPixelInformationExtractor::selectMEList().

1443 {
1444  MonitorElement proto(&pwd_, std::string());
1445  std::vector<std::string> result;
1446  MEMap::const_iterator e = data_.end();
1447  MEMap::const_iterator i = data_.lower_bound(proto);
1448  for ( ; i != e && isSubdirectory(pwd_, *i->data_.dirname); ++i)
1449  if (pwd_ == *i->data_.dirname)
1450  result.push_back(i->getName());
1451 
1452  return result;
1453 }
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:456
MEMap data_
Definition: DQMStore.h:457
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 2703 of file DQMStore.cc.

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

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

2704 {
2705  std::string clean;
2706  const std::string *cleaned = 0;
2707  cleanTrailingSlashes(path, clean, cleaned);
2708 
2710  MEMap::const_iterator mi = data_.begin();
2711  MEMap::const_iterator me = data_.end();
2712  for ( ; mi != me; ++mi)
2713  {
2714  if (! cleaned->empty() && ! isSubdirectory(*cleaned, *mi->data_.dirname))
2715  continue;
2716 
2717  if (mi->hasError())
2718  return dqm::qstatus::ERROR;
2719  else if (mi->hasWarning())
2720  status = dqm::qstatus::WARNING;
2721  else if (status < dqm::qstatus::WARNING
2722  && mi->hasOtherReport())
2723  status = dqm::qstatus::OTHER;
2724  }
2725  return status;
2726 }
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
list path
Definition: scaleCards.py:51
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
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 1419 of file DQMStore.cc.

References dirs_, alignCSCRings::e, i, isSubdirectory(), pwd_, and query::result.

Referenced by SiPixelDigiSource::analyze(), SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiStripSummaryCreator::createSummary(), dqmCopyRecursively(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), 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(), SiStripQualityChecker::fillSubDetStatus(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), DQMGenericTnPClient::findAllSubdirectories(), FUShmDQMOutputService::findMonitorElements(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiPixelInformationExtractor::getMEList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), ContentReader::give_subdirs(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readLayoutNames(), ElectronDqmAnalyzerBase::remove_other_dirs(), BTagHLTOfflineClient::runClient_(), CaloTowersClient::runClient_(), NoiseRatesClient::runClient_(), CaloTowersDQMClient::runClient_(), HcalNoiseRatesClient::runClient_(), HcalRecHitsClient::runClient_(), HcalRecHitsDQMClient::runClient_(), JetMETDQMOfflineClient::runClient_(), JetMETHLTOfflineClient::runClient_(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and HLXMonitor::SetupHists().

1420 {
1421  std::vector<std::string> result;
1422  std::set<std::string>::const_iterator e = dirs_.end();
1423  std::set<std::string>::const_iterator i = dirs_.find(pwd_);
1424 
1425  // If we didn't find current directory, the tree is empty, so quit.
1426  if (i == e)
1427  return result;
1428 
1429  // Skip the current directory and then start looking for immediate
1430  // subdirectories in the dirs_ list. Stop when we are no longer in
1431  // (direct or indirect) subdirectories of pwd_. Note that we don't
1432  // "know" which order the set will sort A/B, A/B/C and A/D.
1433  while (++i != e && isSubdirectory(pwd_, *i))
1434  if (i->find('/', pwd_.size()+1) == std::string::npos)
1435  result.push_back(*i);
1436 
1437  return result;
1438 }
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:456
std::set< std::string > dirs_
Definition: DQMStore.h:458
void DQMStore::goUp ( void  )

equivalent to "cd .."

Definition at line 440 of file DQMStore.cc.

References pos, pwd_, and setCurrentFolder().

Referenced by MultiTrackValidator::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(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiPixelInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), and SiPixelInformationExtractor::selectMEList().

441 {
442  size_t pos = pwd_.rfind('/');
443  if (pos == std::string::npos)
444  setCurrentFolder("");
445  else
446  setCurrentFolder(pwd_.substr(0, pos));
447 }
std::string pwd_
Definition: DQMStore.h:456
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
MonitorElement* DQMStore::initialise ( MonitorElement me,
const std::string &  path 
)
private

Referenced by book().

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

Definition at line 295 of file DQMStore.cc.

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

Referenced by DQMStore().

295  {
296  makeDirectory("");
297  reset();
298 
299  // set steerable parameters
300  verbose_ = pset.getUntrackedParameter<int>("verbose", 0);
301  if (verbose_ > 0)
302  std::cout << "DQMStore: verbosity set to " << verbose_ << std::endl;
303 
304  verboseQT_ = pset.getUntrackedParameter<int>("verboseQT", 0);
305  if (verbose_ > 0)
306  std::cout << "DQMStore: QTest verbosity set to " << verboseQT_ << std::endl;
307 
308  collateHistograms_ = pset.getUntrackedParameter<bool>("collateHistograms", false);
309  if (collateHistograms_)
310  std::cout << "DQMStore: histogram collation is enabled\n";
311 
312  std::string ref = pset.getUntrackedParameter<std::string>("referenceFileName", "");
313  if (! ref.empty())
314  {
315  std::cout << "DQMStore: using reference file '" << ref << "'\n";
316  readFile(ref, true, "", s_referenceDirName, StripRunDirs, false);
317  }
318 
319  initQCriterion<Comp2RefChi2>(qalgos_);
320  initQCriterion<Comp2RefKolmogorov>(qalgos_);
321  initQCriterion<ContentsXRange>(qalgos_);
322  initQCriterion<ContentsYRange>(qalgos_);
323  initQCriterion<MeanWithinExpected>(qalgos_);
324  initQCriterion<Comp2RefEqualH>(qalgos_);
325  initQCriterion<DeadChannel>(qalgos_);
326  initQCriterion<NoisyChannel>(qalgos_);
327  initQCriterion<ContentsWithinExpected>(qalgos_);
328  initQCriterion<CompareToMedian>(qalgos_);
329  initQCriterion<CompareLastFilledBin>(qalgos_);
330 }
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:2472
static std::string s_referenceDirName
Definition: DQMStore.cc:48
unsigned verboseQT_
Definition: DQMStore.h:451
QAMap qalgos_
Definition: DQMStore.h:461
unsigned verbose_
Definition: DQMStore.h:450
tuple cout
Definition: gather_cfg.py:121
void reset(void)
Definition: DQMStore.cc:1727
bool collateHistograms_
Definition: DQMStore.h:453
void makeDirectory(const std::string &path)
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition: DQMStore.cc:452
bool DQMStore::isCollateME ( MonitorElement me) const
private

Definition at line 2781 of file DQMStore.cc.

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

Referenced by extract().

2782 { return me && isSubdirectory(s_collateDirName, *me->data_.dirname); }
static std::string s_collateDirName
Definition: DQMStore.cc:49
const std::string * dirname
Definition: DQMNet.h:100
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 2447 of file DQMStore.cc.

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

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

2450 {
2451  bool overwrite = true;
2452  if (collateHistograms_) overwrite = false;
2453  if (verbose_)
2454  {
2455  std::cout << "DQMStore::load: reading from file '" << filename << "'\n";
2456  if (collateHistograms_)
2457  std::cout << "DQMStore::load: in collate mode " << "\n";
2458  else
2459  std::cout << "DQMStore::load: in overwrite mode " << "\n";
2460  }
2461 
2462  return readFile(filename,overwrite,"","",stripdirs,fileMustExist);
2463 
2464 }
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:2472
unsigned verbose_
Definition: DQMStore.h:450
tuple filename
Definition: lut2db_cfg.py:20
tuple cout
Definition: gather_cfg.py:121
bool collateHistograms_
Definition: DQMStore.h:453
void DQMStore::makeDirectory ( const std::string &  path)
private

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

Definition at line 452 of file DQMStore.cc.

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

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

453 {
454  std::string prev;
455  std::string subdir;
456  std::string name;
457  prev.reserve(path.size());
458  subdir.reserve(path.size());
459  name.reserve(path.size());
460  size_t prevname = 0;
461  size_t slash = 0;
462 
463  while (true)
464  {
465  // Create this subdirectory component.
466  subdir.clear();
467  subdir.append(path, 0, slash);
468  name.clear();
469  name.append(subdir, prevname, std::string::npos);
470  if (! prev.empty() && findObject(prev, name))
471  raiseDQMError("DQMStore", "Attempt to create subdirectory '%s'"
472  " which already exists as a monitor element",
473  subdir.c_str());
474 
475  if (! dirs_.count(subdir))
476  dirs_.insert(subdir);
477 
478  // Stop if we've reached the end (including possibly a trailing slash).
479  if (slash+1 >= path.size())
480  break;
481 
482  // Find the next slash, making sure we progress. If reach the end,
483  // process the last path component; the next loop round will terminate.
484  prevname = slash ? slash+1 : slash;
485  prev = subdir;
486  if ((slash = path.find('/', ++slash)) == std::string::npos)
487  slash = path.size();
488  }
489 }
list path
Definition: scaleCards.py:51
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
std::set< std::string > dirs_
Definition: DQMStore.h:458
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
bool DQMStore::open ( const std::string &  filename,
bool  overwrite = false,
const std::string &  onlypath = "",
const std::string &  prepend = "",
OpenRunDirs  stripdirs = KeepRunDirs,
bool  fileMustExist = true 
)

public open/read root file <filename>, and copy MonitorElements; if flag=true, overwrite identical MonitorElements (default: false); if onlypath != "", read only selected directory if prepend !="", prepend string to path note: by default this method keeps the dir structure as in file and does not update monitor element references!

Definition at line 2432 of file DQMStore.cc.

References readFile().

Referenced by SiStripCalibLorentzAngle::algoBeginJob(), ElectronDqmAnalyzerBase::beginJob(), 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(), PFDQMEventSelector::openInputFile(), SiStripOfflineDQM::openInputFile(), DQMHistoryServiceBase::openRequestedFile(), SiStripBadComponentsDQMService::openRequestedFile(), BuildTrackerMapPlugin::read(), PhotonOfflineClient::runClient(), ConversionPostprocessing::runPostprocessing(), PhotonPostprocessing::runPostprocessing(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), and StatisticsFilter::StatisticsFilter().

2438 {
2439  return readFile(filename,overwrite,onlypath,prepend,stripdirs,fileMustExist);
2440 }
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:2472
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 342 of file DQMStore.cc.

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

Referenced by book().

343 {
344  static std::ofstream stream("histogramBookingBT.log");
345  void *array[10];
346  size_t size;
347  char **strings;
348  int r=0;
349  lat::RegexpMatch m;
350  m.reset();
351 
352  size = backtrace (array, 10);
353  strings = backtrace_symbols (array, size);
354 
355  if ((size > 4)
356  &&s_rxtrace.match(strings[4], 0, 0, &m))
357  {
358  char * demangled = abi::__cxa_demangle(m.matchString(strings[4], 2).c_str(), 0, 0, &r);
359  stream << "\"" << dir << "/"
360  << name << "\" "
361  << (r ? m.matchString(strings[4], 2) : demangled) << " "
362  << m.matchString(strings[4], 1) << "\n";
363  free(demangled);
364  }
365  else
366  stream << "Skipping "<< dir << "/" << name
367  << " with stack size " << size << "\n";
368  /* In this case print the full stack trace, up to main or to the
369  * maximum stack size, i.e. 10. */
370  if (verbose_ > 4)
371  {
372  size_t i;
373  m.reset();
374 
375  for (i = 0; i < size; i++)
376  if (s_rxtrace.match(strings[i], 0, 0, &m))
377  {
378  char * demangled = abi::__cxa_demangle(m.matchString(strings[i], 2).c_str(), 0, 0, &r);
379  stream << "\t\t" << i << "/" << size << " "
380  << (r ? m.matchString(strings[i], 2) : demangled) << " "
381  << m.matchString(strings[i], 1) << std::endl;
382  free (demangled);
383  }
384  }
385  free (strings);
386 }
int i
Definition: DBlmapReader.cc:9
static const lat::Regexp s_rxtrace("(.*)\\((.*)\\+0x.*\\).*")
unsigned verbose_
Definition: DQMStore.h:450
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 401 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), ecaldqm::MESetChannel::append_(), HcalDataCertification::beginJob(), HcalDAQInfo::beginJob(), SiStripSpyMonitorModule::beginJob(), CalibrationScanTask::book(), CalibrationTask::book(), FineDelayTask::book(), LatencyTask::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(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiPixelInformationExtractor::getMEList(), SiStripUtility::getModuleFolderList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripQualityChecker::getModuleStatus(), SiPixelInformationExtractor::getSingleModuleHistos(), SiStripSummaryCreator::getSummaryME(), SiPixelActionExecutor::getSummaryME(), SiStripUtility::getTopFolderPath(), SiPixelInformationExtractor::getTrackerMapHistos(), ContentReader::give_files(), ContentReader::give_subdirs(), 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().

402 { return pwd_; }
std::string pwd_
Definition: DQMStore.h:456
unsigned int DQMStore::readDirectory ( TFile *  file,
bool  overwrite,
const std::string &  onlypath,
const std::string &  prepend,
const std::string &  curdir,
OpenRunDirs  stripdirs 
)
private

read ROOT objects from file <file> in directory <onlypath>; return total # of ROOT objects read

Definition at line 2277 of file DQMStore.cc.

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

Referenced by readFile().

2283 {
2284  unsigned int ntot = 0;
2285  unsigned int count = 0;
2286 
2287  if (! file->cd(curdir.c_str()))
2288  raiseDQMError("DQMStore", "Failed to process directory '%s' while"
2289  " reading file '%s'", curdir.c_str(), file->GetName());
2290 
2291  // Figure out current directory name, but strip out the top
2292  // directory into which we dump everything.
2293  std::string dirpart = curdir;
2294  if (dirpart.compare(0, s_monitorDirName.size(), s_monitorDirName) == 0)
2295  {
2296  if (dirpart.size() == s_monitorDirName.size())
2297  dirpart.clear();
2298  else if (dirpart[s_monitorDirName.size()] == '/')
2299  dirpart.erase(0, s_monitorDirName.size()+1);
2300  }
2301 
2302  // See if we are going to skip this directory.
2303  bool skip = (! onlypath.empty() && ! isSubdirectory(onlypath, dirpart));
2304 
2305  if (prepend == s_collateDirName ||
2306  prepend == s_referenceDirName ||
2307  stripdirs == StripRunDirs )
2308  {
2309  // Remove Run # and RunSummary dirs
2310  // first look for Run summary,
2311  // if that is found and erased, also erase Run dir
2312  size_t slash = dirpart.find('/');
2313  size_t pos = dirpart.find("/Run summary");
2314  if (slash != std::string::npos && pos !=std::string::npos)
2315  {
2316  dirpart.erase(pos,12);
2317 
2318  pos = dirpart.find("Run ");
2319  size_t length = dirpart.find('/',pos+1)-pos+1;
2320  if (pos !=std::string::npos)
2321  dirpart.erase(pos,length);
2322  }
2323  }
2324 
2325  // If we are prepending, add it to the directory name,
2326  // and suppress reading of already existing reference histograms
2327  if (prepend == s_collateDirName ||
2328  prepend == s_referenceDirName)
2329  {
2330  size_t slash = dirpart.find('/');
2331  // If we are reading reference, skip previous reference.
2332  if (slash == std::string::npos // skip if Reference is toplevel folder, i.e. no slash
2333  && slash+1+s_referenceDirName.size() == dirpart.size()
2334  && dirpart.compare(slash+1, s_referenceDirName.size(), s_referenceDirName) == 0)
2335  return 0;
2336 
2337  slash = dirpart.find('/');
2338  // Skip reading of EventInfo subdirectory.
2339  if (slash != std::string::npos
2340  && slash + 10 == dirpart.size()
2341  && dirpart.compare( slash+1 , 9 , "EventInfo") == 0) {
2342  if (verbose_)
2343  std::cout << "DQMStore::readDirectory: skipping '" << dirpart << "'\n";
2344  return 0;
2345  }
2346 
2347  // Add prefix.
2348  if (dirpart.empty())
2349  dirpart = prepend;
2350  else
2351  dirpart = prepend + '/' + dirpart;
2352  }
2353  else if (! prepend.empty())
2354  {
2355  if (dirpart.empty())
2356  dirpart = prepend;
2357  else
2358  dirpart = prepend + '/' + dirpart;
2359  }
2360 
2361  // Loop over the contents of this directory in the file.
2362  // Post-pone string object handling to happen after other
2363  // objects have been read in so we are guaranteed to have
2364  // histograms by the time we read in quality tests and tags.
2365  TKey *key;
2366  TIter next (gDirectory->GetListOfKeys());
2367  std::list<TObject *> delayed;
2368  while ((key = (TKey *) next()))
2369  {
2370  std::auto_ptr<TObject> obj(key->ReadObj());
2371  if (dynamic_cast<TDirectory *>(obj.get()))
2372  {
2373  std::string subdir;
2374  subdir.reserve(curdir.size() + strlen(obj->GetName()) + 2);
2375  subdir += curdir;
2376  if (! curdir.empty())
2377  subdir += '/';
2378  subdir += obj->GetName();
2379 
2380  ntot += readDirectory(file, overwrite, onlypath, prepend, subdir, stripdirs);
2381  }
2382  else if (skip)
2383  ;
2384  else if (dynamic_cast<TObjString *>(obj.get()))
2385  {
2386  delayed.push_back(obj.release());
2387  }
2388  else
2389  {
2390  if (verbose_ > 2)
2391  std::cout << "DQMStore: reading object '" << obj->GetName()
2392  << "' of type '" << obj->IsA()->GetName()
2393  << "' from '" << file->GetName()
2394  << "' into '" << dirpart << "'\n";
2395 
2396  makeDirectory(dirpart);
2397  if (extract(obj.get(), dirpart, overwrite))
2398  ++count;
2399  }
2400  }
2401 
2402  while (! delayed.empty())
2403  {
2404  if (verbose_ > 2)
2405  std::cout << "DQMStore: reading object '" << delayed.front()->GetName()
2406  << "' of type '" << delayed.front()->IsA()->GetName()
2407  << "' from '" << file->GetName()
2408  << "' into '" << dirpart << "'\n";
2409 
2410  makeDirectory(dirpart);
2411  if (extract(delayed.front(), dirpart, overwrite))
2412  ++count;
2413 
2414  delete delayed.front();
2415  delayed.pop_front();
2416  }
2417 
2418  if (verbose_ > 1)
2419  std::cout << "DQMStore: read " << count << '/' << ntot
2420  << " objects from directory '" << dirpart << "'\n";
2421 
2422  return ntot + count;
2423 }
static std::string s_collateDirName
Definition: DQMStore.cc:49
static std::string s_referenceDirName
Definition: DQMStore.cc:48
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:1771
unsigned verbose_
Definition: DQMStore.h:450
unsigned int readDirectory(TFile *file, bool overwrite, const std::string &path, const std::string &prepend, const std::string &curdir, OpenRunDirs stripdirs)
Definition: DQMStore.cc:2277
list key
Definition: combine.py:13
tuple cout
Definition: gather_cfg.py:121
static std::string s_monitorDirName
name of global monitoring folder (containing all sources subdirectories)
Definition: DQMStore.cc:47
void makeDirectory(const std::string &path)
get folder corresponding to inpath wrt to root (create subdirs if necessary)
Definition: DQMStore.cc:452
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 2472 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().

2478 {
2479 
2480  if (verbose_)
2481  std::cout << "DQMStore::readFile: reading from file '" << filename << "'\n";
2482 
2483  std::auto_ptr<TFile> f;
2484 
2485  try
2486  {
2487  f.reset(TFile::Open(filename.c_str()));
2488  if (! f.get() || f->IsZombie())
2489  raiseDQMError("DQMStore", "Failed to open file '%s'", filename.c_str());
2490  }
2491  catch (std::exception &)
2492  {
2493  if (fileMustExist)
2494  throw;
2495  else
2496  {
2497  if (verbose_)
2498  std::cout << "DQMStore::readFile: file '" << filename << "' does not exist, continuing\n";
2499  return false;
2500  }
2501  }
2502 
2503  unsigned n = readDirectory(f.get(), overwrite, onlypath, prepend, "", stripdirs);
2504  f->Close();
2505 
2506  MEMap::iterator mi = data_.begin();
2507  MEMap::iterator me = data_.end();
2508  for ( ; mi != me; ++mi)
2509  const_cast<MonitorElement &>(*mi).updateQReportStats();
2510 
2511  if (verbose_)
2512  {
2513  std::cout << "DQMStore::open: successfully read " << n
2514  << " objects from file '" << filename << "'";
2515  if (! onlypath.empty())
2516  std::cout << " from directory '" << onlypath << "'";
2517  if (! prepend.empty())
2518  std::cout << " into directory '" << prepend << "'";
2519  std::cout << std::endl;
2520  }
2521  return true;
2522 }
double f[11][100]
unsigned verbose_
Definition: DQMStore.h:450
MEMap data_
Definition: DQMStore.h:457
unsigned int readDirectory(TFile *file, bool overwrite, const std::string &path, const std::string &prepend, const std::string &curdir, OpenRunDirs stripdirs)
Definition: DQMStore.cc:2277
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 2550 of file DQMStore.cc.

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

2551 {
2552  MonitorElement proto(&dir, std::string());
2553  MEMap::iterator e = data_.end();
2554  MEMap::iterator i = data_.lower_bound(proto);
2555  while (i != e && isSubdirectory(dir, *i->data_.dirname))
2556  if (dir == *i->data_.dirname)
2557  data_.erase(i++);
2558  else
2559  ++i;
2560 }
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:457
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 2572 of file DQMStore.cc.

References pwd_.

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

2573 {
2575 }
void removeElement(const std::string &name)
Definition: DQMStore.cc:2572
std::string pwd_
Definition: DQMStore.h:456
void DQMStore::removeElement ( const std::string &  dir,
const std::string &  name,
bool  warning = true 
)

remove monitoring element from directory; if warning = true, print message if element does not exist

Definition at line 2580 of file DQMStore.cc.

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

2581 {
2582  MonitorElement proto(&dir, name);
2583  MEMap::iterator pos = data_.find(proto);
2584  if (pos == data_.end() && warning)
2585  std::cout << "DQMStore: WARNING: attempt to remove non-existent"
2586  << " monitor element '" << name << "' in '" << dir << "'\n";
2587  else
2588  data_.erase(pos);
2589 }
MEMap data_
Definition: DQMStore.h:457
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 1727 of file DQMStore.cc.

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

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

1728 {
1729  MEMap::iterator mi = data_.begin();
1730  MEMap::iterator me = data_.end();
1731  for ( ; mi != me; ++mi)
1732  {
1733  MonitorElement &me = const_cast<MonitorElement &>(*mi);
1734  if (mi->wasUpdated())
1735  {
1736  if (me.resetMe())
1737  me.Reset();
1738  me.resetUpdate();
1739  }
1740  }
1741 
1742  reset_ = true;
1743 }
void resetUpdate(void)
reset &quot;was updated&quot; flag
bool reset_
Definition: DQMStore.h:452
MEMap data_
Definition: DQMStore.h:457
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 2530 of file DQMStore.cc.

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

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

2531 {
2532  std::string clean;
2533  const std::string *cleaned = 0;
2534  cleanTrailingSlashes(path, clean, cleaned);
2535  MonitorElement proto(cleaned, std::string());
2536 
2537  MEMap::iterator e = data_.end();
2538  MEMap::iterator i = data_.lower_bound(proto);
2539  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
2540  data_.erase(i++);
2541 
2542  std::set<std::string>::iterator de = dirs_.end();
2543  std::set<std::string>::iterator di = dirs_.lower_bound(*cleaned);
2544  while (di != de && isSubdirectory(*cleaned, *di))
2545  dirs_.erase(di++);
2546 }
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
list path
Definition: scaleCards.py:51
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
std::set< std::string > dirs_
Definition: DQMStore.h:458
void DQMStore::runQTests ( void  )

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

Definition at line 2682 of file DQMStore.cc.

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

2683 {
2684 
2685  if (verbose_ > 0)
2686  std::cout << "DQMStore: running runQTests() with reset = "
2687  << ( reset_ ? "true" : "false" ) << std::endl;
2688 
2689  // Apply quality tests to each monitor element, skipping references.
2690  MEMap::iterator mi = data_.begin();
2691  MEMap::iterator me = data_.end();
2692  for ( ; mi != me; ++mi)
2693  if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
2694  const_cast<MonitorElement &>(*mi).runQTests();
2695 
2696  reset_ = false;
2697 }
static std::string s_referenceDirName
Definition: DQMStore.cc:48
void runQTests(void)
run all quality tests
bool reset_
Definition: DQMStore.h:452
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
unsigned verbose_
Definition: DQMStore.h:450
MEMap data_
Definition: DQMStore.h:457
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 = "",
SaveReferenceTag  ref = SaveWithReference,
int  minStatus = dqm::qstatus::STATUS_OK,
const std::string &  fileupdate = "RECREATE" 
)

save directory with monitoring objects into root file <filename>; include quality test results with status >= minimum_status (defined in Core/interface/QTestStatus.h); if directory="", save full monitoring structure

Definition at line 2113 of file DQMStore.cc.

References cdInto(), gather_cfg::cout, data_, dirs_, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, DQMNet::DQM_PROP_EFFICIENCY_PLOT, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, f, mergeVDriftHistosByStation::file, i, isSubdirectory(), funct::master(), max(), scaleCards::path, raiseDQMError(), linker::replace(), s_monitorDirName, s_referenceDirName, SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest, ntuplemaker::status, and verbose_.

Referenced by SiStripGainFromData::algoEndJob(), 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(), JetFileSaver::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), GenericBenchmarkAnalyzer::endJob(), HcalDigiTester::endJob(), CSCDigiValidation::endJob(), CSCRecHitValidation::endJob(), PFTester::endJob(), ElectronDqmAnalyzerBase::endJob(), TauDQMSimpleFileSaver::endJob(), SiPixelHistoricInfoDQMClient::endJob(), SiPixelDigiValid::endJob(), TrackingTruthValid::endJob(), RPCRecHitProbability::endJob(), MixCollectionValidation::endJob(), RPCMonitorDigi::endJob(), SiPixelHistoricInfoEDAClient::endJob(), MonitorLTC::endJob(), METFileSaver::endJob(), HLTMonBTagClient::endJob(), HLTMonBTagIPSource::endJob(), HLTMonBTagMuSource::endJob(), SiStripMonitorFilter::endJob(), SiStripMonitorHLT::endJob(), SiStripDigiValid::endJob(), TkAlCaRecoMonitor::endJob(), EgammaBasicClusters::endJob(), SiStripMonitorDigi::endJob(), RPCDigiValid::endJob(), HLTMonHcalIsoTrack::endJob(), BxTiming::endJob(), dEdxAnalyzer::endJob(), CaloTowersAnalyzer::endJob(), EgammaSuperClusters::endJob(), HcalSimHitStudy::endJob(), ZdcSimHitStudy::endJob(), LaserDQM::endJob(), DTtTrigDBValidation::endJob(), DataCertificationJetMET::endJob(), SiStripMonitorCluster::endJob(), SiStripLAProfileBooker::endJob(), MonitorTrackResiduals::endJob(), TrackingMonitor::endJob(), SiStripCommissioningSource::endJob(), TrackSplittingMonitor::endJob(), DTnoiseDBValidation::endJob(), BTagValidator::endJob(), GlobalTest::endJob(), TestSuite::endJob(), HLTAlCaMonEcalPhiSym::endJob(), DQMHcalDiJetsAlCaReco::endJob(), DTt0DBValidation::endJob(), DQMHcalPhiSymAlCaReco::endJob(), SiPixelHitEfficiencySource::endJob(), TrackEfficiencyMonitor::endJob(), SiPixelTrackResidualSource::endJob(), DQMSourceEleCalib::endJob(), HcalNoiseRates::endJob(), HcalSimHitsValidation::endJob(), LaserAlignmentT0ProducerDQM::endJob(), L1TDTTF::endJob(), L1TDTTPG::endJob(), GlobalMuonMatchAnalyzer::endJob(), APVValidationPlots::endJob(), StripValidationPlots::endJob(), SiPixelHLTSource::endJob(), SiStripFEDCheckPlugin::endJob(), HcalRecHitsClient::endJob(), NoiseRatesClient::endJob(), ElectronConversionRejectionValidator::endJob(), CaloTowersDQMClient::endJob(), HcalNoiseRatesClient::endJob(), HcalRecHitsDQMClient::endJob(), CaloTowersClient::endJob(), SiPixelDigiSource::endJob(), LogMessageMonitor::endJob(), L1TCSCTPG::endJob(), MuonTrackResidualAnalyzer::endJob(), SiPixelRawDataErrorSource::endJob(), HLTMon::endJob(), SiStripSpyMonitorModule::endJob(), SiStripMonitorTrack::endJob(), SiPixelRecHitsValid::endJob(), TkConvValidator::endJob(), MuonTrackAnalyzer::endJob(), L1TRPCTF::endJob(), SiStripRecHitsValid::endJob(), PhotonValidator::endJob(), L1TdeCSCTF::endJob(), SiPixelRecHitSource::endJob(), JPTJetAnalyzer::endJob(), HLTAlCaMonPi0::endJob(), DQMSourcePi0::endJob(), L1TGMT::endJob(), SiStripFEDMonitorPlugin::endJob(), SiPixelClusterSource::endJob(), SiStripOfflineDQM::endJob(), L1TCSCTF::endJob(), SiStripTrackingRecHitsValid::endJob(), L1TRPCTPG::endJob(), TauTagValidation::endJob(), DQMHcalIsoTrackAlCaReco::endJob(), SiStripCMMonitorPlugin::endJob(), L1TCompare::endJob(), RCTMonitor::endJob(), RPCTTUMonitor::endJob(), MuonAlignment::endJob(), ValidationHcalIsoTrackAlCaReco::endJob(), TopValidation::endJob(), PiZeroAnalyzer::endJob(), L1TRCT::endJob(), RPCMonitorSync::endJob(), SiPixelMuonHLT::endJob(), PhotonAnalyzer::endJob(), ZToMuMuGammaAnalyzer::endJob(), L1TdeRCT::endJob(), SiPixelOfflineCalibAnalysisBase::endJob(), L1TGCT::endJob(), SiPixelHistoricInfoDQMClient::endRun(), SiPixelHistoricInfoEDAClient::endRun(), MultiTrackValidator::endRun(), RecoMuonValidator::endRun(), RPCEfficiencyPerRingLayer::endRun(), RPCEfficiencyShiftHisto::endRun(), SaveDQMFile::endRun(), SiStripMonitorRawData::endRun(), SiStripMonitorQuality::endRun(), SiStripMonitorPedestals::endRun(), EcalSelectiveReadoutValidation::endRun(), V0Validator::endRun(), RPCEfficiency::endRun(), MuonTrackValidator::endRun(), BeamHaloAnalyzer::endRun(), RPCEfficiencySecond::endRun(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), evf::iDie::perLumiFileSaver(), evf::iDie::perTimeFileSaver(), RPCMonitorSync::readRPCDAQStrips(), 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().

2120 {
2121  std::set<std::string>::iterator di, de;
2122  MEMap::iterator mi, me = data_.end();
2123  DQMNet::QReports::const_iterator qi, qe;
2124  int nme=0;
2125 
2126  // TFile flushes to disk with fsync() on every TDirectory written to the
2127  // file. This makes DQM file saving painfully slow, and ironically makes
2128  // it _more_ likely the file saving gets interrupted and corrupts the file.
2129  // The utility class below simply ignores the flush synchronisation.
2130  class TFileNoSync : public TFile
2131  {
2132  public:
2133  TFileNoSync(const char *file, const char *opt) : TFile(file, opt) {}
2134  virtual Int_t SysSync(Int_t) { return 0; }
2135  };
2136 
2137  // open output file, on 1st save recreate, later update
2138  if (verbose_)
2139  std::cout << "\n DQMStore: Opening TFile '" << filename
2140  << "' with option '" << fileupdate <<"'\n";
2141 
2142  TFileNoSync f(filename.c_str(), fileupdate.c_str()); // open file
2143  if(f.IsZombie())
2144  raiseDQMError("DQMStore", "Failed to create/update file '%s'", filename.c_str());
2145  f.cd();
2146 
2147  // Construct a regular expression from the pattern string.
2148  std::auto_ptr<lat::Regexp> rxpat;
2149  if (! pattern.empty())
2150  rxpat.reset(new lat::Regexp(pattern.c_str()));
2151 
2152  // Prepare a path for the reference object selection.
2153  std::string refpath;
2154  refpath.reserve(s_referenceDirName.size() + path.size() + 2);
2155  refpath += s_referenceDirName;
2156  if (! path.empty())
2157  {
2158  refpath += '/';
2159  refpath += path;
2160  }
2161 
2162  // Loop over the directory structure.
2163  for (di = dirs_.begin(), de = dirs_.end(); di != de; ++di)
2164  {
2165  // Check if we should process this directory. We process the
2166  // requested part of the object tree, including references.
2167  if (! path.empty()
2168  && ! isSubdirectory(path, *di)
2169  && ! isSubdirectory(refpath, *di))
2170  continue;
2171 
2172  // Loop over monitor elements in this directory.
2173  MonitorElement proto(&*di, std::string());
2174  mi = data_.lower_bound(proto);
2175  for ( ; mi != me && isSubdirectory(*di, *mi->data_.dirname); ++mi)
2176  {
2177  // Skip if it isn't a direct child.
2178  if (*di != *mi->data_.dirname)
2179  continue;
2180 
2181  // Handle reference histograms, with three distinct cases:
2182  // 1) Skip all references entirely on saving.
2183  // 2) Blanket saving of all references.
2184  // 3) Save only references for monitor elements with qtests.
2185  // The latter two are affected by "path" sub-tree selection,
2186  // i.e. references are saved only in the selected tree part.
2187  if (isSubdirectory(refpath, *mi->data_.dirname))
2188  {
2189  if (ref == SaveWithoutReference)
2190  // Skip the reference entirely.
2191  continue;
2192  else if (ref == SaveWithReference)
2193  // Save all references regardless of qtests.
2194  ;
2195  else if (ref == SaveWithReferenceForQTest)
2196  {
2197  // Save only references for monitor elements with qtests
2198  // with an optional cut on minimum quality test result.
2199  int status = -1;
2200  std::string mname(mi->getFullname(), s_referenceDirName.size()+1, std::string::npos);
2201  MonitorElement *master = get(mname);
2202  if (master)
2203  for (size_t i = 0, e = master->data_.qreports.size(); i != e; ++i)
2204  status = std::max(status, master->data_.qreports[i].code);
2205 
2206  if (! master || status < minStatus)
2207  {
2208  if (verbose_ > 1)
2209  std::cout << "DQMStore::save: skipping monitor element '"
2210  << mi->data_.objname << "' while saving, status is "
2211  << status << ", required minimum status is "
2212  << minStatus << std::endl;
2213  continue;
2214  }
2215  }
2216  }
2217 
2218  if (verbose_ > 1)
2219  std::cout << "DQMStore::save: saving monitor element '"
2220  << mi->data_.objname << "'\n";
2221  nme++; // count saved histograms
2222 
2223  // Create the directory.
2224  gDirectory->cd("/");
2225  if (di->empty())
2227  else if (rxpat.get())
2228  cdInto(s_monitorDirName + '/' + lat::StringOps::replace(*di, *rxpat, rewrite));
2229  else
2230  cdInto(s_monitorDirName + '/' + *di);
2231 
2232  // Save the object.
2233  switch (mi->kind())
2234  {
2238  TObjString(mi->tagString().c_str()).Write();
2239  break;
2240 
2241  default:
2242  mi->object_->Write();
2243  break;
2244  }
2245 
2246  // Save quality reports if this is not in reference section.
2247  if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
2248  {
2249  qi = mi->data_.qreports.begin();
2250  qe = mi->data_.qreports.end();
2251  for ( ; qi != qe; ++qi)
2252  TObjString(mi->qualityTagString(*qi).c_str()).Write();
2253  }
2254 
2255  // Save efficiency tag, if any
2256  if (mi->data_.flags & DQMNet::DQM_PROP_EFFICIENCY_PLOT)
2257  TObjString(mi->effLabelString().c_str()).Write();
2258 
2259  // Save tag if any
2260  if (mi->data_.flags & DQMNet::DQM_PROP_TAGGED)
2261  TObjString(mi->tagLabelString().c_str()).Write();
2262  }
2263  }
2264 
2265  f.Close();
2266 
2267  // Maybe make some noise.
2268  if (verbose_)
2269  std::cout << "DQMStore::save: successfully wrote " << nme
2270  << " objects from path '" << path
2271  << "' into DQM file '" << filename << "'\n";
2272 }
Master< F > master(const F &f)
Definition: FunctClone.h:68
int i
Definition: DBlmapReader.cc:9
bool cdInto(const std::string &path) const
Definition: DQMStore.cc:2066
static std::string s_referenceDirName
Definition: DQMStore.cc:48
static const uint32_t DQM_PROP_TAGGED
Definition: DQMNet.h:54
def replace
Definition: linker.py:10
static const uint32_t DQM_PROP_EFFICIENCY_PLOT
Definition: DQMNet.h:63
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
list path
Definition: scaleCards.py:51
const T & max(const T &a, const T &b)
double f[11][100]
unsigned verbose_
Definition: DQMStore.h:450
MEMap data_
Definition: DQMStore.h:457
tuple filename
Definition: lut2db_cfg.py:20
tuple cout
Definition: gather_cfg.py:121
tuple status
Definition: ntuplemaker.py:245
static std::string s_monitorDirName
name of global monitoring folder (containing all sources subdirectories)
Definition: DQMStore.cc:47
std::set< std::string > dirs_
Definition: DQMStore.h:458
void raiseDQMError(const char *context, const char *fmt,...)
Definition: DQMError.cc:11
void DQMStore::setAccumulate ( MonitorElement me,
bool  flag 
)
private

if true, will accumulate ME contents (over many periods) until method is called with flag = false again

Definition at line 2751 of file DQMStore.cc.

References MonitorElement::setAccumulate().

2752 {
2753  if (me)
2754  me->setAccumulate(flag);
2755 }
long int flag
Definition: mlp_lapack.h:47
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 429 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), makeDirectory(), and pwd_.

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), HcalSummaryClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), BeamMonitor::analyze(), XmasToDQMSource::analyze(), FourVectorHLT::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), ecaldqm::MESetChannel::append_(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), DQMHOAlCaRecoStream::beginJob(), BenchmarkAnalyzer::beginJob(), PFCandidateDQMAnalyzer::beginJob(), PFJetDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), ElectronDqmAnalyzerBase::beginJob(), GenericBenchmarkAnalyzer::beginJob(), RPCMonitorLinkSynchro::beginJob(), RPCMonitorRaw::beginJob(), PFTester::beginJob(), L1Scalers::beginJob(), ScoutingAnalyzerBase::beginJob(), DQMFileReader::beginJob(), MonitorLTC::beginJob(), TrackAnalyzer::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), HLTMonBTagMuSource::beginJob(), HLTMonBTagClient::beginJob(), DQMSourceExample::beginJob(), HLTMonBTagIPSource::beginJob(), L1TGCTClient::beginJob(), SiStripMonitorFilter::beginJob(), TkAlCaRecoMonitor::beginJob(), EgammaBasicClusters::beginJob(), L1EmulatorErrorFlagClient::beginJob(), RPCDaqInfo::beginJob(), SiPixelCertification::beginJob(), SiPixelDaqInfo::beginJob(), SiPixelDcsInfo::beginJob(), SiStripMonitorHLT::beginJob(), DQMSourceEleCalib::beginJob(), HLTMonHcalIsoTrack::beginJob(), TopElectronHLTOfflineSource::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), dEdxAnalyzer::beginJob(), L1ScalersClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), BxTiming::beginJob(), L1TDTTFClient::beginJob(), L1TDTTPGClient::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), MuonRecoOneHLT::beginJob(), EEDaqInfoTask::beginJob(), HLTMonBitSummary::beginJob(), DQMFEDIntegrityClient::beginJob(), EEDcsInfoTask::beginJob(), EEDataCertificationTask::beginJob(), EgammaSuperClusters::beginJob(), EBDataCertificationTask::beginJob(), DiMuonHistograms::beginJob(), EfficiencyAnalyzer::beginJob(), HLTEventInfoClient::beginJob(), EEClusterTask::beginJob(), EECosmicTask::beginJob(), EBClusterTask::beginJob(), L1TdeGCT::beginJob(), EBCosmicTask::beginJob(), EELaserTask::beginJob(), HcalSimHitStudy::beginJob(), SimHitsValidationHcal::beginJob(), ZdcSimHitStudy::beginJob(), EELedTask::beginJob(), BeamConditionsMonitor::beginJob(), EEPedestalOnlineTask::beginJob(), EEPedestalTask::beginJob(), QcdHighPtDQM::beginJob(), EERawDataTask::beginJob(), EBLaserTask::beginJob(), EEStatusFlagsTask::beginJob(), EETestPulseTask::beginJob(), EBPedestalOnlineTask::beginJob(), EBPedestalTask::beginJob(), EBRawDataTask::beginJob(), EBOccupancyTask::beginJob(), EBStatusFlagsTask::beginJob(), EBTestPulseTask::beginJob(), VertexMonitor::beginJob(), EBTrendTask::beginJob(), EEIntegrityTask::beginJob(), HLTMonPhotonSource::beginJob(), HLTMonPhotonClient::beginJob(), EcalEndcapMonitorModule::beginJob(), EcalBarrelMonitorModule::beginJob(), L1TDEMON::beginJob(), VVVValidation::beginJob(), DTDataIntegrityTest::beginJob(), EBIntegrityTask::beginJob(), EETrendTask::beginJob(), AlcaBeamMonitor::beginJob(), EBTimingTask::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), BasicHepMCHeavyIonValidation::beginJob(), DTBlockedROChannelsTest::beginJob(), TrackBuildingAnalyzer::beginJob(), TrackingMonitor::beginJob(), SegmentTrackAnalyzer::beginJob(), BeamMonitor::beginJob(), EBSelectiveReadoutTask::beginJob(), TrackSplittingMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), BeamMonitorBx::beginJob(), BasicHepMCValidation::beginJob(), DrellYanValidation::beginJob(), WValidation::beginJob(), PFJetAnalyzer::beginJob(), HiggsValidation::beginJob(), L1TOccupancyClient::beginJob(), HTMHTAnalyzer::beginJob(), EETrendClient::beginJob(), EBTrendClient::beginJob(), GlobalTest::beginJob(), EEHltTask::beginJob(), BasicGenParticleValidation::beginJob(), TestSuite::beginJob(), EEOccupancyTask::beginJob(), EBHltTask::beginJob(), EETimingTask::beginJob(), HLTJetMETDQMSource::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), TrackEfficiencyClient::beginJob(), TrackEfficiencyMonitor::beginJob(), JetPtAnalyzer::beginJob(), DQMClientExample::beginJob(), L1TDTTF::beginJob(), L1TDTTPG::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), MuCorrMETAnalyzer::beginJob(), TcMETAnalyzer::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), EBTriggerTowerTask::beginJob(), EETriggerTowerTask::beginJob(), HLTAlCaMonPi0::beginJob(), DuplicationChecker::beginJob(), DQMSourcePi0::beginJob(), APVValidationPlots::beginJob(), StripValidationPlots::beginJob(), JetAnalyzer::beginJob(), L1TRate::beginJob(), ElectronConversionRejectionValidator::beginJob(), TopDiLeptonDQM::beginJob(), HcalDataCertification::beginJob(), GeneralHLTOffline::beginJob(), SiStripFEDCheckPlugin::beginJob(), HcalDCSInfo::beginJob(), L1TLTC::beginJob(), JPTJetAnalyzer::beginJob(), DQMDaqInfo::beginJob(), MuonIdDQM::beginJob(), FourVectorHLT::beginJob(), HLTMonSimpleBTag::beginJob(), L1TCSCTPG::beginJob(), HcalDAQInfo::beginJob(), LogMessageMonitor::beginJob(), HLTMonElectron::beginJob(), HLTMonElectronConsumer::beginJob(), HLTMon::beginJob(), L1TRPCTF::beginJob(), L1TFED::beginJob(), TkConvValidator::beginJob(), TopHLTDiMuonDQM::beginJob(), PhotonValidator::beginJob(), MuonTrackResidualAnalyzer::beginJob(), SiStripSpyMonitorModule::beginJob(), EcalZmassTask::beginJob(), PFMETAnalyzer::beginJob(), MuonTrackAnalyzer::beginJob(), TTbarSpinCorrHepMCAnalyzer::beginJob(), EESelectiveReadoutTask::beginJob(), CaloMETAnalyzer::beginJob(), METAnalyzer::beginJob(), L1TdeCSCTF::beginJob(), TTbar_GenLepAnalyzer::beginJob(), MuonIdVal::beginJob(), SiStripFEDMonitorPlugin::beginJob(), TTbar_GenJetAnalyzer::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1TCSCTF::beginJob(), TTbar_Kinematics::beginJob(), TauValidation::beginJob(), MuonIsolationDQM::beginJob(), MuIsoValidation::beginJob(), EmDQMReco::beginJob(), L1TRPCTPG::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), Vx3DHLTAnalyzer::beginJob(), TauTagValidation::beginJob(), SiStripCMMonitorPlugin::beginJob(), MuonAlignment::beginJob(), L1TCompare::beginJob(), RPCTTUMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), HLTScalers::beginJob(), FourVectorHLTOnline::beginJob(), L1TSync::beginJob(), TopValidation::beginJob(), QcdLowPtDQM::beginJob(), PiZeroAnalyzer::beginJob(), L1TRCT::beginJob(), CastorMonitorModule::beginJob(), TrigResRateMon::beginJob(), EgHLTOfflineSource::beginJob(), L1GtHwValidation::beginJob(), FourVectorHLTriggerOffline::beginJob(), PhotonAnalyzer::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), FourVectorHLTOffline::beginJob(), L1TdeRCT::beginJob(), L1TGCT::beginJob(), HLTScalersClient::beginJob(), 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(), RPCMon_SS_Dbx_Global::beginRun(), HcalRecHitClient::beginRun(), HcalSummaryClient::beginRun(), CaloTowerAnalyzer::beginRun(), HcalRecHitMonitor::beginRun(), RPCBxTest::beginRun(), RPCDataCertification::beginRun(), RPCDCSSummary::beginRun(), RPCOccupancyTest::beginRun(), HcalRawDataClient::beginRun(), MultiTrackValidator::beginRun(), RPCRecHitValid::beginRun(), RPCEventSummary::beginRun(), L1TGMTClient::beginRun(), RPCDcsInfo::beginRun(), RPCRecHitProbability::beginRun(), RPCMonitorDigi::beginRun(), DTOfflineSummaryClients::beginRun(), HLTOniaSource::beginRun(), DQMDcsInfoClient::beginRun(), METTester::beginRun(), HLTMonBitSummary::beginRun(), AlcaBeamMonitor::beginRun(), DQMDcsInfo::beginRun(), RPCDeadChannelTest::beginRun(), RPCMultiplicityTest::beginRun(), SiPixelEDAClient::beginRun(), RPCClusterSizeTest::beginRun(), DQMProvInfo::beginRun(), ZDCMonitorClient::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), RPCEfficiencyShiftHisto::beginRun(), DTSummaryClients::beginRun(), L1TOccupancyClient::beginRun(), DTNoiseTask::beginRun(), MuonAlignmentSummary::beginRun(), DQMEventInfo::beginRun(), DTSegmentAnalysisTask::beginRun(), RPCDBPopConAnalyzer::beginRun(), SiPixelTrackResidualSource::beginRun(), HcalMonitorClient::beginRun(), SiStripMonitorRawData::beginRun(), HLTJetMETDQMSource::beginRun(), L1TGT::beginRun(), GeneralHLTOffline::beginRun(), HeavyFlavorValidation::beginRun(), HLTInclusiveVBFSource::beginRun(), EcalEndcapMonitorClient::beginRun(), EcalBarrelMonitorClient::beginRun(), DTLocalTriggerBaseTask::beginRun(), HLTMuonPlotter::beginRun(), TriggerValidator::beginRun(), BTagHLTOfflineSource::beginRun(), HLTHiggsSubAnalysis::beginRun(), SiPixelClusterSource::beginRun(), HLTJetMETValidation::beginRun(), EcalZmassClient::beginRun(), JetMETHLTOfflineSource::beginRun(), HLTMuonMatchAndPlot::beginRun(), HLTOfflineReproducibility::beginRun(), L1ExtraRecoDQM::beginRun(), FourVectorHLTOnline::beginRun(), V0Validator::beginRun(), EgHLTOfflineSource::beginRun(), TrigResRateMon::beginRun(), L1GtHwValidation::beginRun(), FourVectorHLTriggerOffline::beginRun(), MuonTrackValidator::beginRun(), FourVectorHLTOffline::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), L1ExtraDQM::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCEfficiencySecond::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), CalibrationScanTask::book(), CalibrationTask::book(), FineDelayTask::book(), LatencyTask::book(), TopSingleLepton::MonitorEnsemble::book(), TopHLTSingleLepton::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(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), DQMLumiMonitor::bookHistograms(), L1TGT::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkMuTauHistManager::bookHistograms(), CentralityDQM::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDataIntegrityTest::bookHistos(), DTDCSByLumiTask::bookHistos(), PlotMakerL1::bookHistos(), DTNoiseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerReco::bookHistos(), DTLocalTriggerTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), HiggsDQM::bookHistos(), DTScalerInfoTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), 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(), SiPixelActionExecutor::bookTrackerMaps(), SiStripCertificationInfo::bookTrackingCertificationMEs(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), RPCMonitorDigi::bookWheelDiskME(), DTTriggerEfficiencyTask::bookWheelHistos(), DTLocalTriggerTask::bookWheelHistos(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BxTiming::BxTiming(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), CaloJetTester::CaloJetTester(), CaloJetTesterUnCorr::CaloJetTesterUnCorr(), CaloJetTesterUnCorr_HeavyIons::CaloJetTesterUnCorr_HeavyIons(), CalorimetryManager::CalorimetryManager(), CaloTowersAnalyzer::CaloTowersAnalyzer(), CaloTowersValidation::CaloTowersValidation(), CastorMonitorModule::CastorMonitorModule(), cd(), HcalDataCertification::CertifyHcal(), HcalCoarsePedestalMonitor::cleanup(), HcalNoiseMonitor::cleanup(), HcalNZSMonitor::cleanup(), HcalTrigPrimMonitor::cleanup(), HcalRecHitMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), HcalDetDiagLEDMonitor::cleanup(), HcalDataIntegrityTask::cleanup(), HcalHotCellMonitor::cleanup(), HcalBeamMonitor::cleanup(), HcalDetDiagNoiseMonitor::cleanup(), HcalDeadCellMonitor::cleanup(), EBDaqInfoTask::cleanup(), EELedTask::cleanup(), EECosmicTask::cleanup(), EEPedestalOnlineTask::cleanup(), EEClusterTask::cleanup(), EBCosmicTask::cleanup(), EELaserTask::cleanup(), EBDcsInfoTask::cleanup(), EEPedestalTask::cleanup(), EBClusterTask::cleanup(), EETestPulseTask::cleanup(), EBLaserTask::cleanup(), EBOccupancyTask::cleanup(), EBPedestalOnlineTask::cleanup(), EBPedestalTask::cleanup(), EBTestPulseTask::cleanup(), EBTrendTask::cleanup(), EcalEndcapMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EETrendTask::cleanup(), EBTimingTask::cleanup(), EEDaqInfoTask::cleanup(), EEDataCertificationTask::cleanup(), EEDcsInfoTask::cleanup(), EBDataCertificationTask::cleanup(), EBSelectiveReadoutTask::cleanup(), EBStatusFlagsTask::cleanup(), EBSummaryClient::cleanup(), EESummaryClient::cleanup(), EERawDataTask::cleanup(), EEStatusFlagsTask::cleanup(), EBRawDataTask::cleanup(), EBTrendClient::cleanup(), EETrendClient::cleanup(), EEIntegrityTask::cleanup(), EBIntegrityTask::cleanup(), EEHltTask::cleanup(), EEOccupancyTask::cleanup(), EBHltTask::cleanup(), EETimingTask::cleanup(), EBLaserClient::cleanup(), EELaserClient::cleanup(), EBStatusFlagsClient::cleanup(), EELedClient::cleanup(), EEStatusFlagsClient::cleanup(), EBTimingClient::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBPedestalOnlineClient::cleanup(), EEIntegrityClient::cleanup(), EEPedestalClient::cleanup(), EEPedestalOnlineClient::cleanup(), EBTestPulseClient::cleanup(), EETestPulseClient::cleanup(), EETriggerTowerClient::cleanup(), EBTriggerTowerClient::cleanup(), ZDCMonitorModule::cleanup(), HcalMonitorModule::cleanup(), EETimingClient::cleanup(), HcalDigiMonitor::cleanup(), EESelectiveReadoutTask::cleanup(), HcalDetDiagTimingMonitor::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::createEfficiencyPlots(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiPixelActionExecutor::createMaps(), SiStripMonitorDigi::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorMuonHLT::createMEs(), PFClient::createResolutionPlots(), SiStripCommissioningSource::createRunNumber(), SiPixelActionExecutor::createSummary(), SiStripCommissioningSource::createTask(), SiStripCommissioningSource::createTasks(), CSCDigiValidation::CSCDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmCopyRecursively(), DQMEventInfo::DQMEventInfo(), DTGlobalRecoTask::DTGlobalRecoTask(), DTnoiseDBValidation::DTnoiseDBValidation(), DTt0DBValidation::DTt0DBValidation(), DTtTrigDBValidation::DTtTrigDBValidation(), EgHLTOfflineClient::EgHLTOfflineClient(), EmDQMReco::EmDQMReco(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), ElectronDqmAnalyzerBase::endJob(), HarvestingAnalyzer::endJob(), BTagValidator::endJob(), PhotonAnalyzer::endJob(), ZToMuMuGammaAnalyzer::endJob(), ElectronDqmAnalyzerBase::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HltSusyExoPostProcessor::endRun(), ElectronDqmAnalyzerBase::endRun(), RPCDcsInfoClient::endRun(), RPCRecHitValidClient::endRun(), DQMGenericTnPClient::endRun(), AlcaBeamMonitorClient::endRun(), DQMDcsInfoClient::endRun(), DataCertificationJetMET::endRun(), TauDQMHistEffProducer::endRun(), HLTTauCertifier::endRun(), TauDQMFileLoader::endRun(), DQMOfflineHLTEventInfoClient::endRun(), GlobalHitsProdHistStripper::endRun(), FourVectorHLTClient::endRun(), PhotonDataCertification::endRun(), HLTOverallSummary::endRun(), HLTMuonCertSummary::endRun(), CSCOfflineClient::endRun(), PhotonAnalyzer::endRun(), ZToMuMuGammaAnalyzer::endRun(), EwkElecDQM::EwkElecDQM(), EwkMuDQM::EwkMuDQM(), EwkMuLumiMonitorDQM::EwkMuLumiMonitorDQM(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), FastTimerServiceClient::fillSummaryPlots(), TrackerOfflineValidationSummary::fillTree(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiPixelInformationExtractor::findNoisyPixels(), BeamMonitor::FitAndFill(), TkHistoMap::folderDefinition(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), ContentReader::give_files(), ContentReader::give_subdirs(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), goUp(), HcalRecHitsAnalyzer::HcalRecHitsAnalyzer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HcalSubdetDigiMonitor::HcalSubdetDigiMonitor(), HcalTimingMonitorModule::HcalTimingMonitorModule(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTInclusiveVBFClient::HLTInclusiveVBFClient(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonSimpleBTag::HLTMonSimpleBTag(), HLTMuonOfflineAnalyzer::HLTMuonOfflineAnalyzer(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), evf::iDie::initDQMEventInfo(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), evf::iDie::initMonitorElementsDatasets(), evf::iDie::initMonitorElementsStreams(), LaserDQM::initMonitors(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JPTJetTester::JPTJetTester(), JPTJetTesterUnCorr::JPTJetTesterUnCorr(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1ScalersClient::L1ScalersClient(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), L1TGMTClient::makeEfficiency1D(), L1TGMTClient::makeEfficiency2D(), DQMProvInfo::makeHLTKeyInfo(), PlotCombiner::makePlot(), DQMProvInfo::makeProvInfo(), L1TGMTClient::makeRatio1D(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), RivetAnalyzer::normalizeTree(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), CastorRecHitPerChan::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), PFJetTesterUnCorr::PFJetTesterUnCorr(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), FastTimerService::preBeginRun(), L1TRPCTFClient::processHistograms(), edm::EventStreamHttpReader::read(), SiStripFEDErrorsDQM::readBadAPVs(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), BTagHLTOfflineClient::runClient_(), HcalRecHitsClient::runClient_(), CaloTowersDQMClient::runClient_(), HcalRecHitsDQMClient::runClient_(), CaloTowersClient::runClient_(), HcalNoiseRatesClient::runClient_(), NoiseRatesClient::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(), CastorRecHitMonitor::setup(), CastorHIMonitor::setup(), HcalNZSMonitor::setup(), CastorDataIntegrityMonitor::setup(), CastorPSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalNoiseMonitor::setup(), CastorDigiMonitor::setup(), HcalCoarsePedestalMonitor::setup(), HcalCaloTowerMonitor::setup(), CastorTowerJetMonitor::setup(), HcalRecHitMonitor::setup(), CastorEventDisplay::setup(), HcalBeamMonitor::setup(), HcalLSbyLSMonitor::setup(), HcalDetDiagLEDMonitor::setup(), CastorChannelQualityMonitor::setup(), HcalHotCellMonitor::setup(), HcalDataIntegrityTask::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDeadCellMonitor::setup(), CastorLEDMonitor::setup(), HcalEEUSMonitor::setup(), PFTauElecRejectionBenchmark::setup(), EcalEndcapMonitorModule::setup(), PFJetBenchmark::setup(), PFMETBenchmark::setup(), HcalZDCMonitor::setup(), EBCosmicTask::setup(), EECosmicTask::setup(), EEPedestalOnlineTask::setup(), EELedTask::setup(), EBOccupancyTask::setup(), EEClusterTask::setup(), EBPedestalTask::setup(), EELaserTask::setup(), EBLaserTask::setup(), EBClusterTask::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EBPedestalOnlineTask::setup(), EBTrendTask::setup(), EETrendTask::setup(), EBTestPulseTask::setup(), EcalBarrelMonitorModule::setup(), EBTimingTask::setup(), EBSelectiveReadoutTask::setup(), HcalRawDataMonitor::setup(), EEStatusFlagsTask::setup(), EBSummaryClient::setup(), EERawDataTask::setup(), EBStatusFlagsTask::setup(), EBRawDataTask::setup(), EESummaryClient::setup(), EBIntegrityTask::setup(), EETrendClient::setup(), EEIntegrityTask::setup(), EBTrendClient::setup(), EEHltTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EBHltTask::setup(), EEStatusFlagsClient::setup(), EBStatusFlagsClient::setup(), EBTimingClient::setup(), EBLaserClient::setup(), EELaserClient::setup(), EELedClient::setup(), EETestPulseClient::setup(), EBIntegrityClient::setup(), EBPedestalOnlineClient::setup(), EBPedestalClient::setup(), EEIntegrityClient::setup(), EBOccupancyClient::setup(), EEPedestalOnlineClient::setup(), EEOccupancyClient::setup(), EEPedestalClient::setup(), EBTestPulseClient::setup(), EEClusterClient::setup(), EBClusterClient::setup(), EBTriggerTowerClient::setup(), EETriggerTowerClient::setup(), EETimingClient::setup(), HcalBaseDQMonitor::setup(), HcalMonitorModule::setup(), ZDCMonitorModule::setup(), HcalDigiMonitor::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EETriggerTowerTask::setup(), HcalDetDiagTimingMonitor::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(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), SubTaskSummaryStatus::WriteThreshold(), and XmasToDQMEventInfo::XmasToDQMEventInfo().

430 {
431  std::string clean;
432  const std::string *cleaned = 0;
433  cleanTrailingSlashes(fullpath, clean, cleaned);
434  makeDirectory(*cleaned);
435  pwd_ = *cleaned;
436 }
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
std::string pwd_
Definition: DQMStore.h:456
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:452
void DQMStore::setVerbose ( unsigned  level)

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

Definition at line 393 of file DQMStore.cc.

Referenced by RPCRecHitProbabilityClient::beginJob(), ElectronDqmAnalyzerBase::beginJob(), RPCDqmClient::beginJob(), L1Scalers::beginJob(), ScoutingAnalyzerBase::beginJob(), HLTMonBTagIPSource::beginJob(), HLTMonBTagMuSource::beginJob(), HLTMonBTagClient::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), PiZeroAnalyzer::beginJob(), ReadMeFromFile::beginRun(), SaveDQMFile::beginRun(), SiStripCommissioningOfflineClient::beginRun(), SiStripCommissioningSource::beginRun(), HeavyFlavorValidation::beginRun(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BTagHLTOfflineSource::BTagHLTOfflineSource(), BxTiming::BxTiming(), ConversionPostprocessing::ConversionPostprocessing(), DTSegment2DQuality::DTSegment2DQuality(), EgHLTOfflineClient::EgHLTOfflineClient(), EgHLTOfflineSource::EgHLTOfflineSource(), EmDQMReco::EmDQMReco(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), HLTInclusiveVBFClient::HLTInclusiveVBFClient(), HLTInclusiveVBFSource::HLTInclusiveVBFSource(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonBitSummary::HLTMonBitSummary(), HLTMonMuonClient::HLTMonMuonClient(), HLTMonSimpleBTag::HLTMonSimpleBTag(), HLTMuonCertSummary::HLTMuonCertSummary(), HLTMuonOfflineAnalyzer::HLTMuonOfflineAnalyzer(), HLTMuonPlotter::HLTMuonPlotter(), HLTOverallSummary::HLTOverallSummary(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLXMonitor::HLXMonitor(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JetMETHLTOfflineSource::JetMETHLTOfflineSource(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), SiStripBadComponentsDQMService::openRequestedFile(), PhotonDataCertification::PhotonDataCertification(), PhotonOfflineClient::PhotonOfflineClient(), PhotonPostprocessing::PhotonPostprocessing(), CommissioningHistograms::remove(), RivetAnalyzer::RivetAnalyzer(), SimHitsValidationHcal::SimHitsValidationHcal(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TopElectronHLTOfflineSource::TopElectronHLTOfflineSource(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), and ZdcSimHitStudy::ZdcSimHitStudy().

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

Definition at line 2761 of file DQMStore.cc.

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

Referenced by 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(), HcalBaseDQClient::beginJob(), DQMSourceExample::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), ZDCMonitorClient::beginJob(), GlobalTest::beginJob(), TestSuite::beginJob(), MuonTrackResidualAnalyzer::beginJob(), MuonTrackAnalyzer::beginJob(), RPCTTUMonitor::beginJob(), PiZeroAnalyzer::beginJob(), DTSegment2DQuality::DTSegment2DQuality(), EcalBarrelMonitorDbModule::EcalBarrelMonitorDbModule(), EcalEndcapMonitorDbModule::EcalEndcapMonitorDbModule(), dEdxAnalyzer::endJob(), DataCertificationJetMET::endJob(), TrackingMonitor::endJob(), TrackSplittingMonitor::endJob(), BTagValidator::endJob(), TrackEfficiencyMonitor::endJob(), LaserAlignmentT0ProducerDQM::endJob(), LogMessageMonitor::endJob(), SiStripMonitorTrack::endJob(), RCTMonitor::endJob(), TopValidation::endJob(), DataCertificationJetMET::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), DataCertificationJetMET::endRun(), TauDQMFileLoader::endRun(), SiStripMonitorRawData::endRun(), SiStripMonitorQuality::endRun(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), LaserDQM::initMonitors(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), RecoMuonValidator::RecoMuonValidator(), HLXMonitor::SetupHists(), HistoProviderDQM::show(), SimHitsValidationHcal::SimHitsValidationHcal(), and ZdcSimHitStudy::ZdcSimHitStudy().

2762 {
2763  std::vector<std::string> contents;
2764  getContents(contents);
2765 
2766  std::cout << " ------------------------------------------------------------\n"
2767  << " Directory structure: \n"
2768  << " ------------------------------------------------------------\n";
2769 
2770  std::copy(contents.begin(), contents.end(),
2771  std::ostream_iterator<std::string>(std::cout, "\n"));
2772 
2773  std::cout << " ------------------------------------------------------------\n";
2774 }
std::vector< MonitorElement * > getContents(const std::string &path) const
Definition: DQMStore.cc:1497
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 2734 of file DQMStore.cc.

References MonitorElement::softReset().

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

2735 {
2736  if (me)
2737  me->softReset();
2738 }
void softReset(void)
void DQMStore::tag ( MonitorElement me,
unsigned int  myTag 
)

tag ME as <myTag> (myTag > 0)

Definition at line 1354 of file DQMStore.cc.

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

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

1355 {
1356  if (! myTag)
1357  raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
1358  " with a zero tag", me->getFullname().c_str());
1359  if ((me->data_.flags & DQMNet::DQM_PROP_TAGGED) && myTag != me->data_.tag)
1360  raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
1361  " twice with multiple tags", me->getFullname().c_str());
1362 
1363  me->data_.tag = myTag;
1365 }
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 1369 of file DQMStore.cc.

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

1370 {
1371  std::string dir;
1372  std::string name;
1373  splitPath(dir, name, path);
1374 
1375  if (MonitorElement *me = findObject(dir, name))
1376  tag(me, myTag);
1377  else
1378  raiseDQMError("DQMStore", "Attempt to tag non-existent monitor element"
1379  " '%s' with tag %u", path.c_str(), myTag);
1380 
1381 }
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:1354
list path
Definition: scaleCards.py:51
MonitorElement * findObject(const std::string &dir, const std::string &name) const
Definition: DQMStore.cc:1598
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 1397 of file DQMStore.cc.

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

1398 {
1399  std::string clean;
1400  const std::string *cleaned = 0;
1401  cleanTrailingSlashes(path, clean, cleaned);
1402  MonitorElement proto(cleaned, std::string());
1403 
1404  // FIXME: WILDCARDS? Old one supported them, but nobody seemed to use them.
1405  MEMap::iterator e = data_.end();
1406  MEMap::iterator i = data_.lower_bound(proto);
1407  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
1408  {
1409  tag(const_cast<MonitorElement *>(&*i), myTag);
1410  ++i;
1411  }
1412 }
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:1354
static bool isSubdirectory(const std::string &ofdir, const std::string &path)
Definition: DQMStore.cc:61
list path
Definition: scaleCards.py:51
std::vector< T * > clean
Definition: MVATrainer.cc:156
MEMap data_
Definition: DQMStore.h:457
void DQMStore::tagContents ( const std::string &  path,
unsigned int  myTag 
)

tag all children of folder (does NOT include subfolders)

Definition at line 1385 of file DQMStore.cc.

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

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

1386 {
1387  MonitorElement proto(&path, std::string());
1388  MEMap::iterator e = data_.end();
1389  MEMap::iterator i = data_.lower_bound(proto);
1390  for ( ; i != e && path == *i->data_.dirname; ++i)
1391  tag(const_cast<MonitorElement *>(&*i), myTag);
1392 }
int i
Definition: DBlmapReader.cc:9
void tag(MonitorElement *me, unsigned int myTag)
Definition: DQMStore.cc:1354
list path
Definition: scaleCards.py:51
MEMap data_
Definition: DQMStore.h:457
void DQMStore::useQTest ( const std::string &  dir,
const std::string &  qtname 
)

attach quality test <qtname> to directory contents (need exact pathname without wildcards, e.g. A/B/C);

Definition at line 2629 of file DQMStore.cc.

References clean, cleanTrailingSlashes(), raiseDQMError(), s_safe, and useQTestByMatch().

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

2630 {
2631  // Clean the path
2632  std::string clean;
2633  const std::string *cleaned = 0;
2634  cleanTrailingSlashes(dir, clean, cleaned);
2635 
2636  // Validate the path.
2637  if (cleaned->find_first_not_of(s_safe) != std::string::npos)
2638  raiseDQMError("DQMStore", "Monitor element path name '%s'"
2639  " uses unacceptable characters", cleaned->c_str());
2640 
2641  // Redirect to the pattern match version.
2642  useQTestByMatch(*cleaned + "/*", qtname);
2643 }
static void cleanTrailingSlashes(const std::string &path, std::string &clean, const std::string *&cleaned)
Definition: DQMStore.cc:71
static std::string s_safe
Definition: DQMStore.cc:50
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:2647
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 2647 of file DQMStore.cc.

References MonitorElement::addQReport(), data_, getQCriterion(), mergePath(), scaleCards::path, qtestspecs_, and raiseDQMError().

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

2648 {
2649  QCriterion *qc = getQCriterion(qtname);
2650  if (! qc)
2651  raiseDQMError("DQMStore", "Cannot apply non-existent quality test '%s'",
2652  qtname.c_str());
2653 
2654  fastmatch * fm = new fastmatch( pattern );
2655 
2656  // Record the test for future reference.
2657  QTestSpec qts(fm, qc);
2658  qtestspecs_.push_back(qts);
2659 
2660  // Apply the quality test.
2661  MEMap::iterator mi = data_.begin();
2662  MEMap::iterator me = data_.end();
2663  std::string path;
2664  int cases = 0;
2665  for ( ; mi != me; ++mi)
2666  {
2667  path.clear();
2668  mergePath(path, *mi->data_.dirname, mi->data_.objname);
2669  if (fm->match(path))
2670  {
2671  ++cases;
2672  const_cast<MonitorElement &>(*mi).addQReport(qts.second);
2673  }
2674  }
2675 
2676  //return the number of matched cases
2677  return cases;
2678 }
QCriterion * getQCriterion(const std::string &qtname) const
Definition: DQMStore.cc:2597
std::pair< fastmatch *, QCriterion * > QTestSpec
Definition: DQMStore.h:444
static void mergePath(std::string &path, const std::string &dir, const std::string &name)
Definition: DQMStore.cc:101
list path
Definition: scaleCards.py:51
QTestSpecs qtestspecs_
Definition: DQMStore.h:462
MEMap data_
Definition: DQMStore.h:457
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 467 of file DQMStore.h.

friend class DQMNet
friend

Definition at line 466 of file DQMStore.h.

friend class DQMService
friend

Definition at line 465 of file DQMStore.h.

friend class DQMStoreExample
friend

Definition at line 468 of file DQMStore.h.

friend class edm::DQMHttpSource
friend

Definition at line 464 of file DQMStore.h.

Member Data Documentation

bool DQMStore::collateHistograms_
private

Definition at line 453 of file DQMStore.h.

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

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

Definition at line 458 of file DQMStore.h.

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

DQMStore::pwd_
private
DQMStore::qalgos_
private

Set of all the available quality test algorithms.

Definition at line 461 of file DQMStore.h.

Referenced by createQTest(), and initializeFrom().

DQMStore::qtests_
private

All the quality tests.

Definition at line 460 of file DQMStore.h.

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

QTestSpecs DQMStore::qtestspecs_
private

Definition at line 462 of file DQMStore.h.

Referenced by book(), useQTestByMatch(), and ~DQMStore().

DQMStore::readSelectedDirectory_
private

If non-empty, read from file only selected directory.

Definition at line 454 of file DQMStore.h.

DQMStore::reset_
private

Flag used to print out a warning when calling quality tests. twice without having called reset() in between; to be reset in DQMOldReceiver::runQualityTests.

Definition at line 452 of file DQMStore.h.

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

DQMStore::verbose_
private

Universal verbose flag for DQM.

Definition at line 450 of file DQMStore.h.

Referenced by book(), extract(), initializeFrom(), load(), print_trace(), readDirectory(), readFile(), runQTests(), and save().

DQMStore::verboseQT_
private

Verbose flag for xml-based QTests.

Definition at line 451 of file DQMStore.h.

Referenced by createQTest(), and initializeFrom().