CMS 3D CMS Logo

Public Types | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

DQMStore Class Reference

#include <DQMStore.h>

List of all members.

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

Private Types

typedef std::set< MonitorElementMEMap
typedef std::map< std::string,
QCriterion *(*)(const
std::string &) 
QAMap )
typedef std::map< std::string,
QCriterion * > 
QCMap
typedef std::pair< lat::Regexp
*, 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.
MonitorElementbook1DD (const std::string &dir, const std::string &name, TH1D *h)
 Book 1D histogram based on TH1D.
MonitorElementbook1S (const std::string &dir, const std::string &name, TH1S *h)
 Book 1D histogram based on TH1S.
MonitorElementbook2D (const std::string &dir, const std::string &name, TH2F *h)
 Book 2D histogram based on TH2F.
MonitorElementbook2DD (const std::string &dir, const std::string &name, TH2D *h)
 Book 2D histogram based on TH2D.
MonitorElementbook2S (const std::string &dir, const std::string &name, TH2S *h)
 Book 2D histogram based on TH2S.
MonitorElementbook3D (const std::string &dir, const std::string &name, TH3F *h)
 Book 3D histogram based on TH3F.
MonitorElementbookFloat (const std::string &dir, const std::string &name)
 Book float.
MonitorElementbookInt (const std::string &dir, const std::string &name)
 Book int.
MonitorElementbookProfile (const std::string &dir, const std::string &name, TProfile *h)
 Book profile histogram based on TProfile.
MonitorElementbookProfile2D (const std::string &folder, const std::string &name, TProfile2D *h)
 Book 2D profile histogram based on TProfile2D.
MonitorElementbookString (const std::string &dir, const std::string &name, const std::string &value)
 Book string.
bool cdInto (const std::string &path) const
 DQMStore (const DQMStore &)
bool extract (TObject *obj, const std::string &dir, bool overwrite)
MonitorElementfindObject (const std::string &dir, const std::string &name) const
MonitorElementinitialise (MonitorElement *me, const std::string &path)
bool isCollateME (MonitorElement *me) const
void makeDirectory (const std::string &path)
 get folder corresponding to inpath wrt to root (create subdirs if necessary)
const DQMStoreoperator= (const DQMStore &)
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)
static DQMStoreinstance (void)

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 DQMNet
class DQMOldReceiver
class DQMService
class DQMStoreExample
class edm::DQMHttpSource

Detailed Description

Definition at line 35 of file DQMStore.h.


Member Typedef Documentation

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

Definition at line 412 of file DQMStore.h.

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

Definition at line 414 of file DQMStore.h.

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

Definition at line 413 of file DQMStore.h.

typedef std::pair<lat::Regexp *, QCriterion *> DQMStore::QTestSpec [private]

Definition at line 410 of file DQMStore.h.

typedef std::list<QTestSpec> DQMStore::QTestSpecs [private]

Definition at line 411 of file DQMStore.h.


Member Enumeration Documentation

Enumerator:
KeepRunDirs 
StripRunDirs 

Definition at line 44 of file DQMStore.h.

Enumerator:
SaveWithoutReference 
SaveWithReference 
SaveWithReferenceForQTest 

Definition at line 38 of file DQMStore.h.


Constructor & Destructor Documentation

DQMStore::DQMStore ( const edm::ParameterSet pset)

Definition at line 139 of file DQMStore.cc.

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

Referenced by instance().

  : verbose_ (1),
    verboseQT_ (1),
    reset_ (false),
    collateHistograms_ (false),
    readSelectedDirectory_ (""),
    pwd_ ("")
{
  assert(! s_instance);
  s_instance = this;
  makeDirectory("");
  reset();

  // set steerable parameters
  verbose_ = pset.getUntrackedParameter<int>("verbose", 0);
  if (verbose_ > 0)
    std::cout << "DQMStore: verbosity set to " << verbose_ << std::endl;
  
  verboseQT_ = pset.getUntrackedParameter<int>("verboseQT", 0);
  if (verbose_ > 0)
    std::cout << "DQMStore: QTest verbosity set to " << verboseQT_ << std::endl;
  
  collateHistograms_ = pset.getUntrackedParameter<bool>("collateHistograms", false);
  if (collateHistograms_)
    std::cout << "DQMStore: histogram collation is enabled\n";

  std::string ref = pset.getUntrackedParameter<std::string>("referenceFileName", "");
  if (! ref.empty())
  {
    std::cout << "DQMStore: using reference file '" << ref << "'\n";
    readFile(ref, true, "", s_referenceDirName, StripRunDirs, false);
  }  

  initQCriterion<Comp2RefChi2>(qalgos_);
  initQCriterion<Comp2RefKolmogorov>(qalgos_);
  initQCriterion<ContentsXRange>(qalgos_);
  initQCriterion<ContentsYRange>(qalgos_);
  initQCriterion<MeanWithinExpected>(qalgos_);
  initQCriterion<Comp2RefEqualH>(qalgos_);
  initQCriterion<DeadChannel>(qalgos_);
  initQCriterion<NoisyChannel>(qalgos_);
  initQCriterion<ContentsWithinExpected>(qalgos_);
  initQCriterion<CompareToMedian>(qalgos_);
}
DQMStore::~DQMStore ( void  )

Definition at line 184 of file DQMStore.cc.

References ExpressReco_HICollisions_FallBack::e, i, if(), qtests_, and qtestspecs_.

{
  for (QCMap::iterator i = qtests_.begin(), e = qtests_.end(); i != e; ++i)
    delete i->second;

  for (QTestSpecs::iterator i = qtestspecs_.begin(), e = qtestspecs_.end(); i != e; ++i)
    delete i->first;

  if (s_instance == this)
    s_instance = 0;
}
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 376 of file DQMStore.cc.

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

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

{
  assert(name.find('/') == std::string::npos);

  // Check if the request monitor element already exists.
  if (MonitorElement *me = findObject(dir, name))
  {
    if (verbose_ > 1)
    {
      std::string path;
      mergePath(path, dir, name);

      std::cout << "DQMStore: "
                << context << ": monitor element '"
                << path << "' already exists, resetting" << std::endl;
    }
    me->Reset();
    return me;
  }
  else
  {
    // Create it and return for initialisation.
    assert(dirs_.count(dir));
    MonitorElement me(&*dirs_.find(dir), name);
    return &const_cast<MonitorElement &>(*data_.insert(me).first);
  }
}
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 309 of file DQMStore.cc.

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

{
  assert(name.find('/') == std::string::npos);
  std::string path;
  mergePath(path, dir, name);

  // Put us in charge of h.
  h->SetDirectory(0);

  // Check if the request monitor element already exists.
  if (MonitorElement *me = findObject(dir, name))
  {
    if (collateHistograms_)
    {
      collate(me, h);
      delete h;
      return me;
    }
    else
    {    
      if (verbose_ > 1)
        std::cout << "DQMStore: "
                  << context << ": monitor element '"
                  << path << "' already exists, collating" << std::endl;
      me->Reset();
      collate(me, h);
      delete h;
      return me;
    }
  }
  else
  {
    // Create and initialise core object.
    assert(dirs_.count(dir));
    MonitorElement proto(&*dirs_.find(dir), name);
    MonitorElement *me
      = const_cast<MonitorElement &>(*data_.insert(proto).first)
      .initialise((MonitorElement::Kind)kind, h);

    // Initialise quality test information.
    QTestSpecs::iterator qi = qtestspecs_.begin();
    QTestSpecs::iterator qe = qtestspecs_.end();
    for ( ; qi != qe; ++qi)
      if (qi->first->match(path))
        me->addQReport(qi->second);

    // Assign reference if we have one.
    std::string refdir;
    refdir.reserve(s_referenceDirName.size() + dir.size() + 2);
    refdir += s_referenceDirName;
    refdir += '/';
    refdir += dir;

    if (MonitorElement *refme = findObject(refdir, name))
    {
      me->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
      me->reference_ = refme->object_;
    }

    // Return the monitor element.
    return me;
  }
}
MonitorElement * DQMStore::book1D ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 567 of file DQMStore.cc.

References book1D(), and pwd_.

{
  return book1D(pwd_, name, new TH1F(name, title, nchX, xbinsize));
}
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)

Book 1D variable bin histogram.

Definition at line 575 of file DQMStore.cc.

References book1D(), and pwd_.

{
  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, xbinsize));
}
MonitorElement * DQMStore::book1D ( const char *  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 583 of file DQMStore.cc.

References book1D(), and pwd_.

{
  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name)));
}
MonitorElement * DQMStore::book1D ( const std::string &  name,
TH1F *  h 
)

Book 1D histogram by cloning an existing histogram.

Definition at line 590 of file DQMStore.cc.

References book1D(), and pwd_.

{
  return book1D(pwd_, name, static_cast<TH1F *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book1D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1D histogram.

Definition at line 527 of file DQMStore.cc.

References book1D(), and pwd_.

{
  return book1D(pwd_, name, new TH1F(name.c_str(), title.c_str(), nchX, lowX, highX));
}
MonitorElement * DQMStore::book1D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1D histogram.

Definition at line 519 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), XmasToDQMSource::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), L1Scalers::beginJob(), RPCTTUMonitor::beginJob(), L1TCSCTPG::beginJob(), BxTiming::beginJob(), HLTMuonDQMSource::beginJob(), PFJetAnalyzer::beginJob(), TrackAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), PFTester::beginJob(), DQMClientExample::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), Vx3DHLTAnalyzer::beginJob(), HaloTrigger::beginJob(), GlobalTest::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1TdeECALClient::beginJob(), HLTMonPhotonSource::beginJob(), BasicGenParticleValidation::beginJob(), METAnalyzer::beginJob(), L1TFED::beginJob(), ConverterTester::beginJob(), TcMETAnalyzer::beginJob(), SiStripFEDCheckPlugin::beginJob(), RPCMonitorLinkSynchro::beginJob(), TopDiLeptonDQM::beginJob(), L1TCSCTF::beginJob(), HLTMonHcalIsoTrack::beginJob(), HLTMon::beginJob(), MuonAlignment::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), WValidation::beginJob(), TrackSplittingMonitor::beginJob(), TrackEfficiencyMonitor::beginJob(), L1TGCT::beginJob(), HLTMonPhotonClient::beginJob(), MBUEandQCDValidation::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), PhotonAnalyzer::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), RPCMonitorDigi::beginJob(), L1TGT::beginJob(), L1TdeRCT::beginJob(), AlcaBeamMonitor::beginJob(), DQMHcalPhiSymHLT::beginJob(), PhotonValidator::beginJob(), TopHLTDiMuonDQM::beginJob(), PFMETAnalyzer::beginJob(), DQMSourceEleCalib::beginJob(), HLTScalers::beginJob(), TrackBuildingAnalyzer::beginJob(), MonitorLTC::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), L1TECALTPG::beginJob(), BeamConditionsMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), TauValidation::beginJob(), MuonTrackAnalyzer::beginJob(), JetPtAnalyzer::beginJob(), DQMHOAlCaRecoStream::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), SiStripMonitorHLT::beginJob(), QcdHighPtDQM::beginJob(), L1TRPCTPG::beginJob(), L1TRCT::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), DrellYanValidation::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), MuonIdDQM::beginJob(), MuCorrMETAnalyzer::beginJob(), TrigResRateMon::beginJob(), HLTMonBitSummary::beginJob(), DQMHcalIsoTrackHLT::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), SiStripMonitorFilter::beginJob(), L1TLTC::beginJob(), L1TdeCSCTF::beginJob(), CastorMonitorModule::beginJob(), DuplicationChecker::beginJob(), L1TDEMON::beginJob(), HLTAlCaMonPi0::beginJob(), ValHcalIsoTrackHLT::beginJob(), TopValidation::beginJob(), HcalSimHitStudy::beginJob(), DQMSourceExample::beginJob(), HTMHTAnalyzer::beginJob(), L1TDTTF::beginJob(), FourVectorHLT::beginJob(), BeamMonitor::beginJob(), JetAnalyzer::beginJob(), DQMSourcePi0::beginJob(), RPCMonitorRaw::beginJob(), L1TGCTClient::beginJob(), HLTMonElectronConsumer::beginJob(), MuonTrackResidualAnalyzer::beginJob(), TrackingMonitor::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), EgHLTOfflineSource::beginJob(), CaloMETAnalyzer::beginJob(), PiZeroAnalyzer::beginJob(), TrackEfficiencyClient::beginJob(), HLTMonElectron::beginJob(), MuonIdVal::beginJob(), RPCEfficiencySecond::beginRun(), FourVectorHLTriggerOffline::beginRun(), RPCBxTest::beginRun(), ZDCMonitorModule::beginRun(), DQMProvInfo::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTMonBitSummary::beginRun(), HLTJetMETDQMSource::beginRun(), CaloTowerAnalyzer::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalRecHitClient::beginRun(), RPCChamberQuality::beginRun(), TrigResRateMon::beginRun(), AlcaBeamMonitor::beginRun(), SiStripMonitorRawData::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), HcalSummaryClient::beginRun(), DQMDcsInfo::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), METTester::beginRun(), RPCDcsInfo::beginRun(), HcalCoarsePedestalClient::beginRun(), JetMETHLTOfflineSource::beginRun(), MuonAlignmentSummary::beginRun(), HcalDetDiagLaserMonitor::beginRun(), TriggerValidator::beginRun(), FourVectorHLTOnline::beginRun(), MuonTrackValidator::beginRun(), V0Validator::beginRun(), MEtoMEComparitor::book(), SiPixelHitEfficiencyModule::book(), TopSingleLepton::MonitorEnsemble::book(), SiPixelTrackResidualModule::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book1D(), HcalSubdetDigiMonitor::book1D(), book1D(), EcalSelectiveReadoutValidation::book1D(), QcdUeDQM::book1D(), QcdLowPtDQM::book1D(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), SiStripBaseCondObjDQM::bookCumulMEs(), RPCMonitorSync::bookDetUnitME(), RPCMonitorDigi::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), RPCFEDIntegrity::bookFEDMe(), TrackerOfflineValidationSummary::bookHarvestingHists(), HLTMuonValidator::bookHist(), BTagDifferentialPlot::bookHisto(), JPTJetAnalyzer::bookHistogram(), EwkMuTauHistManager::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), HiggsDQM::bookHistos(), PlotMakerReco::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerL1::bookHistos(), DTSegmentAnalysisTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), HLTMuonMatchAndPlot::bookIt(), SiStripMonitorTrack::bookLayerMEs(), SiStripMonitorDigi::bookME1D(), SiStripMonitorCluster::bookME1D(), SiStripMonitorTrack::bookME1D(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiStripMonitorTrack::bookModMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), HLTOniaSource::bookOniaTriggerInvariantMassMEs(), HLTOniaSource::bookOniaTriggerMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), recoBSVTagInfoValidationAnalyzer::bookRecoToSim(), RPCMonitorDigi::bookRegionRing(), MTVHistoProducerAlgoForTracker::bookSimHistos(), recoBSVTagInfoValidationAnalyzer::bookSimToReco(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), BeamMonitorBx::BookTrendHistos(), CaloJetTester::CaloJetTester(), CaloTowersValidation::CaloTowersValidation(), HTrackVariables::computeEfficiency(), HcalTrigPrimMonitor::create_et_histogram(), SiStripMonitorPedestals::createMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), PFClient::createResolutionPlots(), CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), CSCWireDigiValidation::CSCWireDigiValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), BTagValidator::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), DQMHistEffProducer::endJob(), HarvestingAnalyzer::endJob(), HLTScalersClient::endLuminosityBlock(), RPCClusterSizeTest::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), RPCMultiplicityTest::endRun(), GlobalHitsProdHistStripper::endRun(), RPCOccupancyTest::endRun(), RPCNoisyStripTest::endRun(), AlcaBeamMonitorClient::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), extract(), SiStripQualityDQM::fillGrandSummaryMEs(), StorageAccount::fillSummary(), BeamMonitor::FitAndFill(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), EDMtoMEConverter::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripMonitorQuality::getQualityME(), SiStripSummaryCreator::getSummaryME(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTHiggsBits::HLTHiggsBits(), HLTJetMETValidation::HLTJetMETValidation(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EwkElecDQM::init_histograms(), EwkMuLumiMonitorDQM::init_histograms(), EwkMuDQM::init_histograms(), MuIsoValidation::InitHistos(), MuonIsolationDQM::InitHistos(), HcalTimingMonitorModule::initialize(), MuonAnalyzerSBSM::InitializePlots(), LaserDQM::initMonitors(), JPTJetTester::JPTJetTester(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook1D(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), EEHltTask::setup(), EEPedestalClient::setup(), EBTimingTask::setup(), EBIntegrityTask::setup(), EBClusterTask::setup(), HcalZDCMonitor::setup(), HcalNZSMonitor::setup(), HcalEEUSMonitor::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), CastorLEDMonitor::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), HcalDataIntegrityTask::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EEBeamCaloTask::setup(), EBHltTask::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), EEBeamHodoTask::setup(), EBCosmicTask::setup(), CastorHIMonitor::setup(), HcalDetDiagLEDMonitor::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), HcalDeadCellMonitor::setup(), HcalMonitorModule::setup(), EECosmicTask::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBBeamCaloTask::setup(), EBPedestalClient::setup(), CastorRecHitMonitor::setup(), EERawDataTask::setup(), EBSummaryClient::setup(), CastorDigiMonitor::setup(), EBBeamHodoTask::setup(), EBLaserClient::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), HcalTrigPrimMonitor::setup(), HcalHotCellMonitor::setup(), HcalBaseDQMonitor::setup(), EEClusterTask::setup(), EESummaryClient::setup(), CastorPSMonitor::setup(), HcalBaseMonitor::setupDepthHists1D(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), and TrigResRateMon::TrigResRateMon().

{
  return book1D(pwd_, name, new TH1F(name, title, nchX, lowX, highX));
}
MonitorElement * DQMStore::book1D ( const std::string &  dir,
const std::string &  name,
TH1F *  h 
) [private]

Book 1D histogram based on TH1F.

Definition at line 498 of file DQMStore.cc.

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

MonitorElement * DQMStore::book1DD ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 551 of file DQMStore.cc.

References pwd_.

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

{
  return book1DD(pwd_, name, new TH1D(name, title, nchX, lowX, highX));
}
MonitorElement * DQMStore::book1DD ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 559 of file DQMStore.cc.

References book1DD(), and pwd_.

{
  return book1DD(pwd_, name, new TH1D(name.c_str(), title.c_str(), nchX, lowX, highX));
}
MonitorElement* DQMStore::book1DD ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)
MonitorElement* DQMStore::book1DD ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)
MonitorElement * DQMStore::book1DD ( const std::string &  dir,
const std::string &  name,
TH1D *  h 
) [private]

Book 1D histogram based on TH1D.

Definition at line 512 of file DQMStore.cc.

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

{
  return book(dir, name, "book1DD", MonitorElement::DQM_KIND_TH1D, h, collate1DD);
}
MonitorElement * DQMStore::book1DD ( const char *  name,
TH1D *  h 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 611 of file DQMStore.cc.

References book1DD(), and pwd_.

{
  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name)));
}
MonitorElement * DQMStore::book1DD ( const std::string &  name,
TH1D *  h 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 618 of file DQMStore.cc.

References book1DD(), and pwd_.

{
  return book1DD(pwd_, name, static_cast<TH1D *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book1S ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 535 of file DQMStore.cc.

References pwd_.

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

{
  return book1S(pwd_, name, new TH1S(name, title, nchX, lowX, highX));
}
MonitorElement * DQMStore::book1S ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX 
)

Book 1S histogram.

Definition at line 543 of file DQMStore.cc.

References book1S(), and pwd_.

{
  return book1S(pwd_, name, new TH1S(name.c_str(), title.c_str(), nchX, lowX, highX));
}
MonitorElement* DQMStore::book1S ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)
MonitorElement* DQMStore::book1S ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)
MonitorElement * DQMStore::book1S ( const std::string &  name,
TH1S *  h 
)

Book 1S histogram by cloning an existing histogram.

Definition at line 604 of file DQMStore.cc.

References book1S(), and pwd_.

{
  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book1S ( const char *  name,
TH1S *  h 
)

Book 1S histogram by cloning an existing histogram.

Definition at line 597 of file DQMStore.cc.

References book1S(), and pwd_.

{
  return book1S(pwd_, name, static_cast<TH1S *>(source->Clone(name)));
}
MonitorElement * DQMStore::book1S ( const std::string &  dir,
const std::string &  name,
TH1S *  h 
) [private]

Book 1D histogram based on TH1S.

Definition at line 505 of file DQMStore.cc.

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

MonitorElement * DQMStore::book2D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2D histogram.

Definition at line 647 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), RPCMon_SS_Dbx_Global::analyze(), FourVectorHLT::analyze(), HcalSummaryClient::analyze(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), L1Scalers::beginJob(), HLTMuonDQMSource::beginJob(), PFJetAnalyzer::beginJob(), EEDcsInfoTask::beginJob(), EEDaqInfoTask::beginJob(), EcalBarrelMonitorClient::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), L1TDTTPGClient::beginJob(), HcalDCSInfo::beginJob(), Vx3DHLTAnalyzer::beginJob(), HaloTrigger::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1TRPCTFClient::beginJob(), L1TEventInfoClient::beginJob(), L1TdeECALClient::beginJob(), HLTMonPhotonSource::beginJob(), HcalDAQInfo::beginJob(), RPCDaqInfo::beginJob(), ConverterTester::beginJob(), RPCMonitorLinkSynchro::beginJob(), TopDiLeptonDQM::beginJob(), L1TCSCTF::beginJob(), HLTMonHcalIsoTrack::beginJob(), HLTMon::beginJob(), MuonAlignment::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), L1TGCT::beginJob(), EcalEndcapMonitorClient::beginJob(), EBDataCertificationTask::beginJob(), DTBlockedROChannelsTest::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), L1TGT::beginJob(), L1TdeRCT::beginJob(), DQMHcalPhiSymHLT::beginJob(), PhotonValidator::beginJob(), TopHLTDiMuonDQM::beginJob(), DQMSourceEleCalib::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), L1TECALTPG::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), MuonTrackAnalyzer::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), JetPtAnalyzer::beginJob(), QcdHighPtDQM::beginJob(), L1TEMUEventInfoClient::beginJob(), L1TRCT::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), L1TCompare::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), HLTMonBitSummary::beginJob(), DQMHcalIsoTrackHLT::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TLTC::beginJob(), L1TdeCSCTF::beginJob(), HcalDataCertification::beginJob(), CastorMonitorModule::beginJob(), L1TDEMON::beginJob(), DTDataIntegrityTest::beginJob(), ValHcalIsoTrackHLT::beginJob(), DQMSourceExample::beginJob(), L1TDTTF::beginJob(), FourVectorHLT::beginJob(), EEDataCertificationTask::beginJob(), BeamMonitor::beginJob(), JetAnalyzer::beginJob(), RPCMonitorRaw::beginJob(), MuonTrackResidualAnalyzer::beginJob(), TrackingMonitor::beginJob(), HLTMonElectron::beginJob(), HLTEventInfoClient::beginJob(), MuonIdVal::beginJob(), ZDCMonitorClient::beginRun(), RPCEfficiencySecond::beginRun(), DTOfflineSummaryClients::beginRun(), FourVectorHLTriggerOffline::beginRun(), SiPixelClusterSource::beginRun(), HcalHotCellClient::beginRun(), DQMProvInfo::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTJetMETDQMSource::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HcalDigiClient::beginRun(), CaloTowerAnalyzer::beginRun(), RPCEventSummary::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalRecHitClient::beginRun(), RPCDataCertification::beginRun(), RPCChamberQuality::beginRun(), HcalRawDataClient::beginRun(), HcalNZSClient::beginRun(), HcalSummaryClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalDeadCellClient::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), HcalCoarsePedestalClient::beginRun(), JetMETHLTOfflineSource::beginRun(), MuonAlignmentSummary::beginRun(), RPCDCSSummary::beginRun(), HcalDetDiagLaserMonitor::beginRun(), DTSummaryClients::beginRun(), FourVectorHLTOnline::beginRun(), HcalTrigPrimClient::beginRun(), MuonTrackValidator::beginRun(), HcalBeamClient::beginRun(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book2D(), book2D(), HcalSubdetDigiMonitor::book2D(), EcalSelectiveReadoutValidation::book2D(), QcdUeDQM::book2D(), QcdLowPtDQM::book2D(), JPTJetAnalyzer::book2DHistogram(), PhotonOfflineClient::book2DHistoVector(), HLTMuonBPAG::book2DVarBins(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone2D(), RPCMonitorDigi::bookDetUnitME(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), RecoMuonValidator::MuonME::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTSegmentAnalysisTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), SiStripMonitorTrack::bookME2D(), SiPixelDigiSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelActionExecutor::bookOccupancyPlots(), HLTOniaSource::bookOniaTriggerMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), RPCMonitorDigi::bookRegionRing(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), BeamMonitorBx::BookTables(), SiPixelActionExecutor::bookTrackerMaps(), CaloJetTester::CaloJetTester(), CaloTowersValidation::CaloTowersValidation(), HcalTrigPrimMonitor::create_errorflag(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_map(), HcalTrigPrimMonitor::create_summary(), HcalTrigPrimMonitor::create_tp_correlation(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), CSCRecHit2DValidation::CSCRecHit2DValidation(), dqmRegisterHistogram(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), BTagValidator::endJob(), DataCertificationJetMET::endRun(), RPCClusterSizeTest::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), RPCDeadChannelTest::endRun(), RPCMultiplicityTest::endRun(), RPCOccupancyTest::endRun(), RPCNoisyStripTest::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), extract(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalTimingMonitorModule::HcalTimingMonitorModule(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), JPTJetTester::JPTJetTester(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook2D(), PFJetTester::PFJetTester(), JetMETHLTOfflineClient::runClient_(), EEPedestalClient::setup(), EBTimingTask::setup(), EBIntegrityTask::setup(), EBClusterTask::setup(), HcalZDCMonitor::setup(), HcalEEUSMonitor::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), EBTriggerTowerClient::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), CastorChannelQualityMonitor::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EEBeamCaloTask::setup(), EETriggerTowerClient::setup(), EBTimingClient::setup(), EtaPhiHists::setup(), EEPedestalOnlineClient::setup(), EEIntegrityTask::setup(), EEBeamHodoTask::setup(), HcalDetDiagLEDMonitor::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBBeamCaloTask::setup(), EBPedestalClient::setup(), CastorRecHitMonitor::setup(), EBSummaryClient::setup(), EBBeamHodoTask::setup(), EBLaserClient::setup(), EBBeamCaloClient::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), HcalBaseDQMonitor::setup(), EEClusterTask::setup(), EESummaryClient::setup(), EEIntegrityClient::setup(), EEBeamCaloClient::setup(), CastorPSMonitor::setup(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), and TrigResRateMon::setupStreamMatrix().

{
  return book2D(pwd_, name, new TH2F(name, title,
                                     nchX, lowX, highX,
                                     nchY, lowY, highY));
}
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 658 of file DQMStore.cc.

References book2D(), and pwd_.

{
  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(),
                                     nchX, lowX, highX,
                                     nchY, lowY, highY));
}
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 713 of file DQMStore.cc.

References book2D(), and pwd_.

{
  return book2D(pwd_, name, new TH2F(name, title, 
                                     nchX, xbinsize, nchY, ybinsize));
}
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 722 of file DQMStore.cc.

References book2D(), and pwd_.

{
  return book2D(pwd_, name, new TH2F(name.c_str(), title.c_str(), 
                                     nchX, xbinsize, nchY, ybinsize));
}
MonitorElement * DQMStore::book2D ( const char *  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 731 of file DQMStore.cc.

References book2D(), and pwd_.

{
  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name)));
}
MonitorElement * DQMStore::book2D ( const std::string &  name,
TH2F *  h 
)

Book 2D histogram by cloning an existing histogram.

Definition at line 738 of file DQMStore.cc.

References book2D(), and pwd_.

{
  return book2D(pwd_, name, static_cast<TH2F *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book2D ( const std::string &  dir,
const std::string &  name,
TH2F *  h 
) [private]

Book 2D histogram based on TH2F.

Definition at line 626 of file DQMStore.cc.

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

MonitorElement * DQMStore::book2DD ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2D double histogram.

Definition at line 691 of file DQMStore.cc.

References pwd_.

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

{
  return book2DD(pwd_, name, new TH2D(name, title,
                                      nchX, lowX, highX,
                                      nchY, lowY, highY));
}
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 702 of file DQMStore.cc.

References book2DD(), and pwd_.

{
  return book2DD(pwd_, name, new TH2D(name.c_str(), title.c_str(),
                                      nchX, lowX, highX,
                                      nchY, lowY, highY));
}
MonitorElement* DQMStore::book2DD ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)
MonitorElement* DQMStore::book2DD ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)
MonitorElement * DQMStore::book2DD ( const char *  name,
TH2D *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 759 of file DQMStore.cc.

References book2DD(), and pwd_.

{
  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name)));
}
MonitorElement * DQMStore::book2DD ( const std::string &  name,
TH2D *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 766 of file DQMStore.cc.

References book2DD(), and pwd_.

{
  return book2DD(pwd_, name, static_cast<TH2D *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book2DD ( const std::string &  dir,
const std::string &  name,
TH2D *  h 
) [private]

Book 2D histogram based on TH2D.

Definition at line 640 of file DQMStore.cc.

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

{
  return book(dir, name, "book2DD", MonitorElement::DQM_KIND_TH2D, h, collate2DD);
}
MonitorElement * DQMStore::book2S ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY 
)

Book 2S histogram.

Definition at line 669 of file DQMStore.cc.

References pwd_.

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

{
  return book2S(pwd_, name, new TH2S(name, title,
                                     nchX, lowX, highX,
                                     nchY, lowY, highY));
}
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 680 of file DQMStore.cc.

References book2S(), and pwd_.

{
  return book2S(pwd_, name, new TH2S(name.c_str(), title.c_str(),
                                     nchX, lowX, highX,
                                     nchY, lowY, highY));
}
MonitorElement* DQMStore::book2S ( const char *  name,
const char *  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)
MonitorElement* DQMStore::book2S ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize,
int  nchY,
float *  ybinsize 
)
MonitorElement * DQMStore::book2S ( const char *  name,
TH2S *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 745 of file DQMStore.cc.

References book2S(), and pwd_.

{
  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name)));
}
MonitorElement * DQMStore::book2S ( const std::string &  name,
TH2S *  h 
)

Book 2DS histogram by cloning an existing histogram.

Definition at line 752 of file DQMStore.cc.

References book2S(), and pwd_.

{
  return book2S(pwd_, name, static_cast<TH2S *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book2S ( const std::string &  dir,
const std::string &  name,
TH2S *  h 
) [private]

Book 2D histogram based on TH2S.

Definition at line 633 of file DQMStore.cc.

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

MonitorElement * DQMStore::book3D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ 
)
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 794 of file DQMStore.cc.

References book3D(), and pwd_.

{
  return book3D(pwd_, name, new TH3F(name.c_str(), title.c_str(),
                                     nchX, lowX, highX,
                                     nchY, lowY, highY,
                                     nchZ, lowZ, highZ));
}
MonitorElement * DQMStore::book3D ( const char *  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 807 of file DQMStore.cc.

References book3D(), and pwd_.

{
  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name)));
}
MonitorElement * DQMStore::book3D ( const std::string &  name,
TH3F *  h 
)

Book 3D histogram by cloning an existing histogram.

Definition at line 814 of file DQMStore.cc.

References book3D(), and pwd_.

{
  return book3D(pwd_, name, static_cast<TH3F *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::book3D ( const std::string &  dir,
const std::string &  name,
TH3F *  h 
) [private]

Book 3D histogram based on TH3F.

Definition at line 774 of file DQMStore.cc.

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

MonitorElement * DQMStore::bookFloat ( const std::string &  name)

Book float.

Definition at line 461 of file DQMStore.cc.

References bookFloat(), and pwd_.

{
  return bookFloat(pwd_, name);
}
MonitorElement * DQMStore::bookFloat ( const std::string &  dir,
const std::string &  name 
) [private]

Book float.

Definition at line 439 of file DQMStore.cc.

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

{
  if (collateHistograms_)
  {
    if (MonitorElement *me = findObject(dir, name))
    {
      me->Fill(0.);
      return me;
    }
  }

  return book(dir, name, "bookFloat")
    ->initialise(MonitorElement::DQM_KIND_REAL);
}
MonitorElement * DQMStore::bookFloat ( const char *  name)

Book float.

Definition at line 456 of file DQMStore.cc.

References pwd_.

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

{ return bookFloat(pwd_, name); }
MonitorElement * DQMStore::bookInt ( const char *  name)

Book int.

Definition at line 426 of file DQMStore.cc.

References pwd_.

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

{ return bookInt(pwd_, name); }
MonitorElement * DQMStore::bookInt ( const std::string &  name)

Book int.

Definition at line 431 of file DQMStore.cc.

References bookInt(), and pwd_.

{
  return bookInt(pwd_, name);
}
MonitorElement * DQMStore::bookInt ( const std::string &  dir,
const std::string &  name 
) [private]
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 938 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
                                              nchX, xbinsize,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const std::string &  dir,
const std::string &  name,
TProfile *  h 
) [private]

Book profile histogram based on TProfile.

Definition at line 822 of file DQMStore.cc.

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

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 833 of file DQMStore.cc.

References pwd_.

Referenced by HLTMuonDQMSource::beginJob(), BxTiming::beginJob(), TrackAnalyzer::beginJob(), PFJetAnalyzer::beginJob(), HaloTrigger::beginJob(), L1TFED::beginJob(), L1TCSCTF::beginJob(), ConverterTester::beginJob(), MBUEandQCDValidation::beginJob(), AlcaBeamMonitor::beginJob(), L1TGT::beginJob(), PhotonValidator::beginJob(), TrackBuildingAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), HcalSimHitStudy::beginJob(), BeamMonitor::beginJob(), DQMSourceExample::beginJob(), JetAnalyzer::beginJob(), AlcaBeamMonitor::beginRun(), SiStripLAProfileBooker::beginRun(), MuonTrackValidator::beginRun(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), TrackAnalyzer::bookHistosForState(), SiStripMonitorTrack::bookMEProfile(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), CSCMonitorModule::bookMonitorObject(), HcalSubdetDigiMonitor::bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), bookProfile(), HistoProviderDQM::bookProfile(), QcdUeDQM::bookProfile(), JPTJetAnalyzer::bookProfile(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency1D(), CaloJetTester::CaloJetTester(), CaloTowersValidation::CaloTowersValidation(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), extract(), EDMtoMEConverter::getData(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), CommissioningHistograms::histogram(), MuIsoValidation::InitHistos(), JPTJetTester::JPTJetTester(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), PFJetTester::PFJetTester(), EBClusterTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EETrendClient::setup(), EcalBarrelMonitorModule::setup(), EBTrendTask::setup(), HcalNZSMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), EBPedestalTask::setup(), EBSelectiveReadoutTask::setup(), EELaserTask::setup(), EBTrendClient::setup(), EEBeamCaloTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBTriggerTowerTask::setup(), EESelectiveReadoutTask::setup(), EBBeamCaloTask::setup(), EBLaserTask::setup(), EcalEndcapMonitorModule::setup(), HcalDeadCellMonitor::setup(), EBSummaryClient::setup(), EETrendTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), HcalCaloTowerMonitor::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), HcalHotCellMonitor::setup(), HcalTrigPrimMonitor::setup(), EESummaryClient::setup(), EEClusterTask::setup(), and HLXMonitor::SetupHists().

{
  return bookProfile(pwd_, name, new TProfile(name, title,
                                              nchX, lowX, highX,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 848 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
                                              nchX, lowX, highX,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 863 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name, title,
                                              nchX, lowX, highX,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 878 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
                                              nchX, lowX, highX,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double *  xbinsize,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 893 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name, title,
                                              nchX, xbinsize,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
const std::string &  title,
int  nchX,
double *  xbinsize,
int  nchY,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 908 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name.c_str(), title.c_str(),
                                              nchX, xbinsize,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const char *  name,
const char *  title,
int  nchX,
double *  xbinsize,
double  lowY,
double  highY,
const char *  option = "s" 
)

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

Definition at line 923 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, new TProfile(name, title,
                                              nchX, xbinsize,
                                              lowY, highY,
                                              option));
}
MonitorElement * DQMStore::bookProfile ( const char *  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 951 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name)));
}
MonitorElement * DQMStore::bookProfile ( const std::string &  name,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 958 of file DQMStore.cc.

References bookProfile(), and pwd_.

{
  return bookProfile(pwd_, name, static_cast<TProfile *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

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

Definition at line 977 of file DQMStore.cc.

References pwd_.

Referenced by ConverterTester::beginJob(), TkConvValidator::beginJob(), DQMSourceExample::beginJob(), L1TdeECAL::beginJob(), MuonTrackValidator::beginRun(), CSCMonitorModule::bookMonitorObject(), bookProfile2D(), EcalSelectiveReadoutValidation::bookProfile2D(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency2D(), CaloJetTester::CaloJetTester(), SiStripMonitorCluster::createSubDetMEs(), TkHistoMap::createTkHistoMap(), dqmRegisterHistogram(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), JPTJetTester::JPTJetTester(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBookProfile2D(), PFJetTester::PFJetTester(), EBClusterTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEPedestalOnlineTask::setup(), EBPedestalTask::setup(), EBSelectiveReadoutTask::setup(), EBOccupancyTask::setup(), EELaserTask::setup(), EBCosmicTask::setup(), EBTriggerTowerTask::setup(), EESelectiveReadoutTask::setup(), EBLaserTask::setup(), EECosmicTask::setup(), EBPedestalOnlineTask::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), and EEClusterTask::setup().

{
  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
                                                  nchX, lowX, highX,
                                                  nchY, lowY, highY,
                                                  lowZ, highZ,
                                                  option));
}
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

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

Definition at line 994 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

{
  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
                                                  nchX, lowX, highX,
                                                  nchY, lowY, highY,
                                                  lowZ, highZ,
                                                  option));
}
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
const char *  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

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

Definition at line 1011 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

{
  return bookProfile2D(pwd_, name, new TProfile2D(name, title,
                                                  nchX, lowX, highX,
                                                  nchY, lowY, highY,
                                                  lowZ, highZ,
                                                  option));
}
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
const std::string &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
double  lowZ,
double  highZ,
const char *  option = "s" 
)

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

Definition at line 1028 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

{
  return bookProfile2D(pwd_, name, new TProfile2D(name.c_str(), title.c_str(),
                                                  nchX, lowX, highX,
                                                  nchY, lowY, highY,
                                                  lowZ, highZ,
                                                  option));
}
MonitorElement * DQMStore::bookProfile2D ( const char *  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1043 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

{
  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name)));
}
MonitorElement * DQMStore::bookProfile2D ( const std::string &  name,
TProfile2D *  h 
)

Book TProfile2D by cloning an existing profile.

Definition at line 1050 of file DQMStore.cc.

References bookProfile2D(), and pwd_.

{
  return bookProfile2D(pwd_, name, static_cast<TProfile2D *>(source->Clone(name.c_str())));
}
MonitorElement * DQMStore::bookProfile2D ( const std::string &  folder,
const std::string &  name,
TProfile2D *  h 
) [private]

Book 2D profile histogram based on TProfile2D.

Definition at line 966 of file DQMStore.cc.

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

MonitorElement * DQMStore::bookString ( const std::string &  dir,
const std::string &  name,
const std::string &  value 
) [private]
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 490 of file DQMStore.cc.

References bookString(), and pwd_.

{
  return bookString(pwd_, name, value);
}
void DQMStore::cd ( void  )

go to top directory (ie. root)

Definition at line 214 of file DQMStore.cc.

References setCurrentFolder().

Referenced by SiStripDcsInfo::addBadModules(), SiStripGainFromData::algoEndJob(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), HLTMuonBPAG::begin(), HLTTopPlotter::begin(), HLTMuonMatchAndPlot::begin(), MuIsoValidation::beginJob(), MuonTrackAnalyzer::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DQMFileReader::beginJob(), MuonIsolationDQM::beginJob(), MuonTrackResidualAnalyzer::beginJob(), DQMProvInfo::beginRun(), DQMDcsInfo::beginRun(), RPCDcsInfo::beginRun(), MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), V0Validator::beginRun(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), RecoMuonValidator::MuonME::bookHistograms(), HiggsDQM::bookHistos(), SiPixelHLTSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), BeamMonitorBx::BookTables(), SiStripCertificationInfo::bookTrackingCertificationMEs(), BeamMonitorBx::BookTrendHistos(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createEfficiency(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiPixelActionExecutor::createOccupancy(), SiStripSummaryCreator::createSummary(), SiStripActionExecutor::createSummary(), SiStripActionExecutor::createSummaryOffline(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), SiPixelActionExecutor::dumpModIds(), SiPixelActionExecutor::dumpRefValues(), SiStripOfflineDQM::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), SiPixelEDAClient::endLuminosityBlock(), RPCDcsInfoClient::endRun(), JetMETDQMPostProcessor::endRun(), DQMDcsInfoClient::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelEDAClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::goToDir(), SiPixelWebInterface::handleEDARequest(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), MuIsoValidation::MuIsoValidation(), MuonIsolationDQM::MuonIsolationDQM(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readAlarmTree(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleHistoTree(), SiStripNoisesDQMService::readNoises(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripPedestalsDQMService::readPedestals(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readSummaryHistoTree(), CommissioningHistograms::remove(), SiStripCommissioningSource::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), ZDCMonitorClient::removeAllME(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiPixelInformationExtractor::sendTkUpdatedStatus(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), HLXMonitor::SetupHists(), and SiPixelActionExecutor::setupQTests().

void DQMStore::cd ( const std::string &  subdir)

cd to subdirectory (if there)

Definition at line 219 of file DQMStore.cc.

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(subdir, clean, cleaned);

  if (! dirExists(*cleaned))
    raiseDQMError("DQMStore", "Cannot 'cd' into non-existent directory '%s'",
                  cleaned->c_str());
  
  setCurrentFolder(*cleaned);
}
bool DQMStore::cdInto ( const std::string &  path) const [private]

Use this for saving monitoring objects in ROOT files with dir structure; cd into directory (create first if it doesn't exist); returns success flag

Definition at line 1836 of file DQMStore.cc.

References end, connectstrParser::o, and raiseDQMError().

Referenced by save().

{
  assert(! path.empty());

  // Find the first path component.
  size_t start = 0;
  size_t end = path.find('/', start);
  if (end == std::string::npos)
    end = path.size();

  while (true)
  {
    // Check if this subdirectory component exists.  If yes, make sure
    // it is actually a subdirectory.  Otherwise create or cd into it.
    std::string part(path, start, end-start);
    TObject *o = gDirectory->Get(part.c_str());
    if (o && ! dynamic_cast<TDirectory *>(o))
      raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
                    " fails because the part '%s' already exists and is not"
                    " directory", path.c_str(), part.c_str());
    else if (! o)
      gDirectory->mkdir(part.c_str());

    if (! gDirectory->cd(part.c_str()))
      raiseDQMError("DQMStore", "Attempt to create directory '%s' in a file"
                    " fails because could not cd into subdirectory '%s'",
                    path.c_str(), part.c_str());

    // Stop if we reached the end, ignoring any trailing '/'.
    if (end+1 >= path.size())
      break;

    // Find the next path component.
    start = end+1;
    end = path.find('/', start);
    if (end == std::string::npos)
      end = path.size();
  }

  return true;
}
bool DQMStore::checkBinningMatches ( MonitorElement me,
TH1 *  h 
) [static, private]

Definition at line 1059 of file DQMStore.cc.

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

Referenced by collate1D(), collate1DD(), collate1S(), collate2D(), collate2DD(), collate2S(), collate3D(), collateProfile(), and collateProfile2D().

{
  if (me->getTH1()->GetNbinsX() != h->GetNbinsX()
      || me->getTH1()->GetNbinsY() != h->GetNbinsY()
      || me->getTH1()->GetNbinsZ() != h->GetNbinsZ()
      || me->getTH1()->GetXaxis()->GetXmin() != h->GetXaxis()->GetXmin()
      || me->getTH1()->GetYaxis()->GetXmin() != h->GetYaxis()->GetXmin()
      || me->getTH1()->GetZaxis()->GetXmin() != h->GetZaxis()->GetXmin()
      || me->getTH1()->GetXaxis()->GetXmax() != h->GetXaxis()->GetXmax()
      || me->getTH1()->GetYaxis()->GetXmax() != h->GetYaxis()->GetXmax()
      || me->getTH1()->GetZaxis()->GetXmax() != h->GetZaxis()->GetXmax())
  {
    //  edm::LogWarning ("DQMStore")
    std::cout << "*** DQMStore: WARNING:"
              << "checkBinningMatches: different binning - cannot add object '"
              << h->GetName() << "' of type "
              << h->IsA()->GetName() << " to existing ME: '"
              << me->getFullname() << "'\n";
    return false;
  }
  return true;     
}
void DQMStore::collate1D ( MonitorElement me,
TH1F *  h 
) [static, private]

Definition at line 1083 of file DQMStore.cc.

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

Referenced by book1D(), and extract().

{ 
  if (checkBinningMatches(me,h)) 
    me->getTH1F()->Add(h); 
}
void DQMStore::collate1DD ( MonitorElement me,
TH1D *  h 
) [static, private]

Definition at line 1097 of file DQMStore.cc.

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

Referenced by book1DD(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH1D()->Add(h); 
}
void DQMStore::collate1S ( MonitorElement me,
TH1S *  h 
) [static, private]

Definition at line 1090 of file DQMStore.cc.

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

Referenced by book1S(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH1S()->Add(h); 
}
void DQMStore::collate2D ( MonitorElement me,
TH2F *  h 
) [static, private]

Definition at line 1104 of file DQMStore.cc.

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

Referenced by book2D(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH2F()->Add(h); 
}
void DQMStore::collate2DD ( MonitorElement me,
TH2D *  h 
) [static, private]

Definition at line 1118 of file DQMStore.cc.

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

Referenced by book2DD(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH2D()->Add(h); 
}
void DQMStore::collate2S ( MonitorElement me,
TH2S *  h 
) [static, private]

Definition at line 1111 of file DQMStore.cc.

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

Referenced by book2S(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH2S()->Add(h); 
}
void DQMStore::collate3D ( MonitorElement me,
TH3F *  h 
) [static, private]

Definition at line 1125 of file DQMStore.cc.

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

Referenced by book3D(), and extract().

{  
  if (checkBinningMatches(me,h)) 
    me->getTH3F()->Add(h); 
}
void DQMStore::collateProfile ( MonitorElement me,
TProfile *  h 
) [static, private]

Definition at line 1132 of file DQMStore.cc.

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

Referenced by bookProfile(), and extract().

{
  if (checkBinningMatches(me,h)) 
  {
    TProfile *meh = me->getTProfile();
    me->addProfiles(h, meh, meh, 1, 1);
  }
}
void DQMStore::collateProfile2D ( MonitorElement me,
TProfile2D *  h 
) [static, private]

Definition at line 1142 of file DQMStore.cc.

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

Referenced by bookProfile2D(), and extract().

{
  if (checkBinningMatches(me,h)) 
  {
    TProfile2D *meh = me->getTProfile2D();
    me->addProfiles(h, meh, meh, 1, 1);
  }
}
bool DQMStore::containsAnyMonitorable ( const std::string &  path) const

true if directory (or any subfolder at any level below it) contains at least one monitorable element

Definition at line 1260 of file DQMStore.cc.

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

Referenced by ContentReader::give_subdirs().

{
  MonitorElement proto(&path, std::string());
  MEMap::const_iterator e = data_.end();
  MEMap::const_iterator i = data_.lower_bound(proto);
  return (i != e && isSubdirectory(path, *i->data_.dirname));
}
QCriterion * DQMStore::createQTest ( const std::string &  algoname,
const std::string &  qtname 
)

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

Definition at line 2374 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::EnableCompareToMedianTest(), QTestConfigure::EnableContentsWithinExpectedTest(), QTestConfigure::EnableDeadChannelTest(), QTestConfigure::EnableMeanWithinExpectedTest(), QTestConfigure::EnableNoisyChannelTest(), QTestConfigure::EnableXRangeTest(), and QTestConfigure::EnableYRangeTest().

{
  if (qtests_.count(qtname))
    raiseDQMError("DQMStore", "Attempt to create duplicate quality test '%s'",
                  qtname.c_str());

  QAMap::iterator i = qalgos_.find(algoname);
  if (i == qalgos_.end())
    raiseDQMError("DQMStore", "Cannot create a quality test using unknown"
                  " algorithm '%s'", algoname.c_str());

  QCriterion *qc = i->second(qtname);
  qc->setVerbose(verboseQT_);

  qtests_[qtname] = qc;
  return qc;
}
bool DQMStore::dirExists ( const std::string &  path) const

true if directory exists

Definition at line 301 of file DQMStore.cc.

References dirs_.

Referenced by L1GtHwValidation::beginJob(), L1ExtraDQM::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), cd(), SiStripActionExecutor::createSummary(), DQMHcalIsoTrackPostProcessor::endJob(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getTopFolderPath(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripActionExecutor::printFaultyModuleList(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripInformationExtractor::readQTestSummary(), CommissioningHistograms::remove(), ZDCMonitorClient::removeAllME(), PhotonOfflineClient::runClient(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), and SiStripTrackerMapCreator::setTkMapFromHistogram().

{ return dirs_.count(path) > 0; }
void DQMStore::disableSoftReset ( MonitorElement me)
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 1553 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(), label, m, funct::master(), DQMNet::QValue::message, n, MonitorElement::object_, DQMNet::QValue::qtname, DQMNet::QValue::qtresult, asciidump::s, s_referenceDirName, s_rxmeqr1(), s_rxmeqr2(), s_rxmeval(), tag(), relativeConstraints::value, and verbose_.

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

{
  // NB: Profile histograms inherit from TH*D, checking order matters.
  MonitorElement *refcheck = 0;
  if (TProfile *h = dynamic_cast<TProfile *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = bookProfile(dir, h->GetName(), (TProfile *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collateProfile(me, h);
    refcheck = me;
  }
  else if (TProfile2D *h = dynamic_cast<TProfile2D *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = bookProfile2D(dir, h->GetName(), (TProfile2D *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collateProfile2D(me, h);
    refcheck = me;
  }
  else if (TH1F *h = dynamic_cast<TH1F *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book1D(dir, h->GetName(), (TH1F *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate1D(me, h);
    refcheck = me;
  }
  else if (TH1S *h = dynamic_cast<TH1S *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book1S(dir, h->GetName(), (TH1S *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate1S(me, h);
    refcheck = me;
  }
  else if (TH1D *h = dynamic_cast<TH1D *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book1DD(dir, h->GetName(), (TH1D *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate1DD(me, h);
    refcheck = me;
  }
  else if (TH2F *h = dynamic_cast<TH2F *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book2D(dir, h->GetName(), (TH2F *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate2D(me, h);
    refcheck = me;
  }
  else if (TH2S *h = dynamic_cast<TH2S *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book2S(dir, h->GetName(), (TH2S *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate2S(me, h);
    refcheck = me;
  }
  else if (TH2D *h = dynamic_cast<TH2D *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book2DD(dir, h->GetName(), (TH2D *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate2DD(me, h);
    refcheck = me;
  }
  else if (TH3F *h = dynamic_cast<TH3F *>(obj))
  {
    MonitorElement *me = findObject(dir, h->GetName());
    if (! me)
      me = book3D(dir, h->GetName(), (TH3F *) h->Clone());
    else if (overwrite)
      me->copyFrom(h);
    else if (isCollateME(me) || collateHistograms_)
      collate3D(me, h);
    refcheck = me;
  }
  else if (dynamic_cast<TObjString *>(obj))
  {
    lat::RegexpMatch m;
    if (! s_rxmeval.match(obj->GetName(), 0, 0, &m))
    {
      if (strstr(obj->GetName(), "CMSSW"))
      {
        if (verbose_)
          std::cout << "Input file version: " << obj->GetName() << std::endl;
        return true;
      }
      else if (strstr(obj->GetName(), "DQMPATCH"))
      {
        if (verbose_)
          std::cout << "DQM patch version: " << obj->GetName() << std::endl;
        return true;
      }
      else
      {
        std::cout << "*** DQMStore: WARNING: cannot extract object '"
                  << obj->GetName() << "' of type '"
                  << obj->IsA()->GetName() << "'\n";
        return false;
      }
    }

    std::string label = m.matchString(obj->GetName(), 1);
    std::string kind = m.matchString(obj->GetName(), 2);
    std::string value = m.matchString(obj->GetName(), 3);

    if (kind == "i")
    {
      MonitorElement *me = findObject(dir, label);
      if (! me || overwrite)
      {
        if (! me) me = bookInt(dir, label);
        me->Fill(atoll(value.c_str()));
      }
    }
    else if (kind == "f")
    {
      MonitorElement *me = findObject(dir, label);
      if (! me || overwrite)
      {
        if (! me) me = bookFloat(dir, label);
        me->Fill(atof(value.c_str()));
      }
    }
    else if (kind == "s")
    {
      MonitorElement *me = findObject(dir, label);
      if (! me)
        me = bookString(dir, label, value);
      else if (overwrite)
        me->Fill(value);
    }
    else if (kind == "t")
    {
      MonitorElement *me = findObject(dir, label);
      if (! me)
      {
        std::cout << "*** DQMStore: WARNING: no monitor element '"
                  << label << "' in directory '"
                  << dir << "' for a tag\n";
        return false;
      }
      errno = 0;
      char *endp = 0;
      unsigned long val = strtoul(value.c_str(), &endp, 10);
      if ((val == 0 && errno) || *endp || val > ~uint32_t(0))
      {
        std::cout << "*** DQMStore: WARNING: cannot restore tag '"
                  << value << "' for monitor element '"
                  << label << "' in directory '"
                  << dir << "' - invalid value\n";
        return false;
      }
      tag(me, val);
    }
    else if (kind == "qr")
    {
      // Handle qreports, but skip them while reading in references.
      if (! isSubdirectory(s_referenceDirName, dir))
      {
        size_t dot = label.find('.');
        if (dot == std::string::npos)
        {
          std::cout << "*** DQMStore: WARNING: quality report label in '" << label
                    << "' is missing a '.' and cannot be extracted\n";
          return false;
        }

        std::string mename (label, 0, dot);
        std::string qrname (label, dot+1, std::string::npos);

        m.reset();
        DQMNet::QValue qv;
        if (s_rxmeqr1.match(value, 0, 0, &m))
        {
          qv.code = atoi(m.matchString(value, 1).c_str());
          qv.qtresult = strtod(m.matchString(value, 2).c_str(), 0);
          qv.message = m.matchString(value, 4);
          qv.qtname = qrname;
          qv.algorithm = m.matchString(value, 3);
        }
        else if (s_rxmeqr2.match(value, 0, 0, &m))
        {
          qv.code = atoi(m.matchString(value, 1).c_str());
          qv.qtresult = 0; // unavailable in old format
          qv.message = m.matchString(value, 2);
          qv.qtname = qrname;
          // qv.algorithm unavailable in old format
        }
        else
        {
          std::cout << "*** DQMStore: WARNING: quality test value '"
                    << value << "' is incorrectly formatted\n";
          return false;
        }

        MonitorElement *me = findObject(dir, mename);
        if (! me)
        {
          std::cout << "*** DQMStore: WARNING: no monitor element '"
                    << mename << "' in directory '"
                    << dir << "' for quality test '"
                    << label << "'\n";
          return false;
        }

        me->addQReport(qv, /* FIXME: getQTest(qv.qtname)? */ 0);
      }
    }
    else
    {
      std::cout << "*** DQMStore: WARNING: cannot extract object '"
                << obj->GetName() << "' of type '"
                << obj->IsA()->GetName() << "'\n";
      return false;
    }
  }
  else if (TNamed *n = dynamic_cast<TNamed *>(obj))
  {
    // For old DQM data.
    std::string s;
    s.reserve(6 + strlen(n->GetTitle()) + 2*strlen(n->GetName()));
    s += '<'; s += n->GetName(); s += '>';
    s += n->GetTitle();
    s += '<'; s += '/'; s += n->GetName(); s += '>';
    TObjString os(s.c_str());
    return extract(&os, dir, overwrite);
  }
  else
  {
    std::cout << "*** DQMStore: WARNING: cannot extract object '"
              << obj->GetName() << "' of type '" << obj->IsA()->GetName()
              << "' and with title '" << obj->GetTitle() << "'\n";
    return false;
  }

  // If we just read in a reference monitor element, and there is a
  // monitor element with the same name, link the two together. The
  // other direction is handled by the initialise() method.
  if (refcheck && isSubdirectory(s_referenceDirName, dir))
  {
    std::string mdir(dir, s_referenceDirName.size()+1, std::string::npos);
    if (MonitorElement *master = findObject(mdir, obj->GetName()))
    {
      master->data_.flags |= DQMNet::DQM_PROP_HAS_REFERENCE;
      master->reference_ = refcheck->object_;
    }
  }

  return true;
}
MonitorElement * DQMStore::findObject ( const std::string &  dir,
const std::string &  name 
) const [private]

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

Definition at line 1400 of file DQMStore.cc.

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

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

{
  if (dir.find_first_not_of(s_safe) != std::string::npos)
    raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
                  " unacceptable characters", dir.c_str());
  if (name.find_first_not_of(s_safe) != std::string::npos)
    raiseDQMError("DQMStore", "Monitor element path name '%s' uses"
                  " unacceptable characters", name.c_str());

  MonitorElement proto;
  proto.data_.dirname = &dir;
  proto.data_.objname = name;

  MEMap::const_iterator mepos = data_.find(proto);
  return (mepos == data_.end() ? 0
          : const_cast<MonitorElement *>(&*mepos));
}
MonitorElement * DQMStore::get ( const std::string &  path) const

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

Definition at line 1270 of file DQMStore.cc.

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

Referenced by HistoProviderDQM::access(), SiStripDcsInfo::addBadModules(), EBBeamCaloClient::analyze(), EBTriggerTowerClient::analyze(), SiPixelClusterSource::analyze(), HcalDigiClient::analyze(), EEBeamCaloClient::analyze(), EEPedestalClient::analyze(), EETimingClient::analyze(), EcalBarrelMonitorClient::analyze(), EESummaryClient::analyze(), EBClusterClient::analyze(), EETrendClient::analyze(), HcalRecHitClient::analyze(), EBTimingClient::analyze(), EEClusterClient::analyze(), EELaserClient::analyze(), RPCMon_SS_Dbx_Global::analyze(), EEIntegrityClient::analyze(), EEStatusFlagsClient::analyze(), EETestPulseClient::analyze(), HcalBaseDQMonitor::analyze(), EBStatusFlagsClient::analyze(), EEPedestalOnlineClient::analyze(), SiPixelDigiSource::analyze(), EBCosmicClient::analyze(), EBSummaryClient::analyze(), HcalSummaryClient::analyze(), EBOccupancyClient::analyze(), EBTrendClient::analyze(), EETriggerTowerClient::analyze(), EBLaserClient::analyze(), EBTestPulseClient::analyze(), EcalEndcapMonitorClient::analyze(), EEBeamHodoClient::analyze(), EELedClient::analyze(), EBBeamHodoClient::analyze(), EEOccupancyClient::analyze(), SiPixelRawDataErrorSource::analyze(), EBIntegrityClient::analyze(), EBPedestalClient::analyze(), EBPedestalOnlineClient::analyze(), EECosmicClient::analyze(), TrackerOfflineValidationSummary::associateModuleHistsWithTree(), EcalBarrelMonitorClient::beginJob(), L1TEventInfoClient::beginJob(), EcalEndcapMonitorClient::beginJob(), HLTMonPhotonClient::beginJob(), L1TEMUEventInfoClient::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), BeamMonitor::beginJob(), HLTMonElectronConsumer::beginJob(), HLTEventInfoClient::beginJob(), SiPixelEDAClient::beginLuminosityBlock(), ZDCMonitorClient::beginRun(), RPCBxTest::beginRun(), RPCEventSummary::beginRun(), RPCChamberQuality::beginRun(), HcalSummaryClient::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), HcalCoarsePedestalClient::beginRun(), CalibrationTask::book(), CalibrationScanTask::book(), RPCMonitorDigi::bookDetUnitME(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), SiPixelDataQuality::bookGlobalQualityFlag(), BeamMonitorBx::BookTables(), BeamMonitorBx::BookTrendHistos(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), HcalDeadCellClient::calculateProblems(), HcalCoarsePedestalClient::calculateProblems(), HcalDetDiagPedestalClient::calculateProblems(), HcalDigiClient::calculateProblems(), HcalTrigPrimClient::calculateProblems(), HcalBeamClient::calculateProblems(), HcalHotCellClient::calculateProblems(), HcalRawDataClient::calculateProblems(), CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), RPCOccupancyTest::clientOperation(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelDataQuality::computeGlobalQualityFlagByLumi(), CommissioningHistograms::copyCustomInformation(), FourVectorHLTOnline::countHLTGroupBXHitsEndLumiBlock(), TrigResRateMon::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupHitsEndLumiBlock(), FourVectorHLTOnline::countHLTGroupL1HitsEndLumiBlock(), FourVectorHLTOffline::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTGroupL1HitsEndLumiBlock(), TrigResRateMon::countHLTPathHitsEndLumiBlock(), FourVectorHLTOffline::countHLTPathHitsEndLumiBlock(), FourVectorHLTOnline::countHLTPathHitsEndLumiBlock(), createH2CompTest(), createH2ContentTest(), EgHLTOfflineClient::createLooseTightTrigEff(), EgHLTOfflineClient::createN1EffHists(), PFClient::createResolutionPlots(), SiStripActionExecutor::createShiftReport(), EgHLTOfflineClient::createSingleEffHists(), EgHLTOfflineClient::createTrigTagProbeEffHists(), dqmCopyRecursively(), DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap(), SiPixelActionExecutor::dumpBarrelRefValues(), SiPixelActionExecutor::dumpEndcapRefValues(), EcalBarrelMonitorModule::endJob(), MuonIsolationDQM::endJob(), HcalMonitorModule::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), DQMHistPlotter::endJob(), MuIsoValidation::endJob(), MuonAlignment::endJob(), HcalSimHitsValidation::endJob(), EcalEndcapMonitorModule::endJob(), ZDCMonitorModule::endJob(), DQMHistEffProducer::endJob(), HarvestingAnalyzer::endJob(), L1TGCTClient::endLuminosityBlock(), AlcaBeamMonitorClient::endLuminosityBlock(), EEDataCertificationTask::endLuminosityBlock(), HcalLSbyLSMonitor::endLuminosityBlock(), L1ScalersClient::endLuminosityBlock(), EBDataCertificationTask::endLuminosityBlock(), DQMDcsInfoClient::endLuminosityBlock(), L1TEventInfoClient::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HLTEventInfoClient::endLuminosityBlock(), RPCDcsInfoClient::endLuminosityBlock(), SiPixelCertification::endLuminosityBlock(), TrackEfficiencyClient::endLuminosityBlock(), L1TdeECALClient::endLuminosityBlock(), L1TEMUEventInfoClient::endLuminosityBlock(), SiStripMonitorDigi::endLuminosityBlock(), DTDataIntegrityTest::endLuminosityBlock(), DTSummaryClients::endLuminosityBlock(), L1TRPCTFClient::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), RPCClusterSizeTest::endRun(), SiPixelCertification::endRun(), MuonAlignmentSummary::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), CSCOfflineClient::endRun(), DQMDcsInfoClient::endRun(), JetMETDQMPostProcessor::endRun(), FourVectorHLTClient::endRun(), EcalEndcapMonitorClient::endRun(), RPCDeadChannelTest::endRun(), TopHLTDiMuonDQMClient::endRun(), EEDataCertificationTask::endRun(), L1TGCTClient::endRun(), RPCMultiplicityTest::endRun(), HLTTauCertifier::endRun(), EcalBarrelMonitorClient::endRun(), RPCChamberQuality::endRun(), RPCNoisyStripTest::endRun(), RPCOccupancyTest::endRun(), RPCEfficiencyShiftHisto::endRun(), PhotonDataCertification::endRun(), EBDataCertificationTask::endRun(), RPCDqmClient::endRun(), HLTMuonCertSummary::endRun(), RPCEventSummary::endRun(), HltSusyExoPostProcessor::endRun(), DTOfflineSummaryClients::endRun(), RPCEfficiencySecond::endRun(), HLTOverallSummary::endRun(), EmDQMPostProcessor::endRun(), ZDCMonitorClient::errorSummary(), CommissioningHistograms::extractHistograms(), SiPixelClusterModule::fill(), SiPixelDigiModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillDeviations(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelRawDataErrorModule::fillFED(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), DQMFEDIntegrityClient::fillHistograms(), FourVectorHLTOffline::fillHltMatrix(), FourVectorHLTOnline::fillHltMatrix(), TrigResRateMon::fillHltMatrix(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), StorageAccount::fillSummary(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), ElectronDqmAnalyzerBase::get(), HLTEventInfoClient::get1DHisto(), HLTEventInfoClient::get1DProfile(), HLTEventInfoClient::get2DHisto(), HLTEventInfoClient::get2DProfile(), getAnyHisto(), SiPixelActionExecutor::getData(), EDMtoMEConverter::getData(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), HcalRawDataClient::getHardwareSpaceHistos(), getHisto(), getHisto2(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), rpcdqmclient::clientTools::getMEs(), SiStripSummaryCreator::getSummaryME(), getTH1F(), L1TDTTFClient::getTH1F(), L1TDTTFClient::getTH2F(), getTH2F(), getTH3F(), getTProfile(), getTProfile2D(), ContentReader::give_files(), ContentReader::give_ME(), CommissioningHistograms::histogram(), htmlErrors(), HcalDetDiagLEDClient::htmlOutput(), HcalDetDiagPedestalClient::htmlOutput(), HLTMuonValidator::initializeHists(), HcalBaseDQMonitor::IsAllowedCalibType(), TkHistoMap::loadTkHistoMap(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), SiPixelHistoPlotter::makePlot(), SiStripHistoPlotter::makePlot(), PlotCombiner::makePlot(), TrigResRateMon::normalizeHLTMatrix(), DQMClientExample::performClient(), DTBlockedROChannelsTest::performClientDiagnostic(), RPCChamberQuality::performeClientOperation(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), SiStripInformationExtractor::plotHistosFromLayout(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printShiftHistoParameters(), QTestStatusChecker::processAlarms(), RPCFEDIntegrity::reset(), CastorLEDMonitor::reset(), resetME(), SiPixelHistoricInfoEDAClient::retrieveMEs(), SiPixelHistoricInfoDQMClient::retrieveMEs(), PhotonOfflineClient::runClient(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), CommissioningHistograms::runNumber(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), SamplingHistograms::SamplingHistograms(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), EcalBarrelMonitorClient::softReset(), EcalEndcapMonitorClient::softReset(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), DTDataIntegrityTask::TimeHistos(), HcalDetDiagLEDClient::validHtmlOutput(), HcalDetDiagPedestalClient::validHtmlOutput(), and SubTaskSummaryStatus::WriteThreshold().

{
  std::string dir;
  std::string name;
  splitPath(dir, name, path);
  MonitorElement proto(&dir, name);
  MEMap::const_iterator mepos = data_.find(proto);
  return (mepos == data_.end() ? 0
          : const_cast<MonitorElement *>(&*mepos));
}
std::vector< MonitorElement * > DQMStore::get ( unsigned int  tag) const

get all MonitorElements tagged as <tag>

Definition at line 1283 of file DQMStore.cc.

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

{
  // FIXME: Use reverse map [tag -> path] / [tag -> dir]?
  std::vector<MonitorElement *> result;
  for (MEMap::const_iterator i = data_.begin(), e = data_.end(); i != e; ++i)
  {
    const MonitorElement &me = *i;
    if ((me.data_.flags & DQMNet::DQM_PROP_TAGGED) && me.data_.tag == tag)
      result.push_back(const_cast<MonitorElement *>(&me));
  }
  return result;
}
std::vector< MonitorElement * > DQMStore::getAllContents ( const std::string &  path) const
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 1421 of file DQMStore.cc.

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

Referenced by EDMtoMEConverter::getData().

{
  into.clear();
  into.reserve(dirs_.size());

  MEMap::const_iterator me = data_.end();
  std::set<std::string>::const_iterator di = dirs_.begin();
  std::set<std::string>::const_iterator de = dirs_.end();
  char tagbuf[32]; // more than enough for '/' and up to 10 digits

  for ( ; di != de; ++di)
  {
    MonitorElement proto(&*di, std::string());
    MEMap::const_iterator mi = data_.lower_bound(proto);
    MEMap::const_iterator m = mi;
    size_t sz = di->size() + 2;
    size_t nfound = 0;
    for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
      if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
      {
        // the tags count for '/' + up to 10 digits, otherwise ',' + ME name
        sz += 1 + m->data_.objname.size() + 11;
        ++nfound;
      }

    if (! nfound)
      continue;

    std::vector<std::string>::iterator istr
      = into.insert(into.end(), std::string());

    istr->reserve(sz);

    *istr += *di;
    *istr += ':';
    for (sz = 0; mi != m; ++mi)
    {
      if (*di == *m->data_.dirname && (m->data_.flags & DQMNet::DQM_PROP_TAGGED))
      {
        sprintf(tagbuf, "/%u", mi->data_.tag);
        if (sz > 0)
          *istr += ',';
        *istr += m->data_.objname;
        *istr += tagbuf;
        ++sz;
      }
    }
  }
}
std::vector< MonitorElement * > DQMStore::getContents ( const std::string &  path,
unsigned int  tag 
) const

same as above for tagged MonitorElements

Definition at line 1318 of file DQMStore.cc.

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(path, clean, cleaned);
  MonitorElement proto(cleaned, std::string());

  std::vector<MonitorElement *> result;
  MEMap::const_iterator e = data_.end();
  MEMap::const_iterator i = data_.lower_bound(proto);
  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
    if (*cleaned == *i->data_.dirname
        && (i->data_.flags & DQMNet::DQM_PROP_TAGGED)
        && i->data_.tag == tag)
      result.push_back(const_cast<MonitorElement *>(&*i));

  return result;
}
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 1342 of file DQMStore.cc.

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

{
  into.clear();
  into.reserve(dirs_.size());

  MEMap::const_iterator me = data_.end();
  std::set<std::string>::const_iterator di = dirs_.begin();
  std::set<std::string>::const_iterator de = dirs_.end();
  for ( ; di != de; ++di)
  {
    MonitorElement proto(&*di, std::string());
    MEMap::const_iterator mi = data_.lower_bound(proto);
    MEMap::const_iterator m = mi;
    size_t sz = di->size() + 2;
    size_t nfound = 0;
    for ( ; m != me && isSubdirectory(*di, *m->data_.dirname); ++m)
      if (*di == *m->data_.dirname)
      {
        sz += m->data_.objname.size() + 1;
        ++nfound;
      }

    if (! nfound)
      continue;

    std::vector<std::string>::iterator istr
      = into.insert(into.end(), std::string());

    if (showContents)
    {
      istr->reserve(sz);

      *istr += *di;
      *istr += ':';
      for (sz = 0; mi != m; ++mi)
      {
        if (*di != *mi->data_.dirname)
          continue;

        if (sz > 0)
          *istr += ',';

        *istr += mi->data_.objname;
        ++sz;
      }
    }
    else
    {
      istr->reserve(di->size() + 2);
      *istr += *di;
      *istr += ':';
    }
  }
}
std::vector< MonitorElement * > DQMStore::getContents ( const std::string &  path) const

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

Definition at line 1299 of file DQMStore.cc.

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

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(path, clean, cleaned);
  MonitorElement proto(cleaned, std::string());

  std::vector<MonitorElement *> result;
  MEMap::const_iterator e = data_.end();
  MEMap::const_iterator i = data_.lower_bound(proto);
  for ( ; i != e && isSubdirectory(*cleaned, *i->data_.dirname); ++i)
    if (*cleaned == *i->data_.dirname)
      result.push_back(const_cast<MonitorElement *>(&*i));

  return result;
}
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 1493 of file DQMStore.cc.

References data_, ExpressReco_HICollisions_FallBack::e, i, mergePath(), path(), raiseDQMError(), and query::result.

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

{
  lat::Regexp rx;
  try
  {
    rx = lat::Regexp(pattern, 0, syntaxType);
    rx.study();
  }
  catch (lat::Error &e)
  {
    raiseDQMError("DQMStore", "Invalid regular expression '%s': %s",
                  pattern.c_str(), e.explain().c_str());
  }

  std::string path;
  std::vector<MonitorElement *> result;
  MEMap::const_iterator i = data_.begin();
  MEMap::const_iterator e = data_.end();
  for ( ; i != e; ++i)
  {
    path.clear();
    mergePath(path, *i->data_.dirname, i->data_.objname);
    if (rx.match(path))
      result.push_back(const_cast<MonitorElement *>(&*i));
  }

  return result;
}
std::vector< std::string > DQMStore::getMEs ( void  ) const

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

Definition at line 1244 of file DQMStore.cc.

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

Referenced by CalibrationTask::book(), CalibrationScanTask::book(), SiPixelDataQuality::computeGlobalQualityFlag(), dqmCopyRecursively(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), L1TdeECALClient::endLuminosityBlock(), L1TRPCTFClient::endLuminosityBlock(), CSCOfflineClient::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), StorageAccount::fillSummary(), ElectronDqmAnalyzerBase::find(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripUtility::getMEList(), SiStripSummaryCreator::getSummaryME(), ContentReader::give_files(), SiPixelWebInterface::handleEDARequest(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readLayoutNames(), JetMETDQMOfflineClient::runClient_(), and SiPixelInformationExtractor::selectMEList().

{
  MonitorElement proto(&pwd_, std::string());
  std::vector<std::string> result;
  MEMap::const_iterator e = data_.end();
  MEMap::const_iterator i = data_.lower_bound(proto);
  for ( ; i != e && isSubdirectory(pwd_, *i->data_.dirname); ++i)
    if (pwd_ == *i->data_.dirname)
      result.push_back(i->getName());

  return result;
}
QCriterion * DQMStore::getQCriterion ( const std::string &  qtname) const
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 2481 of file DQMStore.cc.

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

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(path, clean, cleaned);

  int status = dqm::qstatus::STATUS_OK;
  MEMap::const_iterator mi = data_.begin();
  MEMap::const_iterator me = data_.end();
  for ( ; mi != me; ++mi)
  {
    if (! cleaned->empty() && ! isSubdirectory(*cleaned, *mi->data_.dirname))
      continue;

    if (mi->hasError())
      return dqm::qstatus::ERROR;
    else if (mi->hasWarning())
      status = dqm::qstatus::WARNING;
    else if (status < dqm::qstatus::WARNING
             && mi->hasOtherReport())
      status = dqm::qstatus::OTHER;
  }
  return status;
}
std::vector< std::string > DQMStore::getSubdirs ( void  ) const

get list of subdirectories of current directory

Definition at line 1221 of file DQMStore.cc.

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

Referenced by SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiStripSummaryCreator::createSummary(), dqmCopyRecursively(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), DQMFileLoader::endJob(), DataCertificationJetMET::endRun(), JetMETDQMPostProcessor::endRun(), FourVectorHLTClient::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), FUShmDQMOutputService::findMonitorElements(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), ContentReader::give_subdirs(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readLayoutNames(), ElectronDqmAnalyzerBase::remove_other_dirs(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), CaloTowersClient::runClient_(), HLXMonitor::SaveDQMFile(), DQMFileSaver::saveForOffline(), DQMFileSaver::saveForOnline(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), and HLXMonitor::SetupHists().

{
  std::vector<std::string> result;
  std::set<std::string>::const_iterator e = dirs_.end();
  std::set<std::string>::const_iterator i = dirs_.find(pwd_);

  // If we didn't find current directory, the tree is empty, so quit.
  if (i == e)
    return result;

  // Skip the current directory and then start looking for immediate
  // subdirectories in the dirs_ list.  Stop when we are no longer in
  // (direct or indirect) subdirectories of pwd_.  Note that we don't
  // "know" which order the set will sort A/B, A/B/C and A/D.
  while (++i != e && isSubdirectory(pwd_, *i))
    if (i->find('/', pwd_.size()+1) == std::string::npos)
      result.push_back(*i);

  return result;
}
void DQMStore::goUp ( void  )

equivalent to "cd .."

Definition at line 248 of file DQMStore.cc.

References pos, pwd_, and setCurrentFolder().

Referenced by MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), SiPixelActionExecutor::bookOccupancyPlots(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiStripSummaryCreator::createSummary(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), JetMETDQMPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelActionExecutor::fillEfficiency(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiPixelInformationExtractor::findNoisyPixels(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripUtility::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiStripInformationExtractor::printAlarmList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), and SiPixelInformationExtractor::selectMEList().

{
  size_t pos = pwd_.rfind('/');
  if (pos == std::string::npos)
    setCurrentFolder("");
  else
    setCurrentFolder(pwd_.substr(0, pos));
}
MonitorElement* DQMStore::initialise ( MonitorElement me,
const std::string &  path 
) [private]

Referenced by book().

DQMStore * DQMStore::instance ( void  ) [static, private]

Definition at line 120 of file DQMStore.cc.

References gather_cfg::cout, DQMStore(), ExpressReco_HICollisions_FallBack::e, cmsRelvalreport::exit, s_instance, and cms::Exception::what().

{
  if (! s_instance)
  {
    try
    {
      DQMStore *bei = new DQMStore(edm::ParameterSet());
      assert (s_instance == bei);
    }
    catch(DQMError &e)
    {
      std::cout << e.what() << std::endl;
      exit(255);
    }
  }

  return s_instance;
}
bool DQMStore::isCollateME ( MonitorElement me) const [private]

Definition at line 2559 of file DQMStore.cc.

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

Referenced by extract().

{ return me && isSubdirectory(s_collateDirName, *me->data_.dirname); }
bool DQMStore::load ( const std::string &  filename,
OpenRunDirs  stripdirs = StripRunDirs,
bool  fileMustExist = true 
)

public load root file <filename>, and copy MonitorElements; overwrite identical MonitorElements (default: true); set DQMStore.collateHistograms to true to sum several files note: by default this method strips off run dir structure

Definition at line 2213 of file DQMStore.cc.

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

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

{
  bool overwrite = true;
  if (collateHistograms_) overwrite = false;
  if (verbose_) 
  {
    std::cout << "DQMStore::load: reading from file '" << filename << "'\n";
    if (collateHistograms_)
      std::cout << "DQMStore::load: in collate mode   " << "\n";
    else
      std::cout << "DQMStore::load: in overwrite mode   " << "\n";
  }
    
  return readFile(filename,overwrite,"","",stripdirs,fileMustExist);
     
}
void DQMStore::makeDirectory ( const std::string &  path) [private]

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

Definition at line 260 of file DQMStore.cc.

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

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

{
  std::string prev;
  std::string subdir;
  std::string name;
  prev.reserve(path.size());
  subdir.reserve(path.size());
  name.reserve(path.size());
  size_t prevname = 0;
  size_t slash = 0;

  while (true)
  {
    // Create this subdirectory component.
    subdir.clear();
    subdir.append(path, 0, slash);
    name.clear();
    name.append(subdir, prevname, std::string::npos);
    if (! prev.empty() && findObject(prev, name))
      raiseDQMError("DQMStore", "Attempt to create subdirectory '%s'"
                    " which already exists as a monitor element",
                    subdir.c_str());

    if (! dirs_.count(subdir))
      dirs_.insert(subdir);

    // Stop if we've reached the end (including possibly a trailing slash).
    if (slash+1 >= path.size())
      break;

    // Find the next slash, making sure we progress.  If reach the end,
    // process the last path component; the next loop round will terminate.
    prevname = slash ? slash+1 : slash;
    prev = subdir;
    if ((slash = path.find('/', ++slash)) == std::string::npos)
      slash = path.size();
  }
}
bool DQMStore::open ( const std::string &  filename,
bool  overwrite = false,
const std::string &  onlypath = "",
const std::string &  prepend = "",
OpenRunDirs  stripdirs = KeepRunDirs,
bool  fileMustExist = true 
)
const DQMStore& DQMStore::operator= ( const DQMStore ) [private]
const std::string & DQMStore::pwd ( void  ) const

return pathname of current directory

Definition at line 209 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), HcalDAQInfo::beginJob(), SiStripSpyMonitorModule::beginJob(), HcalDataCertification::beginJob(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), CalibrationScanTask::book(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), BTagDifferentialPlot::bookHisto(), HLTMuonMatchAndPlot::bookIt(), SiPixelDigiSource::bookMEs(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiStripSummaryCreator::createSummary(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), DQMHcalIsoTrackPostProcessor::endJob(), HcalDAQInfo::endLuminosityBlock(), L1TdeECALClient::endLuminosityBlock(), DataCertificationJetMET::endRun(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripInformationExtractor::getSingleModuleHistos(), SiStripSummaryCreator::getSummaryME(), SiStripUtility::getTopFolderPath(), SiPixelInformationExtractor::getTrackerMapHistos(), ContentReader::give_files(), ContentReader::give_subdirs(), SiStripUtility::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::goToDir(), SiStripBadComponentsDQMService::goToDir(), CommissioningHistograms::histogram(), SiPixelActionExecutor::prephistosB(), SiPixelActionExecutor::prephistosE(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), ElectronDqmAnalyzerBase::remove_other_dirs(), SiPixelInformationExtractor::selectMEList(), SiStripTrackerMapCreator::setTkMapFromHistogram(), GenericBenchmark::setup(), and SubTaskSummaryStatus::WriteThreshold().

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

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

Definition at line 2043 of file DQMStore.cc.

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

Referenced by readFile().

{
  unsigned int ntot = 0;
  unsigned int count = 0;

  if (! file->cd(curdir.c_str()))
    raiseDQMError("DQMStore", "Failed to process directory '%s' while"
                  " reading file '%s'", curdir.c_str(), file->GetName());

  // Figure out current directory name, but strip out the top
  // directory into which we dump everything.
  std::string dirpart = curdir;
  if (dirpart.compare(0, s_monitorDirName.size(), s_monitorDirName) == 0)
  {
    if (dirpart.size() == s_monitorDirName.size())
      dirpart.clear();
    else if (dirpart[s_monitorDirName.size()] == '/')
      dirpart.erase(0, s_monitorDirName.size()+1);
  }

  // See if we are going to skip this directory.
  bool skip = (! onlypath.empty() && ! isSubdirectory(onlypath, dirpart));
  
  if (prepend == s_collateDirName || 
      prepend == s_referenceDirName || 
      stripdirs == StripRunDirs )
  {
    // Remove Run # and RunSummary dirs
    // first look for Run summary, 
    // if that is found and erased, also erase Run dir
    size_t slash = dirpart.find('/');
    size_t pos = dirpart.find("/Run summary");
    if (slash != std::string::npos && pos !=std::string::npos) 
    {
      dirpart.erase(pos,12);
    
      pos = dirpart.find("Run ");
      size_t length = dirpart.find('/',pos+1)-pos+1;
      if (pos !=std::string::npos) 
        dirpart.erase(pos,length);
    }
  } 

  // If we are prepending, add it to the directory name, 
  // and suppress reading of already existing reference histograms
  if (prepend == s_collateDirName || 
      prepend == s_referenceDirName)
  {
    size_t slash = dirpart.find('/');
    // If we are reading reference, skip previous reference.
    if (slash == std::string::npos   // skip if Reference is toplevel folder, i.e. no slash
        && slash+1+s_referenceDirName.size() == dirpart.size()
        && dirpart.compare(slash+1, s_referenceDirName.size(), s_referenceDirName) == 0)
      return 0;

    slash = dirpart.find('/');    
    // Skip reading of EventInfo subdirectory.
    if (slash != std::string::npos
        && slash + 10 == dirpart.size()
        && dirpart.compare( slash+1 , 9 , "EventInfo") == 0) {
      if (verbose_)
        std::cout << "DQMStore::readDirectory: skipping '" << dirpart << "'\n";
      return 0;
    }

    // Add prefix.
    if (dirpart.empty())
      dirpart = prepend;
    else
      dirpart = prepend + '/' + dirpart;
  }
  else if (! prepend.empty())
  {
    if (dirpart.empty())
      dirpart = prepend;
    else
      dirpart = prepend + '/' + dirpart;
  }

  // Loop over the contents of this directory in the file.
  // Post-pone string object handling to happen after other
  // objects have been read in so we are guaranteed to have
  // histograms by the time we read in quality tests and tags.
  TKey *key;
  TIter next (gDirectory->GetListOfKeys());
  std::list<TObject *> delayed;
  while ((key = (TKey *) next()))
  {
    std::auto_ptr<TObject> obj(key->ReadObj());
    if (dynamic_cast<TDirectory *>(obj.get()))
    {
      std::string subdir;
      subdir.reserve(curdir.size() + strlen(obj->GetName()) + 2);
      subdir += curdir;
      if (! curdir.empty())
        subdir += '/';
      subdir += obj->GetName();

      ntot += readDirectory(file, overwrite, onlypath, prepend, subdir, stripdirs);
    }
    else if (skip)
      ;
    else if (dynamic_cast<TObjString *>(obj.get()))
    {
      delayed.push_back(obj.release());
    }
    else
    {
      if (verbose_ > 2)
        std::cout << "DQMStore: reading object '" << obj->GetName()
                  << "' of type '" << obj->IsA()->GetName()
                  << "' from '" << file->GetName()
                  << "' into '" << dirpart << "'\n";

      makeDirectory(dirpart);
      if (extract(obj.get(), dirpart, overwrite))
        ++count;
    }
  }

  while (! delayed.empty())
  {
    if (verbose_ > 2)
      std::cout << "DQMStore: reading object '" << delayed.front()->GetName()
                << "' of type '" << delayed.front()->IsA()->GetName()
                << "' from '" << file->GetName()
                << "' into '" << dirpart << "'\n";

    makeDirectory(dirpart);
    if (extract(delayed.front(), dirpart, overwrite))
      ++count;

    delete delayed.front();
    delayed.pop_front();
  }

  if (verbose_ > 1)
    std::cout << "DQMStore: read " << count << '/' << ntot
              << " objects from directory '" << dirpart << "'\n";

  return ntot + count;
}
bool DQMStore::readFile ( const std::string &  filename,
bool  overwrite = false,
const std::string &  onlypath = "",
const std::string &  prepend = "",
OpenRunDirs  stripdirs = StripRunDirs,
bool  fileMustExist = true 
) [private]

private readFile <filename>, and copy MonitorElements; if flag=true, overwrite identical MonitorElements (default: false); if onlypath != "", read only selected directory if prepend !="", prepend string to path if StripRunDirs is set the run and run summary folders are erased.

Definition at line 2238 of file DQMStore.cc.

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

Referenced by DQMStore(), load(), and open().

{
  
  if (verbose_)
    std::cout << "DQMStore::readFile: reading from file '" << filename << "'\n";

  std::auto_ptr<TFile> f;

  try 
  {
    f.reset(TFile::Open(filename.c_str()));
    if (! f.get() || f->IsZombie())
      raiseDQMError("DQMStore", "Failed to open file '%s'", filename.c_str());
  }
  catch (std::exception &)
  {
    if (fileMustExist)
      throw;
    else
    {  
    if (verbose_)
      std::cout << "DQMStore::readFile: file '" << filename << "' does not exist, continuing\n";
    return false;
    }
  }

  unsigned n = readDirectory(f.get(), overwrite, onlypath, prepend, "", stripdirs);
  f->Close();

  MEMap::iterator mi = data_.begin();
  MEMap::iterator me = data_.end();
  for ( ; mi != me; ++mi)
    const_cast<MonitorElement &>(*mi).updateQReportStats();

  if (verbose_)
  {
    std::cout << "DQMStore::open: successfully read " << n
              << " objects from file '" << filename << "'";
    if (! onlypath.empty())
      std::cout << " from directory '" << onlypath << "'";
    if (! prepend.empty())
      std::cout << " into directory '" << prepend << "'";
    std::cout << std::endl;
  }
  return true;
}
void DQMStore::removeContents ( void  )
void DQMStore::removeContents ( const std::string &  dir)

remove all monitoring elements from directory;

Definition at line 2316 of file DQMStore.cc.

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

{
  MonitorElement proto(&dir, std::string());
  MEMap::iterator e = data_.end();
  MEMap::iterator i = data_.lower_bound(proto);
  while (i != e && isSubdirectory(dir, *i->data_.dirname))
    if (dir == *i->data_.dirname)
      data_.erase(i++);
    else
      ++i;
}
void DQMStore::removeElement ( const std::string &  name)

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

Definition at line 2338 of file DQMStore.cc.

References pwd_.

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

void DQMStore::removeElement ( const std::string &  dir,
const std::string &  name,
bool  warning = true 
)

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

Definition at line 2346 of file DQMStore.cc.

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

{
  MonitorElement proto(&dir, name);
  MEMap::iterator pos = data_.find(proto);
  if (pos == data_.end() && warning)
    std::cout << "DQMStore: WARNING: attempt to remove non-existent"
              << " monitor element '" << name << "' in '" << dir << "'\n";
  else
    data_.erase(pos);
}
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 1529 of file DQMStore.cc.

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

Referenced by DQMStore(), and DQMService::flush().

{
  MEMap::iterator mi = data_.begin();
  MEMap::iterator me = data_.end();
  for ( ; mi != me; ++mi)
  {
    MonitorElement &me = const_cast<MonitorElement &>(*mi);
    if (mi->wasUpdated())
    {
      if (me.resetMe())
        me.Reset();
      me.resetUpdate();
    }
  }

  reset_ = true;
}
void DQMStore::rmdir ( const std::string &  path)

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

Definition at line 2296 of file DQMStore.cc.

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

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(path, clean, cleaned);
  MonitorElement proto(cleaned, std::string());

  MEMap::iterator e = data_.end();
  MEMap::iterator i = data_.lower_bound(proto);
  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
    data_.erase(i++);

  std::set<std::string>::iterator de = dirs_.end();
  std::set<std::string>::iterator di = dirs_.lower_bound(*cleaned);
  while (di != de && isSubdirectory(*cleaned, *di))
    dirs_.erase(di++);
}
void DQMStore::runQTests ( void  )

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

Definition at line 2460 of file DQMStore.cc.

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

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

{

  if (verbose_ > 0)
    std::cout << "DQMStore: running runQTests() with reset = "
              << ( reset_ ? "true" : "false" ) << std::endl;

  // Apply quality tests to each monitor element, skipping references.
  MEMap::iterator mi = data_.begin();
  MEMap::iterator me = data_.end();
  for ( ; mi != me; ++mi)
    if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
      const_cast<MonitorElement &>(*mi).runQTests();

  reset_ = false;
}
void DQMStore::save ( const std::string &  filename,
const std::string &  path = "",
const std::string &  pattern = "",
const std::string &  rewrite = "",
SaveReferenceTag  ref = SaveWithReference,
int  minStatus = dqm::qstatus::STATUS_OK,
const std::string &  fileupdate = "RECREATE" 
)

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

Definition at line 1883 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_TAGGED, ExpressReco_HICollisions_FallBack::e, f, dbtoweb::file, i, isSubdirectory(), funct::master(), max(), path(), raiseDQMError(), linker::replace(), s_monitorDirName, s_referenceDirName, SaveWithoutReference, SaveWithReference, SaveWithReferenceForQTest, ntuplemaker::status, and verbose_.

Referenced by SiStripGainFromData::algoEndJob(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), EETriggerTowerTask::cleanup(), EBTriggerTowerTask::cleanup(), doSaveForOnline(), TrackingTruthValid::endJob(), HcalSimHitStudy::endJob(), SiStripOfflineDQM::endJob(), SiPixelDigiSource::endJob(), RCTMonitor::endJob(), L1TGMT::endJob(), L1TGCT::endJob(), SiStripLAProfileBooker::endJob(), LaserDQM::endJob(), GenericBenchmarkAnalyzer::endJob(), HcalDigiTester::endJob(), TrackEfficiencyMonitor::endJob(), SiStripMonitorDigi::endJob(), MonitorLTC::endJob(), SiStripDigiValid::endJob(), BTagValidator::endJob(), ElectronDqmAnalyzerBase::endJob(), DQMHcalIsoTrackAlCaReco::endJob(), DQMHcalDiJetsAlCaReco::endJob(), SiPixelHistoricInfoDQMClient::endJob(), EgammaSuperClusters::endJob(), DQMHOAlCaRecoStream::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), TkAlCaRecoMonitor::endJob(), SiStripFEDMonitorPlugin::endJob(), SiPixelHitEfficiencySource::endJob(), SiPixelRawDataErrorSource::endJob(), L1TRPCTPG::endJob(), L1TDTTF::endJob(), L1TdeCSCTF::endJob(), ValHcalIsoTrackHLT::endJob(), SiStripTrackingRecHitsValid::endJob(), NoiseRatesClient::endJob(), ZdcSimHitStudy::endJob(), EgammaBasicClusters::endJob(), SiStripMonitorFilter::endJob(), METFileSaver::endJob(), SiStripSpyMonitorModule::endJob(), L1TECALTPG::endJob(), L1TCompare::endJob(), DQMHcalPhiSymHLT::endJob(), SiPixelRecHitsValid::endJob(), DQMSimpleFileSaver::endJob(), PiZeroAnalyzer::endJob(), DTtTrigDBValidation::endJob(), SiStripMonitorHLT::endJob(), SiPixelOfflineCalibAnalysisBase::endJob(), MuonTrackAnalyzer::endJob(), PhotonValidator::endJob(), TestSuite::endJob(), JPTJetAnalyzer::endJob(), SiPixelRecHitSource::endJob(), L1TCSCTPG::endJob(), HLTMonHcalIsoTrack::endJob(), MuonAlignment::endJob(), MuonTrackResidualAnalyzer::endJob(), HcalSimHitsValidation::endJob(), DataCertificationJetMET::endJob(), DQMSourceEleCalib::endJob(), TrackingMonitor::endJob(), SiStripFEDCheckPlugin::endJob(), SiStripCMMonitorPlugin::endJob(), HLTAlCaMonPi0::endJob(), HLTAlCaMonEcalPhiSym::endJob(), PFTester::endJob(), MixCollectionValidation::endJob(), GlobalTest::endJob(), SiPixelHistoricInfoEDAClient::endJob(), SiPixelMuonHLT::endJob(), L1TDTTPG::endJob(), L1TdeRCT::endJob(), PhotonAnalyzer::endJob(), DQMSourcePi0::endJob(), RPCTTUMonitor::endJob(), RPCMonitorDigi::endJob(), ValidationHcalIsoTrackAlCaReco::endJob(), HcalRecHitsClient::endJob(), Digi2Raw2Digi::endJob(), CSCRecHitValidation::endJob(), MonitorTrackResiduals::endJob(), RPCMonitorSync::endJob(), L1TRCT::endJob(), HLTMon::endJob(), SiPixelDigiValid::endJob(), GlobalMuonMatchAnalyzer::endJob(), L1TGT::endJob(), RPCRecHitValid::endJob(), JetFileSaver::endJob(), CaloTowersClient::endJob(), SiStripMonitorTrack::endJob(), SiPixelHLTSource::endJob(), SiPixelClusterSource::endJob(), L1TCSCTF::endJob(), DQMHcalIsoTrackHLT::endJob(), SiStripRecHitsValid::endJob(), TkConvValidator::endJob(), PerformanceAnalyzer::endJob(), RPCDigiValid::endJob(), CSCDigiValidation::endJob(), LaserAlignmentT0ProducerDQM::endJob(), TrackSplittingMonitor::endJob(), SiStripMonitorCluster::endJob(), SiStripCommissioningSource::endJob(), L1TRPCTF::endJob(), BxTiming::endJob(), DQMHcalPhiSymAlCaReco::endJob(), SiPixelTrackResidualSource::endJob(), HLTHiggsBits::endJob(), TopValidation::endJob(), SiStripMonitorPedestals::endRun(), RPCEfficiency::endRun(), SiPixelHistoricInfoEDAClient::endRun(), MultiTrackValidator::endRun(), MuonTrackValidator::endRun(), SiStripMonitorRawData::endRun(), BeamHaloAnalyzer::endRun(), EcalSelectiveReadoutValidation::endRun(), SiPixelHistoricInfoDQMClient::endRun(), RPCEfficiencyShiftHisto::endRun(), SiStripMonitorQuality::endRun(), V0Validator::endRun(), RPCEfficiencySecond::endRun(), HLTMuonMatchAndPlot::finish(), RPCMonitorSync::readRPCDAQStrips(), PhotonOfflineClient::runClient(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::save(), TkHistoMap::save(), HLXMonitor::SaveDQMFile(), SiPixelHistoricInfoEDAClient::saveFile(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), ElectronValidator::saveStore(), PFJetBenchmark::write(), PFTauElecRejectionBenchmark::write(), PFMETBenchmark::write(), CSCDigiValidation::~CSCDigiValidation(), CSCRecHitValidation::~CSCRecHitValidation(), EcalDigisValidation::~EcalDigisValidation(), EcalRecHitsValidation::~EcalRecHitsValidation(), EcalSimHitsValidation::~EcalSimHitsValidation(), GlobalDigisHistogrammer::~GlobalDigisHistogrammer(), GlobalHitsHistogrammer::~GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::~GlobalHitsProdHistStripper(), GlobalHitsTester::~GlobalHitsTester(), GlobalRecHitsHistogrammer::~GlobalRecHitsHistogrammer(), MuonDTDigis::~MuonDTDigis(), and SiPixelTrackingRecHitsValid::~SiPixelTrackingRecHitsValid().

{
  std::set<std::string>::iterator di, de;
  MEMap::iterator mi, me = data_.end();
  DQMNet::QReports::const_iterator qi, qe;
  int nme=0;

  // TFile flushes to disk with fsync() on every TDirectory written to the
  // file.  This makes DQM file saving painfully slow, and ironically makes
  // it _more_ likely the file saving gets interrupted and corrupts the file.
  // The utility class below simply ignores the flush synchronisation.
  class TFileNoSync : public TFile
  {
  public:
    TFileNoSync(const char *file, const char *opt) : TFile(file, opt) {}
    virtual Int_t SysSync(Int_t) { return 0; }
  };

  // open output file, on 1st save recreate, later update
  if (verbose_)
    std::cout << "\n DQMStore: Opening TFile '" << filename 
              << "' with option '" << fileupdate <<"'\n";

  TFileNoSync f(filename.c_str(), fileupdate.c_str()); // open file
  if(f.IsZombie())
    raiseDQMError("DQMStore", "Failed to create/update file '%s'", filename.c_str());
  f.cd();
  
  // Construct a regular expression from the pattern string.
  std::auto_ptr<lat::Regexp> rxpat;
  if (! pattern.empty())
    rxpat.reset(new lat::Regexp(pattern.c_str()));

  // Prepare a path for the reference object selection.
  std::string refpath;
  refpath.reserve(s_referenceDirName.size() + path.size() + 2);
  refpath += s_referenceDirName;
  if (! path.empty())
  {
    refpath += '/';
    refpath += path;
  }

  // Loop over the directory structure.
  for (di = dirs_.begin(), de = dirs_.end(); di != de; ++di)
  {
    // Check if we should process this directory.  We process the
    // requested part of the object tree, including references.
    if (! path.empty()
        && ! isSubdirectory(path, *di)
        && ! isSubdirectory(refpath, *di))
      continue;
    
    // Loop over monitor elements in this directory.
    MonitorElement proto(&*di, std::string());
    mi = data_.lower_bound(proto);
    for ( ; mi != me && isSubdirectory(*di, *mi->data_.dirname); ++mi)
    {
      // Skip if it isn't a direct child.
      if (*di != *mi->data_.dirname)
        continue;

      // Handle reference histograms, with three distinct cases:
      // 1) Skip all references entirely on saving.
      // 2) Blanket saving of all references.
      // 3) Save only references for monitor elements with qtests.
      // The latter two are affected by "path" sub-tree selection,
      // i.e. references are saved only in the selected tree part.
      if (isSubdirectory(refpath, *mi->data_.dirname))
      {
        if (ref == SaveWithoutReference)
          // Skip the reference entirely.
          continue;
        else if (ref == SaveWithReference)
          // Save all references regardless of qtests.
          ;
        else if (ref == SaveWithReferenceForQTest)
        {
          // Save only references for monitor elements with qtests
          // with an optional cut on minimum quality test result.
          int status = -1;
          std::string mname(mi->getFullname(), s_referenceDirName.size()+1, std::string::npos);
          MonitorElement *master = get(mname);
          if (master)
            for (size_t i = 0, e = master->data_.qreports.size(); i != e; ++i)
              status = std::max(status, master->data_.qreports[i].code);

          if (! master || status < minStatus)
          {
            if (verbose_ > 1)
              std::cout << "DQMStore::save: skipping monitor element '"
                        << mi->data_.objname << "' while saving, status is "
                        << status << ", required minimum status is "
                        << minStatus << std::endl;
            continue;
          }
        }
      }

      if (verbose_ > 1)
        std::cout << "DQMStore::save: saving monitor element '"
                  << mi->data_.objname << "'\n";
      nme++; // count saved histograms

      // Create the directory.
      gDirectory->cd("/");
      if (di->empty())
        cdInto(s_monitorDirName);
      else if (rxpat.get())
        cdInto(s_monitorDirName + '/' + lat::StringOps::replace(*di, *rxpat, rewrite));
      else
        cdInto(s_monitorDirName + '/' + *di);

      // Save the object.
      switch (mi->kind())
      {
      case MonitorElement::DQM_KIND_INT:
      case MonitorElement::DQM_KIND_REAL:
      case MonitorElement::DQM_KIND_STRING:
        TObjString(mi->tagString().c_str()).Write();
        break;

      default:
        mi->object_->Write();
        break;
      }

      // Save quality reports if this is not in reference section.
      if (! isSubdirectory(s_referenceDirName, *mi->data_.dirname))
      {
        qi = mi->data_.qreports.begin();
        qe = mi->data_.qreports.end();
        for ( ; qi != qe; ++qi)
          TObjString(mi->qualityTagString(*qi).c_str()).Write();
      }

      // Save tag if any
      if (mi->data_.flags & DQMNet::DQM_PROP_TAGGED)
        TObjString(mi->tagLabelString().c_str()).Write();
    }
  }

  f.Close();

  // Maybe make some noise.
  if (verbose_)
    std::cout << "DQMStore::save: successfully wrote " << nme 
              << " objects from path '" << path  
              << "' into DQM file '" << filename << "'\n";
}
void DQMStore::setAccumulate ( MonitorElement me,
bool  flag 
) [private]

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

Definition at line 2529 of file DQMStore.cc.

References MonitorElement::setAccumulate().

{
  if (me)
    me->setAccumulate(flag);
}
void DQMStore::setCurrentFolder ( const std::string &  fullpath)

set the last directory in fullpath as the current directory(create if needed); to be invoked by user to specify directories for monitoring objects before booking; commands book1D (etc) & removeElement(name) imply elements in this directory!;

Definition at line 237 of file DQMStore.cc.

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

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), RPCMon_SS_Dbx_Global::analyze(), XmasToDQMSource::analyze(), HcalSummaryClient::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), HLTMuonBPAG::begin(), HLTTopPlotter::begin(), HLTMuonMatchAndPlot::begin(), HLTMuonDQMSource::beginJob(), BxTiming::beginJob(), L1TCSCTPG::beginJob(), EwkMuLumiMonitorDQM::beginJob(), RPCTTUMonitor::beginJob(), L1Scalers::beginJob(), JPTJetAnalyzer::beginJob(), EcalBarrelMonitorClient::beginJob(), EETrendClient::beginJob(), EcalEndcapMonitorModule::beginJob(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), EEOccupancyTask::beginJob(), EEPedestalOnlineTask::beginJob(), EETriggerTowerTask::beginJob(), TrackAnalyzer::beginJob(), ElectronDqmAnalyzerBase::beginJob(), PFJetAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), PFTester::beginJob(), HaloTrigger::beginJob(), Vx3DHLTAnalyzer::beginJob(), EBRawDataTask::beginJob(), EEBeamCaloTask::beginJob(), EEBeamHodoTask::beginJob(), EELaserTask::beginJob(), EEStatusFlagsTask::beginJob(), EETestPulseTask::beginJob(), HcalDCSInfo::beginJob(), L1TDTTPGClient::beginJob(), TkAlCaRecoMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), DQMFEDIntegrityClient::beginJob(), DQMClientExample::beginJob(), GlobalTest::beginJob(), EBPedestalTask::beginJob(), HcalDAQInfo::beginJob(), HLTMonPhotonSource::beginJob(), L1GtHwValidation::beginJob(), L1TdeECALClient::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), BasicGenParticleValidation::beginJob(), L1TFED::beginJob(), RPCDaqInfo::beginJob(), L1ScalersClient::beginJob(), METAnalyzer::beginJob(), MuonAlignment::beginJob(), EBSelectiveReadoutTask::beginJob(), EBTestPulseTask::beginJob(), HLTMon::beginJob(), HLTMonHcalIsoTrack::beginJob(), L1TCSCTF::beginJob(), QcdLowPtDQM::beginJob(), TopDiLeptonDQM::beginJob(), RPCMonitorLinkSynchro::beginJob(), SiStripFEDCheckPlugin::beginJob(), TcMETAnalyzer::beginJob(), ConverterTester::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), WValidation::beginJob(), MuIsoValidation::beginJob(), DTBlockedROChannelsTest::beginJob(), EBDataCertificationTask::beginJob(), EBLaserTask::beginJob(), EcalEndcapMonitorClient::beginJob(), HLTMonPhotonClient::beginJob(), L1TGCT::beginJob(), SiStripSpyMonitorModule::beginJob(), TrackEfficiencyMonitor::beginJob(), TrackSplittingMonitor::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), MBUEandQCDValidation::beginJob(), GenericBenchmarkAnalyzer::beginJob(), DQMHcalPhiSymHLT::beginJob(), AlcaBeamMonitor::beginJob(), EBClusterTask::beginJob(), EBTriggerTowerTask::beginJob(), L1TdeRCT::beginJob(), L1TGT::beginJob(), RPCMonitorDigi::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), PhotonAnalyzer::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), PhotonValidator::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), BeamConditionsMonitor::beginJob(), EBTimingTask::beginJob(), EEClusterTask::beginJob(), EECosmicTask::beginJob(), EEIntegrityTask::beginJob(), L1TECALTPG::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), EwkMuDQM::beginJob(), MonitorLTC::beginJob(), TrackBuildingAnalyzer::beginJob(), HLTScalers::beginJob(), HLTScalersClient::beginJob(), DQMSourceEleCalib::beginJob(), PFMETAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), TopHLTDiMuonDQM::beginJob(), TauValidation::beginJob(), MuonTrackAnalyzer::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), EEHltTask::beginJob(), L1TCompare::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), L1TRCT::beginJob(), L1TRPCTPG::beginJob(), L1TEMUEventInfoClient::beginJob(), QcdHighPtDQM::beginJob(), SiPixelDaqInfo::beginJob(), SiPixelDcsInfo::beginJob(), SiStripMonitorHLT::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHOAlCaRecoStream::beginJob(), JetPtAnalyzer::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), DrellYanValidation::beginJob(), TestSuite::beginJob(), DQMHcalIsoTrackHLT::beginJob(), EcalBarrelMonitorModule::beginJob(), EESelectiveReadoutTask::beginJob(), HLTJetMETDQMSource::beginJob(), HLTMonBitSummary::beginJob(), TrigResRateMon::beginJob(), SiStripCMMonitorPlugin::beginJob(), MuCorrMETAnalyzer::beginJob(), MuonIdDQM::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), CastorMonitorModule::beginJob(), EBTrendClient::beginJob(), EERawDataTask::beginJob(), HcalDataCertification::beginJob(), L1TdeCSCTF::beginJob(), L1TLTC::beginJob(), SiStripMonitorFilter::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), BenchmarkAnalyzer::beginJob(), FourVectorHLTOffline::beginJob(), DuplicationChecker::beginJob(), TopValidation::beginJob(), ValHcalIsoTrackHLT::beginJob(), FourVectorHLTriggerOffline::beginJob(), BeamMonitorBx::beginJob(), DTDataIntegrityTest::beginJob(), EBCosmicTask::beginJob(), EETrendTask::beginJob(), HLTAlCaMonPi0::beginJob(), L1TDEMON::beginJob(), EwkElecDQM::beginJob(), SiPixelCertification::beginJob(), HcalSimHitStudy::beginJob(), BeamMonitor::beginJob(), EBBeamCaloTask::beginJob(), EBBeamHodoTask::beginJob(), EBOccupancyTask::beginJob(), EEDataCertificationTask::beginJob(), EELedTask::beginJob(), EETimingTask::beginJob(), FourVectorHLT::beginJob(), L1TDTTF::beginJob(), HTMHTAnalyzer::beginJob(), MuonIsolationDQM::beginJob(), PFJetDQMAnalyzer::beginJob(), DQMDaqInfo::beginJob(), DQMFileReader::beginJob(), DQMSourceExample::beginJob(), EEPedestalTask::beginJob(), FourVectorHLTOnline::beginJob(), HLTMonElectronConsumer::beginJob(), L1TGCTClient::beginJob(), RPCMonitorRaw::beginJob(), DQMSourcePi0::beginJob(), JetAnalyzer::beginJob(), MuonTrackResidualAnalyzer::beginJob(), EBHltTask::beginJob(), EBIntegrityTask::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), L1TdeECAL::beginJob(), TrackingMonitor::beginJob(), EBPedestalOnlineTask::beginJob(), EBStatusFlagsTask::beginJob(), EBTrendTask::beginJob(), HLTEventInfoClient::beginJob(), HLTMonElectron::beginJob(), SiStripFEDMonitorPlugin::beginJob(), TrackEfficiencyClient::beginJob(), PiZeroAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), EgHLTOfflineSource::beginJob(), MuonIdVal::beginJob(), ZDCMonitorClient::beginRun(), RPCEfficiencySecond::beginRun(), FourVectorHLTriggerOffline::beginRun(), DTOfflineSummaryClients::beginRun(), HcalHotCellClient::beginRun(), ZDCMonitorModule::beginRun(), L1TGMTClient::beginRun(), RPCBxTest::beginRun(), SiPixelClusterSource::beginRun(), TopTrigAnalyzer::beginRun(), HeavyFlavorValidation::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HLTJetMETDQMSource::beginRun(), HLTMonBitSummary::beginRun(), RPCEfficiencyShiftHisto::beginRun(), BPAGTrigAnalyzer::beginRun(), DQMProvInfo::beginRun(), HcalDigiClient::beginRun(), HLTOniaSource::beginRun(), HcalRecHitClient::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCEventSummary::beginRun(), CaloTowerAnalyzer::beginRun(), AlcaBeamMonitor::beginRun(), HcalNZSClient::beginRun(), HcalRawDataClient::beginRun(), TrigResRateMon::beginRun(), RPCChamberQuality::beginRun(), RPCDataCertification::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalSummaryClient::beginRun(), L1ExtraDQM::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), SiStripMonitorRawData::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalMonitorClient::beginRun(), SiPixelTrackResidualSource::beginRun(), OfflineDQMMuonTrigAnalyzer::beginRun(), FourVectorHLTOffline::beginRun(), DQMDcsInfo::beginRun(), METTester::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), RPCDcsInfo::beginRun(), TriggerValidator::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), SiPixelEDAClient::beginRun(), MuonAlignmentSummary::beginRun(), JetMETHLTOfflineSource::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitMonitor::beginRun(), FourVectorHLTOnline::beginRun(), EgHLTOfflineSource::beginRun(), DTSegmentAnalysisTask::beginRun(), MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), HcalBeamClient::beginRun(), V0Validator::beginRun(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), MEtoMEComparitor::book(), CalibrationScanTask::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), SiStripMonitorTrack::book(), QcdUeDQM::book1D(), QcdUeDQM::book2D(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), RPCMonitorSync::bookDetUnitME(), RPCMonitorDigi::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), EwkMuTauHistManager::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), PlotMakerReco::bookHistos(), HiggsDQM::bookHistos(), BTagPerformanceAnalyzerMC::bookHistos(), DTDataIntegrityTask::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerL1::bookHistos(), DTSegmentAnalysisTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), SiPixelHLTSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), QcdUeDQM::bookProfile(), RCTMonitor::BookRCT(), RPCMonitorDigi::bookRegionRing(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiPixelActionExecutor::bookTrackerMaps(), SiStripCertificationInfo::bookTrackingCertificationMEs(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), BxTiming::BxTiming(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), CaloJetTester::CaloJetTester(), CaloTowersValidation::CaloTowersValidation(), CastorMonitorModule::CastorMonitorModule(), cd(), HcalDataCertification::CertifyHcal(), EBTimingClient::cleanup(), EBRawDataTask::cleanup(), EEPedestalTask::cleanup(), HcalNZSMonitor::cleanup(), EBLaserClient::cleanup(), EBCosmicTask::cleanup(), EELedTask::cleanup(), EESummaryClient::cleanup(), EETriggerTowerClient::cleanup(), EEHltTask::cleanup(), EBTestPulseClient::cleanup(), EBIntegrityTask::cleanup(), EEDaqInfoTask::cleanup(), EEDcsInfoTask::cleanup(), HcalDetDiagTimingMonitor::cleanup(), EBSelectiveReadoutTask::cleanup(), EELedClient::cleanup(), EELaserTask::cleanup(), EEOccupancyTask::cleanup(), EEStatusFlagsTask::cleanup(), EETrendTask::cleanup(), EcalEndcapMonitorModule::cleanup(), HcalDigiMonitor::cleanup(), HcalTrigPrimMonitor::cleanup(), EBIntegrityClient::cleanup(), EBPedestalClient::cleanup(), EBPedestalOnlineClient::cleanup(), EETimingClient::cleanup(), EETrendClient::cleanup(), EETestPulseTask::cleanup(), HcalCoarsePedestalMonitor::cleanup(), HcalRecHitMonitor::cleanup(), HcalDataIntegrityTask::cleanup(), HcalDetDiagNoiseMonitor::cleanup(), HcalNoiseMonitor::cleanup(), EBClusterTask::cleanup(), EBTestPulseTask::cleanup(), EBTimingTask::cleanup(), EEBeamCaloTask::cleanup(), EEBeamHodoTask::cleanup(), HcalDeadCellMonitor::cleanup(), EBStatusFlagsClient::cleanup(), EBDataCertificationTask::cleanup(), EBHltTask::cleanup(), EBLaserTask::cleanup(), EBTrendTask::cleanup(), EEBeamCaloClient::cleanup(), EELaserClient::cleanup(), EEClusterTask::cleanup(), HcalDetDiagLEDMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), EBBeamCaloClient::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EEIntegrityClient::cleanup(), EEStatusFlagsClient::cleanup(), EETestPulseClient::cleanup(), EERawDataTask::cleanup(), HcalMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EEDataCertificationTask::cleanup(), EETimingTask::cleanup(), EBPedestalOnlineTask::cleanup(), EBPedestalTask::cleanup(), EEPedestalOnlineClient::cleanup(), EECosmicTask::cleanup(), EBBeamCaloTask::cleanup(), EBBeamHodoTask::cleanup(), EBOccupancyTask::cleanup(), EEBeamHodoClient::cleanup(), EESelectiveReadoutTask::cleanup(), EBBeamHodoClient::cleanup(), EEPedestalOnlineTask::cleanup(), HcalHotCellMonitor::cleanup(), EBSummaryClient::cleanup(), EBTrendClient::cleanup(), EBTriggerTowerClient::cleanup(), EBStatusFlagsTask::cleanup(), EEPedestalClient::cleanup(), EEIntegrityTask::cleanup(), HcalBeamMonitor::cleanup(), HcalEEUSMonitor::clearME(), HcalBaseMonitor::clearME(), CastorBaseMonitor::clearME(), 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(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiPixelActionExecutor::createMaps(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), PFClient::createResolutionPlots(), SiStripCommissioningSource::createRunNumber(), SiStripMonitorDigi::createSubDetMEs(), SiPixelActionExecutor::createSummary(), SiStripCommissioningSource::createTask(), SiStripCommissioningSource::createTasks(), CSCDigiValidation::CSCDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmCopyRecursively(), DQMEventInfo::DQMEventInfo(), DTGlobalRecoTask::DTGlobalRecoTask(), DTtTrigDBValidation::DTtTrigDBValidation(), EgHLTOfflineClient::EgHLTOfflineClient(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), ElectronDqmAnalyzerBase::endJob(), BTagValidator::endJob(), DQMFileLoader::endJob(), PhotonAnalyzer::endJob(), DQMHistEffProducer::endJob(), HarvestingAnalyzer::endJob(), HcalLSbyLSMonitor::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), L1TRPCTFClient::endLuminosityBlock(), ElectronDqmAnalyzerBase::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), RPCClusterSizeTest::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), ElectronDqmAnalyzerBase::endRun(), CSCOfflineClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), RPCDeadChannelTest::endRun(), RPCMultiplicityTest::endRun(), GlobalHitsProdHistStripper::endRun(), HLTTauCertifier::endRun(), RPCNoisyStripTest::endRun(), RPCOccupancyTest::endRun(), PhotonDataCertification::endRun(), DQMGenericTnPClient::endRun(), RPCDqmClient::endRun(), HLTMuonCertSummary::endRun(), HltSusyExoPostProcessor::endRun(), AlcaBeamMonitorClient::endRun(), PhotonAnalyzer::endRun(), HLTOverallSummary::endRun(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), 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(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HcalSubdetDigiMonitor::HcalSubdetDigiMonitor(), HcalTimingMonitorModule::HcalTimingMonitorModule(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTHiggsBits::HLTHiggsBits(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTJetMETValidation::HLTJetMETValidation(), HLTMon::HLTMon(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), HcalTimingMonitorModule::initialize(), HLTMuonValidator::initializeHists(), MuonAnalyzerSBSM::InitializePlots(), LaserDQM::initMonitors(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JPTJetTester::JPTJetTester(), L1ExtraDQM::L1ExtraDQM(), L1GtHwValidation::L1GtHwValidation(), L1ScalersClient::L1ScalersClient(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TECALTPG::L1TECALTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TGT::L1TGT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), DQMProvInfo::makeHLTKeyInfo(), PlotCombiner::makePlot(), DQMProvInfo::makeProvInfo(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripFEDErrorsDQM::readBadAPVs(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), JetMETHLTOfflineClient::runClient_(), EgHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), CaloTowersClient::runClient_(), CommissioningHistograms::runNumber(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), SiStripFolderOrganizer::setDetectorFolder(), HistoProviderDQM::setDir(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), SiPixelFolderOrganizer::setFedFolder(), SiStripFolderOrganizer::setLayerFolder(), SiPixelFolderOrganizer::setModuleFolder(), SiStripFolderOrganizer::setSiStripControlFolder(), SiStripFolderOrganizer::setSiStripFolder(), SiStripFolderOrganizer::setSiStripTopControlFolder(), ElectronValidator::setStoreFolder(), EBClusterTask::setup(), EBIntegrityTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEClusterClient::setup(), EEPedestalClient::setup(), EEStatusFlagsClient::setup(), EETrendClient::setup(), EEHltTask::setup(), CastorLEDMonitor::setup(), EBStatusFlagsClient::setup(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), EBTrendTask::setup(), EEPedestalOnlineTask::setup(), HcalEEUSMonitor::setup(), HcalNZSMonitor::setup(), HcalZDCMonitor::setup(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::setup(), EBTriggerTowerClient::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), EBPedestalTask::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), EBTestPulseClient::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EBIntegrityClient::setup(), CastorEventDisplay::setup(), EBOccupancyTask::setup(), EELaserClient::setup(), EELaserTask::setup(), HcalDataIntegrityTask::setup(), EBClusterClient::setup(), EBTimingClient::setup(), EBTrendClient::setup(), EBHltTask::setup(), EETriggerTowerClient::setup(), EEBeamCaloTask::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBRawDataTask::setup(), EEPedestalOnlineClient::setup(), CastorHIMonitor::setup(), EBCosmicTask::setup(), EEBeamHodoTask::setup(), EEIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBTriggerTowerTask::setup(), EEOccupancyClient::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), HcalDetDiagLEDMonitor::setup(), CastorRecHitMonitor::setup(), EBOccupancyClient::setup(), EBPedestalClient::setup(), EBBeamCaloTask::setup(), EBLaserTask::setup(), EETestPulseClient::setup(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), CastorDigiMonitor::setup(), EBSummaryClient::setup(), EEBeamHodoClient::setup(), EERawDataTask::setup(), HcalLSbyLSMonitor::setup(), EBBeamCaloClient::setup(), EBBeamHodoClient::setup(), EBLaserClient::setup(), EBBeamHodoTask::setup(), EETrendTask::setup(), EBPedestalOnlineTask::setup(), EELedClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), HcalCaloTowerMonitor::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), HcalBaseDQMonitor::setup(), HcalHotCellMonitor::setup(), HcalTrigPrimMonitor::setup(), CastorPSMonitor::setup(), EEBeamCaloClient::setup(), EEIntegrityClient::setup(), EESummaryClient::setup(), EEClusterTask::setup(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), SubTaskSummaryStatus::WriteThreshold(), XmasToDQMEventInfo::XmasToDQMEventInfo(), and ZDCMonitorModule::~ZDCMonitorModule().

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(fullpath, clean, cleaned);
  makeDirectory(*cleaned);
  pwd_ = *cleaned;
}
void DQMStore::setVerbose ( unsigned  level)

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

Definition at line 201 of file DQMStore.cc.

Referenced by L1Scalers::beginJob(), ElectronDqmAnalyzerBase::beginJob(), EgammaBasicClusters::beginJob(), EgammaSuperClusters::beginJob(), RPCDqmClient::beginJob(), PiZeroAnalyzer::beginJob(), TopTrigAnalyzer::beginRun(), HeavyFlavorValidation::beginRun(), SiStripCommissioningOfflineClient::beginRun(), BPAGTrigAnalyzer::beginRun(), OfflineDQMMuonTrigAnalyzer::beginRun(), ReadMeFromFile::beginRun(), SiStripCommissioningSource::beginRun(), BxTiming::BxTiming(), ConversionPostprocessing::ConversionPostprocessing(), EgHLTOfflineClient::EgHLTOfflineClient(), EgHLTOfflineSource::EgHLTOfflineSource(), FourVectorHLT::FourVectorHLT(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::GlobalHitsProdHistStripper(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalSimHitStudy::HcalSimHitStudy(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonBitSummary::HLTMonBitSummary(), HLTMonMuonClient::HLTMonMuonClient(), HLTMuonCertSummary::HLTMuonCertSummary(), HLTMuonMatchAndPlot::HLTMuonMatchAndPlot(), HLTMuonValidator::HLTMuonValidator(), HLTOverallSummary::HLTOverallSummary(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLXMonitor::HLXMonitor(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JetMETHLTOfflineSource::JetMETHLTOfflineSource(), L1ExtraDQM::L1ExtraDQM(), L1GtHwValidation::L1GtHwValidation(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TECALTPG::L1TECALTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TGT::L1TGT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), MixCollectionValidation::MixCollectionValidation(), MuonDTDigis::MuonDTDigis(), MuonSimHitsValidAnalyzer::MuonSimHitsValidAnalyzer(), SiStripBadComponentsDQMService::openRequestedFile(), PhotonDataCertification::PhotonDataCertification(), PhotonOfflineClient::PhotonOfflineClient(), PhotonPostprocessing::PhotonPostprocessing(), CommissioningHistograms::remove(), SiStripDQMProfileToTkMapConverter::SiStripDQMProfileToTkMapConverter(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), and ZdcSimHitStudy::ZdcSimHitStudy().

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

Definition at line 2539 of file DQMStore.cc.

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

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

{
  std::vector<std::string> contents;
  getContents(contents);

  std::cout << " ------------------------------------------------------------\n"
            << "                    Directory structure:                     \n"
            << " ------------------------------------------------------------\n";

  std::copy(contents.begin(), contents.end(),
            std::ostream_iterator<std::string>(std::cout, "\n"));

  std::cout << " ------------------------------------------------------------\n";
}
void DQMStore::softReset ( MonitorElement me)

reset contents (does not erase contents permanently) (makes copy of current contents; will be subtracted from future contents)

Definition at line 2512 of file DQMStore.cc.

References MonitorElement::softReset().

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

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

tag ME as <myTag> (myTag > 0)

Definition at line 1156 of file DQMStore.cc.

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

Referenced by ConverterTester::beginJob(), DQMSourceExample::beginJob(), SiStripBaseCondObjDQM::bookCumulMEs(), RPCMonitorDigi::bookDetUnitME(), SiStripMonitorTrack::bookModMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), RPCDqmClient::endRun(), extract(), get(), getContents(), EDMtoMEConverter::getData(), SiStripMonitorQuality::getQualityME(), GlobalHitsTester::GlobalHitsTester(), EBTimingTask::setup(), EBTestPulseTask::setup(), EBIntegrityTask::setup(), EEPedestalOnlineTask::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), EBPedestalTask::setup(), EELaserTask::setup(), EBOccupancyTask::setup(), EEStatusFlagsTask::setup(), EEIntegrityTask::setup(), EBTriggerTowerTask::setup(), EcalEndcapMonitorModule::setup(), EBLaserTask::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EBPedestalOnlineTask::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EELedTask::setup(), tag(), tagAllContents(), and tagContents().

{
  if (! myTag)
    raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
                  " with a zero tag", me->getFullname().c_str());
  if ((me->data_.flags & DQMNet::DQM_PROP_TAGGED) && myTag != me->data_.tag)
    raiseDQMError("DQMStore", "Attempt to tag monitor element '%s'"
                  " twice with multiple tags", me->getFullname().c_str());

  me->data_.tag = myTag;
  me->data_.flags |= DQMNet::DQM_PROP_TAGGED;
}
void DQMStore::tag ( const std::string &  path,
unsigned int  myTag 
)

tag ME specified by full pathname (e.g. "my/long/dir/my_histo")

Definition at line 1171 of file DQMStore.cc.

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

{
  std::string dir;
  std::string name;
  splitPath(dir, name, path);

  if (MonitorElement *me = findObject(dir, name))
    tag(me, myTag);
  else
    raiseDQMError("DQMStore", "Attempt to tag non-existent monitor element"
                  " '%s' with tag %u", path.c_str(), myTag);

}
void DQMStore::tagAllContents ( const std::string &  path,
unsigned int  myTag 
)

tag all children of folder, including all subfolders and their children; path must be an exact path name

Definition at line 1199 of file DQMStore.cc.

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

{
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(path, clean, cleaned);
  MonitorElement proto(cleaned, std::string());

  // FIXME: WILDCARDS? Old one supported them, but nobody seemed to use them.
  MEMap::iterator e = data_.end();
  MEMap::iterator i = data_.lower_bound(proto);
  while (i != e && isSubdirectory(*cleaned, *i->data_.dirname))
  {
    tag(const_cast<MonitorElement *>(&*i), myTag);
    ++i;
  }
}
void DQMStore::tagContents ( const std::string &  path,
unsigned int  myTag 
)

tag all children of folder (does NOT include subfolders)

Definition at line 1187 of file DQMStore.cc.

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

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

{
  MonitorElement proto(&path, std::string());
  MEMap::iterator e = data_.end();
  MEMap::iterator i = data_.lower_bound(proto);
  for ( ; i != e && path == *i->data_.dirname; ++i)
    tag(const_cast<MonitorElement *>(&*i), myTag);
}
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 2395 of file DQMStore.cc.

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

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

{
  // Clean the path
  std::string clean;
  const std::string *cleaned = 0;
  cleanTrailingSlashes(dir, clean, cleaned);

  // Validate the path.
  if (cleaned->find_first_not_of(s_safe) != std::string::npos)
    raiseDQMError("DQMStore", "Monitor element path name '%s'"
                  " uses unacceptable characters", cleaned->c_str());

  // Redirect to the pattern match version.
  useQTestByMatch(*cleaned + "/*", qtname);
}
int DQMStore::useQTestByMatch ( const std::string &  pattern,
const std::string &  qtname 
)

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

Definition at line 2413 of file DQMStore.cc.

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

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

{
  QCriterion *qc = getQCriterion(qtname);
  if (! qc)
    raiseDQMError("DQMStore", "Cannot apply non-existent quality test '%s'",
                  qtname.c_str());

  // Clean the path
  lat::Regexp *rx = 0;
  try
  {
    rx = new lat::Regexp(pattern, 0, lat::Regexp::Wildcard);
    rx->study();
  }
  catch (lat::Error &e)
  {
    delete rx;
    raiseDQMError("DQMStore", "Invalid wildcard pattern '%s' in quality"
                  " test specification", pattern.c_str());
  }

  // Record the test for future reference.
  QTestSpec qts(rx, qc);
  qtestspecs_.push_back(qts);

  // Apply the quality test.
  MEMap::iterator mi = data_.begin();
  MEMap::iterator me = data_.end();
  std::string path;
  int cases = 0;
  for ( ; mi != me; ++mi)
  {
    path.clear();
    mergePath(path, *mi->data_.dirname, mi->data_.objname);
    if (rx->match(path))
    {
      ++cases;
      const_cast<MonitorElement &>(*mi).addQReport(qts.second);
    }
  }

  //return the number of matched cases
  return cases;
}

Friends And Related Function Documentation

friend class DQMNet [friend]

Definition at line 433 of file DQMStore.h.

friend class DQMOldReceiver [friend]

Definition at line 431 of file DQMStore.h.

friend class DQMService [friend]

Definition at line 432 of file DQMStore.h.

friend class DQMStoreExample [friend]

Definition at line 434 of file DQMStore.h.

friend class edm::DQMHttpSource [friend]

Definition at line 430 of file DQMStore.h.


Member Data Documentation

Definition at line 419 of file DQMStore.h.

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

std::set<std::string> DQMStore::dirs_ [private]

Definition at line 424 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 427 of file DQMStore.h.

Referenced by createQTest(), and DQMStore().

DQMStore::qtests_ [private]

All the quality tests.

Definition at line 426 of file DQMStore.h.

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

Definition at line 428 of file DQMStore.h.

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

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

Definition at line 420 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 418 of file DQMStore.h.

Referenced by reset(), and runQTests().

DQMStore::verbose_ [private]

Universal verbose flag for DQM.

Definition at line 416 of file DQMStore.h.

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

Verbose flag for xml-based QTests.

Definition at line 417 of file DQMStore.h.

Referenced by createQTest(), and DQMStore().