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 std::string &name, const std::string &title, int nchX, float *xbinsize)
MonitorElementbook1DD (const char *name, TH1D *h)
 Book 1D double histogram by cloning an existing histogram.
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)
MonitorElementbook1S (const char *name, const char *title, int nchX, double lowX, double highX)
 Book 1S histogram.
MonitorElementbook1S (const char *name, const char *title, int nchX, float *xbinsize)
MonitorElementbook1S (const std::string &name, const std::string &title, int nchX, float *xbinsize)
MonitorElementbook1S (const char *name, TH1S *h)
 Book 1S histogram by cloning an existing histogram.
MonitorElementbook1S (const std::string &name, TH1S *h)
 Book 1S histogram by cloning an existing histogram.
MonitorElementbook1S (const std::string &name, const std::string &title, int nchX, double lowX, double highX)
 Book 1S histogram.
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 std::string &name, const std::string &title, int nchX, double *xbinsize, double lowY, double highY, const char *option="s")
MonitorElementbookProfile (const char *name, TProfile *h)
 Book TProfile by cloning an existing profile.
MonitorElementbookProfile (const std::string &name, TProfile *h)
 Book TProfile by cloning an existing profile.
MonitorElementbookProfile (const char *name, const char *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 std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const char *option="s")
MonitorElementbookProfile (const char *name, const char *title, int nchX, double *xbinsize, int nchY, double lowY, double highY, const char *option="s")
MonitorElementbookProfile (const std::string &name, const std::string &title, int nchX, double *xbinsize, int nchY, double lowY, double highY, const char *option="s")
MonitorElementbookProfile2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")
MonitorElementbookProfile2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")
MonitorElementbookProfile2D (const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, const char *option="s")
MonitorElementbookProfile2D (const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, const char *option="s")
MonitorElementbookProfile2D (const std::string &name, TProfile2D *h)
 Book TProfile2D by cloning an existing profile.
MonitorElementbookProfile2D (const char *name, TProfile2D *h)
 Book TProfile2D by cloning an existing profile.
MonitorElementbookString (const char *name, const char *value)
 Book string.
MonitorElementbookString (const std::string &name, const std::string &value)
 Book string.
void cd (void)
 go to top directory (ie. root)
void cd (const std::string &subdir)
 cd to subdirectory (if there)
bool containsAnyMonitorable (const std::string &path) const
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)
 DQMStore (const edm::ParameterSet &pset, edm::ActivityRegistry &)
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) const
std::vector< MonitorElement * > getContents (const std::string &path, unsigned int tag) const
 same as above for tagged MonitorElements
std::vector< MonitorElement * > getMatchingContents (const std::string &pattern, lat::Regexp::Syntax syntaxType=lat::Regexp::Wildcard) const
std::vector< std::string > getMEs (void) const
 get list of (non-dir) MEs of current directory
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< fastmatch
*, QCriterion * > 
QTestSpec
typedef std::list< QTestSpecQTestSpecs

Private Member Functions

MonitorElementbook (const std::string &dir, const std::string &name, const char *context)
template<class HISTO , class COLLATE >
MonitorElementbook (const std::string &dir, const std::string &name, const char *context, int kind, HISTO *h, COLLATE collate)
MonitorElementbook1D (const std::string &dir, const std::string &name, TH1F *h)
 Book 1D histogram based on TH1F.
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
void forceReset (void)
MonitorElementinitialise (MonitorElement *me, const std::string &path)
void initializeFrom (const edm::ParameterSet &)
bool isCollateME (MonitorElement *me) const
void makeDirectory (const std::string &path)
 get folder corresponding to inpath wrt to root (create subdirs if necessary)
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)

Private Attributes

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

Friends

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

Detailed Description

Definition at line 63 of file DQMStore.h.


Member Typedef Documentation

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

Definition at line 440 of file DQMStore.h.

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

Definition at line 442 of file DQMStore.h.

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

Definition at line 441 of file DQMStore.h.

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

Definition at line 438 of file DQMStore.h.

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

Definition at line 439 of file DQMStore.h.


Member Enumeration Documentation

Enumerator:
KeepRunDirs 
StripRunDirs 

Definition at line 72 of file DQMStore.h.

Enumerator:
SaveWithoutReference 
SaveWithReference 
SaveWithReferenceForQTest 

Definition at line 66 of file DQMStore.h.


Constructor & Destructor Documentation

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

Definition at line 271 of file DQMStore.cc.

References initializeFrom().

  : verbose_ (1),
    verboseQT_ (1),
    reset_ (false),
    collateHistograms_ (false),
    readSelectedDirectory_ (""),
    pwd_ ("")
{
  initializeFrom(pset);
}
DQMStore::~DQMStore ( void  )

Definition at line 282 of file DQMStore.cc.

References alignCSCRings::e, i, 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;

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

References gather_cfg::cout, data_, dirs_, findObject(), mergePath(), mergeVDriftHistosByStation::name, getHLTPrescaleColumns::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 nme(&*dirs_.find(dir), name);
    return &const_cast<MonitorElement &>(*data_.insert(nme).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 443 of file DQMStore.cc.

References collateHistograms_, gather_cfg::cout, data_, dir, dirs_, DQMNet::DQM_PROP_HAS_REFERENCE, findObject(), h, initialise(), mergePath(), mergeVDriftHistosByStation::name, getHLTPrescaleColumns::path, qtestspecs_, MonitorElement::Reset(), 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.
  MonitorElement *me = findObject(dir, name);
  if (me)
  {
    if (collateHistograms_)
    {
      collate(me, h);
      delete h;
      return me;
    }
    else
    {    
      if (verbose_ > 1)
        std::cout << "DQMStore: "
                  << context << ": monitor element '"
                  << path << "' already exists, collating" << std::endl;
      me->Reset();
      collate(me, h);
      delete h;
      return me;
    }
  }
  else
  {
    // Create and initialise core object.
    assert(dirs_.count(dir));
    MonitorElement proto(&*dirs_.find(dir), name);
    me = const_cast<MonitorElement &>(*data_.insert(proto).first)
      .initialise((MonitorElement::Kind)kind, h);

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

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

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

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

Book 1D variable bin histogram.

Definition at line 703 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 711 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 719 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 726 of file DQMStore.cc.

References book1D(), and pwd_.

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

Book 1D histogram.

Definition at line 655 of file DQMStore.cc.

References pwd_.

Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), XmasToDQMSource::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), ecaldqm::MESetChannel::append_(), L1Scalers::beginJob(), RPCTTUMonitor::beginJob(), L1TCSCTPG::beginJob(), BxTiming::beginJob(), PFJetAnalyzer::beginJob(), APVValidationPlots::beginJob(), TrackAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), PFTester::beginJob(), DQMClientExample::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), Vx3DHLTAnalyzer::beginJob(), GlobalTest::beginJob(), EfficiencyAnalyzer::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1EmulatorErrorFlagClient::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(), L1TdeRCT::beginJob(), AlcaBeamMonitor::beginJob(), PhotonValidator::beginJob(), TopHLTDiMuonDQM::beginJob(), PFMETAnalyzer::beginJob(), DQMSourceEleCalib::beginJob(), HLTScalers::beginJob(), TrackBuildingAnalyzer::beginJob(), MonitorLTC::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), HLTMonSimpleBTag::beginJob(), BeamConditionsMonitor::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), TauValidation::beginJob(), MuonTrackAnalyzer::beginJob(), JetPtAnalyzer::beginJob(), StripValidationPlots::beginJob(), DQMHOAlCaRecoStream::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), SiStripMonitorHLT::beginJob(), QcdHighPtDQM::beginJob(), L1TRPCTPG::beginJob(), L1TRCT::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), DrellYanValidation::beginJob(), SimHitsValidationHcal::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), MuonIdDQM::beginJob(), DiMuonHistograms::beginJob(), MuCorrMETAnalyzer::beginJob(), TrigResRateMon::beginJob(), HLTMonBitSummary::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), VertexMonitor::beginJob(), SiStripMonitorFilter::beginJob(), L1TLTC::beginJob(), L1TdeCSCTF::beginJob(), CastorMonitorModule::beginJob(), DuplicationChecker::beginJob(), L1TDEMON::beginJob(), HLTAlCaMonPi0::beginJob(), TopValidation::beginJob(), HcalSimHitStudy::beginJob(), DQMSourceExample::beginJob(), MuonRecoOneHLT::beginJob(), HTMHTAnalyzer::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), EcalZmassTask::beginJob(), L1TDTTF::beginJob(), FourVectorHLT::beginJob(), BeamMonitor::beginJob(), JetAnalyzer::beginJob(), DQMSourcePi0::beginJob(), RPCMonitorRaw::beginJob(), L1TGCTClient::beginJob(), HLTMonElectronConsumer::beginJob(), EmDQMReco::beginJob(), MuonTrackResidualAnalyzer::beginJob(), TrackingMonitor::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), ElectronConversionRejectionValidator::beginJob(), EgHLTOfflineSource::beginJob(), CaloMETAnalyzer::beginJob(), PiZeroAnalyzer::beginJob(), TrackEfficiencyClient::beginJob(), HLTMonElectron::beginJob(), MuonIdVal::beginJob(), TauTagValidation::beginJob(), RPCMonitorDigi::beginRun(), RPCOccupancyTest::beginRun(), RPCEfficiencySecond::beginRun(), RPCRecHitValid::beginRun(), FourVectorHLTriggerOffline::beginRun(), RPCBxTest::beginRun(), ZDCMonitorModule::beginRun(), DQMProvInfo::beginRun(), EcalZmassClient::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTMonBitSummary::beginRun(), HLTJetMETDQMSource::beginRun(), RPCMultiplicityTest::beginRun(), HLTOfflineReproducibilityDQM::beginRun(), CaloTowerAnalyzer::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalRecHitClient::beginRun(), RPCChamberQuality::beginRun(), TrigResRateMon::beginRun(), AlcaBeamMonitor::beginRun(), DTnoiseDBValidation::beginRun(), SiStripMonitorRawData::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), RPCClusterSizeTest::beginRun(), HcalSummaryClient::beginRun(), DQMDcsInfo::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), RPCNoisyStripTest::beginRun(), METTester::beginRun(), HLTInclusiveVBFSource::beginRun(), RPCDcsInfo::beginRun(), HcalCoarsePedestalClient::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), MuonAlignmentSummary::beginRun(), RPCRecHitProbability::beginRun(), HcalDetDiagLaserMonitor::beginRun(), TriggerValidator::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), FourVectorHLTOnline::beginRun(), L1TOccupancyClient::beginRun(), HLTJetMETValidation::beginRun(), MuonTrackValidator::beginRun(), V0Validator::beginRun(), MEtoMEComparitor::book(), SiPixelHitEfficiencyModule::book(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::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(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), SiStripBaseCondObjDQM::bookCumulMEs(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), RPCFEDIntegrity::bookFEDMe(), TrackerOfflineValidationSummary::bookHarvestingHists(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTMuonValidator::bookHist(), BTagDifferentialPlot::bookHisto(), JPTJetAnalyzer::bookHistogram(), EwkMuTauHistManager::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookHistograms(), L1TGT::bookHistograms(), DQMLumiMonitor::bookHistograms(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), HiggsDQM::bookHistos(), PlotMakerReco::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), PlotMakerL1::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), DTDCSByLumiTask::bookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), SiStripMonitorTrack::bookLayerMEs(), SiStripMonitorDigi::bookME1D(), SiStripMonitorCluster::bookME1D(), SiStripMonitorTrack::bookME1D(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiStripMonitorTrack::bookModMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), HLTOniaSource::bookOniaTriggerInvariantMassMEs(), HLTOniaSource::bookOniaTriggerMEs(), SiStripBaseCondObjDQM::bookProfileMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning(), recoBSVTagInfoValidationAnalyzer::bookRecoToSim(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookRollME(), MTVHistoProducerAlgoForTracker::bookSimHistos(), recoBSVTagInfoValidationAnalyzer::bookSimToReco(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), TrigResRateMon::bookTestHisto(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), CaloJetTester::CaloJetTester(), CalorimetryManager::CalorimetryManager(), CaloTowersValidation::CaloTowersValidation(), HTrackVariables::computeEfficiency(), HcalTrigPrimMonitor::create_et_histogram(), PFClient::createEfficiencyPlots(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), MonitorTrackResiduals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createModuleMEs(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), CSCALCTDigiValidation::CSCALCTDigiValidation(), CSCCLCTDigiValidation::CSCCLCTDigiValidation(), CSCComparatorDigiValidation::CSCComparatorDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), CSCStripDigiValidation::CSCStripDigiValidation(), CSCWireDigiValidation::CSCWireDigiValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmRegisterHistogram(), BTagValidator::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), HarvestingAnalyzer::endJob(), HLTScalersClient::endLuminosityBlock(), RPCRecHitValidClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), FastTimerServiceClient::endRun(), GlobalHitsProdHistStripper::endRun(), TauDQMHistEffProducer::endRun(), AlcaBeamMonitorClient::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), extract(), SiStripQualityDQM::fillGrandSummaryMEs(), EgHLTOfflineClient::FillHLTvsOfflineHist(), StorageAccount::fillSummary(), BeamMonitor::FitAndFill(), FourVectorHLTOffline::FourVectorHLTOffline(), FourVectorHLTOnline::FourVectorHLTOnline(), FourVectorHLTriggerOffline::FourVectorHLTriggerOffline(), EmDQMReco::FourVectorMonitorElements::FourVectorMonitorElements(), EDMtoMEConverter::getData(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripMonitorQuality::getQualityME(), SiStripSummaryCreator::getSummaryME(), GlobalDigisAnalyzer::GlobalDigisAnalyzer(), GlobalDigisHistogrammer::GlobalDigisHistogrammer(), GlobalHitsAnalyzer::GlobalHitsAnalyzer(), GlobalHitsHistogrammer::GlobalHitsHistogrammer(), GlobalHitsTester::GlobalHitsTester(), GlobalRecHitsAnalyzer::GlobalRecHitsAnalyzer(), GlobalRecHitsHistogrammer::GlobalRecHitsHistogrammer(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalSimHitsValidation::HcalSimHitsValidation(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), EwkElecDQM::init_histograms(), EwkMuLumiMonitorDQM::init_histograms(), EwkMuDQM::init_histograms(), MuIsoValidation::InitHistos(), MuonIsolationDQM::InitHistos(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), LaserDQM::initMonitors(), JPTJetTester::JPTJetTester(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), TopElectronHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook1D(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), FastTimerService::postBeginJob(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), JetMETHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), EEHltTask::setup(), EEPedestalClient::setup(), EBTimingTask::setup(), EBIntegrityTask::setup(), EBClusterTask::setup(), HcalZDCMonitor::setup(), HcalNZSMonitor::setup(), HcalEEUSMonitor::setup(), EBStatusFlagsTask::setup(), EcalBarrelMonitorModule::setup(), CastorLEDMonitor::setup(), HcalRecHitMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), CastorDataIntegrityMonitor::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), HcalDataIntegrityTask::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EBHltTask::setup(), EBTimingClient::setup(), EEPedestalOnlineClient::setup(), EBRawDataTask::setup(), EEIntegrityTask::setup(), EBCosmicTask::setup(), CastorHIMonitor::setup(), HcalDetDiagLEDMonitor::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), HcalDeadCellMonitor::setup(), HcalMonitorModule::setup(), EECosmicTask::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), CastorRecHitMonitor::setup(), EERawDataTask::setup(), EBSummaryClient::setup(), CastorDigiMonitor::setup(), EBLaserClient::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), HcalTrigPrimMonitor::setup(), HcalHotCellMonitor::setup(), HcalBaseDQMonitor::setup(), CastorTowerJetMonitor::setup(), EEClusterTask::setup(), EESummaryClient::setup(), CastorPSMonitor::setup(), HcalBaseMonitor::setupDepthHists1D(), HLXMonitor::SetupHists(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TopElectronHLTOfflineSource::EleMEs::setupMESet(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), and TrigResRateMon::TrigResRateMon().

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

Book 1D histogram.

Definition at line 663 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 std::string &  dir,
const std::string &  name,
TH1F *  h 
) [private]

Book 1D histogram based on TH1F.

Definition at line 634 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 687 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 695 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 char *  name,
const char *  title,
int  nchX,
float *  xbinsize 
)
MonitorElement* DQMStore::book1DD ( const std::string &  name,
const std::string &  title,
int  nchX,
float *  xbinsize 
)
MonitorElement * DQMStore::book1DD ( const char *  name,
TH1D *  h 
)

Book 1D double histogram by cloning an existing histogram.

Definition at line 747 of file DQMStore.cc.

References book1DD(), and pwd_.

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

Book 1D histogram based on TH1D.

Definition at line 648 of file DQMStore.cc.

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

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

Book 1D double histogram by cloning an existing histogram.

Definition at line 754 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 671 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 679 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 740 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 733 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 641 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 783 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(), PFJetAnalyzer::beginJob(), APVValidationPlots::beginJob(), EEDcsInfoTask::beginJob(), EEDaqInfoTask::beginJob(), DQMFEDIntegrityClient::beginJob(), MuonSeedsAnalyzer::beginJob(), TkAlCaRecoMonitor::beginJob(), L1TDTTPGClient::beginJob(), HcalDCSInfo::beginJob(), Vx3DHLTAnalyzer::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), L1TRPCTFClient::beginJob(), L1TEventInfoClient::beginJob(), HLTMonPhotonSource::beginJob(), HcalDAQInfo::beginJob(), RPCDaqInfo::beginJob(), EgammaSuperClusters::beginJob(), EgammaBasicClusters::beginJob(), ConverterTester::beginJob(), RPCMonitorLinkSynchro::beginJob(), TopDiLeptonDQM::beginJob(), L1TCSCTF::beginJob(), HLTMonHcalIsoTrack::beginJob(), HLTMon::beginJob(), MuonAlignment::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), L1TGCT::beginJob(), EBDataCertificationTask::beginJob(), DTBlockedROChannelsTest::beginJob(), PhotonValidator::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), L1TdeRCT::beginJob(), MuonTrackAnalyzer::beginJob(), TopHLTDiMuonDQM::beginJob(), DQMSourceEleCalib::beginJob(), TrackBuildingAnalyzer::beginJob(), L1TDTTFClient::beginJob(), L1TRPCTF::beginJob(), HLTMonSimpleBTag::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), JetPtAnalyzer::beginJob(), StripValidationPlots::beginJob(), QcdHighPtDQM::beginJob(), L1TRCT::beginJob(), L1TDTTPG::beginJob(), L1TdeGCT::beginJob(), L1TCompare::beginJob(), EBDcsInfoTask::beginJob(), EBDaqInfoTask::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), TkConvValidator::beginJob(), ZdcSimHitStudy::beginJob(), SegmentTrackAnalyzer::beginJob(), MuonRecoAnalyzer::beginJob(), HLTMonBitSummary::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), L1TLTC::beginJob(), L1TdeCSCTF::beginJob(), HcalDataCertification::beginJob(), CastorMonitorModule::beginJob(), L1TDEMON::beginJob(), DTDataIntegrityTest::beginJob(), DQMSourceExample::beginJob(), L1TDTTF::beginJob(), FourVectorHLT::beginJob(), EEDataCertificationTask::beginJob(), BeamMonitor::beginJob(), MuonTrackResidualAnalyzer::beginJob(), EmDQMReco::beginJob(), JetAnalyzer::beginJob(), RPCMonitorRaw::beginJob(), TrackingMonitor::beginJob(), MuonIdVal::beginJob(), HLTMonElectron::beginJob(), HLTEventInfoClient::beginJob(), ZDCMonitorClient::beginRun(), RPCOccupancyTest::beginRun(), RPCEfficiencySecond::beginRun(), FourVectorHLTriggerOffline::beginRun(), DTOfflineSummaryClients::beginRun(), SiPixelClusterSource::beginRun(), HcalHotCellClient::beginRun(), DQMProvInfo::beginRun(), RPCEfficiencyShiftHisto::beginRun(), HLTJetMETDQMSource::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HLTOfflineReproducibilityDQM::beginRun(), RPCMultiplicityTest::beginRun(), HcalDigiClient::beginRun(), CaloTowerAnalyzer::beginRun(), RPCEventSummary::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), HcalRecHitClient::beginRun(), RPCDeadChannelTest::beginRun(), RPCDataCertification::beginRun(), RPCChamberQuality::beginRun(), HcalRawDataClient::beginRun(), HcalNZSClient::beginRun(), RPCClusterSizeTest::beginRun(), HcalSummaryClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalDeadCellClient::beginRun(), FourVectorHLTOffline::beginRun(), SiPixelTrackResidualSource::beginRun(), RPCNoisyStripTest::beginRun(), HcalDetDiagPedestalClient::beginRun(), EcalBarrelMonitorClient::beginRun(), HLTInclusiveVBFSource::beginRun(), HcalDetDiagTimingClient::beginRun(), HcalCoarsePedestalClient::beginRun(), JetMETHLTOfflineSource::beginRun(), BTagHLTOfflineSource::beginRun(), MuonAlignmentSummary::beginRun(), RPCRecHitProbability::beginRun(), RPCDCSSummary::beginRun(), HcalDetDiagLaserMonitor::beginRun(), DTSummaryClients::beginRun(), FourVectorHLTOnline::beginRun(), HcalTrigPrimClient::beginRun(), EcalEndcapMonitorClient::beginRun(), L1TOccupancyClient::beginRun(), MuonTrackValidator::beginRun(), HcalBeamClient::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), HistoProviderDQM::book2D(), book2D(), HcalSubdetDigiMonitor::book2D(), EcalSelectiveReadoutValidation::book2D(), QcdUeDQM::book2D(), QcdLowPtDQM::book2D(), JPTJetAnalyzer::book2DHistogram(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), SiPixelActionExecutor::bookEfficiency(), SiPixelDataQuality::bookGlobalQualityFlag(), DTnoiseDBValidation::bookHisto(), L1TEMUEventInfoClient::bookHistograms(), L1TGT::bookHistograms(), RPCValidHistograms::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), HCALRecHitAnalyzer::BookHistos(), DTt0DBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), ecaldqm::bookME(), SiStripMonitorTrack::bookME2D(), SiPixelDigiSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), SiPixelActionExecutor::bookOccupancyPlots(), HLTOniaSource::bookOniaTriggerMEs(), RCTMonitor::BookRCT(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), BeamMonitorBx::BookTables(), SiPixelActionExecutor::bookTrackerMaps(), RPCMonitorDigi::bookWheelDiskME(), CaloJetTester::CaloJetTester(), CalorimetryManager::CalorimetryManager(), CaloTowersValidation::CaloTowersValidation(), HcalTrigPrimMonitor::create_errorflag(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_map(), HcalTrigPrimMonitor::create_summary(), HcalTrigPrimMonitor::create_tp_correlation(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorMuonHLT::createMEs(), SiStripMonitorCluster::createSubDetMEs(), SiStripMonitorDigi::createSubDetMEs(), CSCRecHit2DValidation::CSCRecHit2DValidation(), dqmRegisterHistogram(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), BTagValidator::endJob(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), PhotonDataCertification::endRun(), HLTMuonCertSummary::endRun(), HLTOverallSummary::endRun(), extract(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripCablingDQM::getActiveDetIds(), EDMtoMEConverter::getData(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), GlobalHitsTester::GlobalHitsTester(), HcalRecHitsValidation::HcalRecHitsValidation(), HcalTimingMonitorModule::HcalTimingMonitorModule(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), EwkElecDQM::init_histograms(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), evf::iDie::initMonitorElements(), JPTJetTester::JPTJetTester(), L1ScalersClient::L1ScalersClient(), L1TScalersSCAL::L1TScalersSCAL(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), HeavyFlavorValidation::myBook2D(), PFJetTester::PFJetTester(), RecoMuonValidator::RecoMuonValidator(), JetMETHLTOfflineClient::runClient_(), BTagHLTOfflineClient::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(), CastorDataIntegrityMonitor::setup(), HcalNoiseMonitor::setup(), EBSelectiveReadoutTask::setup(), EBTestPulseClient::setup(), CastorChannelQualityMonitor::setup(), EBIntegrityClient::setup(), EELaserClient::setup(), EBOccupancyTask::setup(), HcalRawDataMonitor::setup(), HcalBeamMonitor::setup(), EEStatusFlagsTask::setup(), EETriggerTowerClient::setup(), EBTimingClient::setup(), EtaPhiHists::setup(), EEPedestalOnlineClient::setup(), EEIntegrityTask::setup(), HcalDetDiagLEDMonitor::setup(), EESelectiveReadoutTask::setup(), EETimingClient::setup(), EBTriggerTowerTask::setup(), EBPedestalOnlineClient::setup(), HcalDeadCellMonitor::setup(), EcalEndcapMonitorModule::setup(), EETestPulseClient::setup(), EBPedestalClient::setup(), CastorRecHitMonitor::setup(), EBSummaryClient::setup(), EBLaserClient::setup(), HcalCaloTowerMonitor::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EELedClient::setup(), HcalBaseDQMonitor::setup(), EEClusterTask::setup(), EESummaryClient::setup(), EEIntegrityClient::setup(), CastorPSMonitor::setup(), HcalBaseMonitor::setupDepthHists2D(), HcalBaseMonitor::SetupEtaPhiHists(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), FourVectorHLTOnline::setupHltMatrix(), and TrigResRateMon::setupStreamMatrix().

{
  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 794 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 849 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 858 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 867 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 874 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 762 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 827 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 838 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 895 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 902 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 776 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 805 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 816 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 881 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 888 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 769 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 930 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 943 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 950 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 910 of file DQMStore.cc.

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

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

Book float.

Definition at line 597 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 575 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 592 of file DQMStore.cc.

References pwd_.

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

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

Book int.

Definition at line 562 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), L1Scalers::beginJob(), ConverterTester::beginJob(), PhotonAnalyzer::beginJob(), HLTScalers::beginJob(), CastorMonitorModule::beginJob(), L1TLTC::beginJob(), DQMSourceExample::beginJob(), EgHLTOfflineSource::beginJob(), 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(), RPCDcsInfoClient::endRun(), HLTOverallSummary::endRun(), extract(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), DQMProvInfo::makeProvInfo(), edm::EventStreamHttpReader::read(), CastorLEDMonitor::setup(), EcalBarrelMonitorModule::setup(), HcalEEUSMonitor::setup(), HcalZDCMonitor::setup(), CastorDataIntegrityMonitor::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(), CastorTowerJetMonitor::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 567 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 1074 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  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 969 of file DQMStore.cc.

References pwd_.

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

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

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

Definition at line 984 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 999 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 1014 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 1029 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 &  dir,
const std::string &  name,
TProfile *  h 
) [private]

Book profile histogram based on TProfile.

Definition at line 958 of file DQMStore.cc.

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

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 1059 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 1044 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,
TProfile *  h 
)

Book TProfile by cloning an existing profile.

Definition at line 1087 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 1094 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 1113 of file DQMStore.cc.

References pwd_.

Referenced by TrackAnalyzer::beginJob(), ConverterTester::beginJob(), TkConvValidator::beginJob(), DQMSourceExample::beginJob(), MuonTrackValidator::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), DQMLumiMonitor::bookHistograms(), DTLocalTriggerBaseTask::bookHistos(), ecaldqm::bookME(), CSCMonitorModule::bookMonitorObject(), bookProfile2D(), EcalSelectiveReadoutValidation::bookProfile2D(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency2D(), CaloJetTester::CaloJetTester(), SiStripMonitorCluster::createSubDetMEs(), TkHistoMap::createTkHistoMap(), dqmRegisterHistogram(), extract(), EDMtoMEConverter::getData(), GlobalHitsTester::GlobalHitsTester(), JPTJetTester::JPTJetTester(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBookProfile2D(), PFJetTester::PFJetTester(), EBTimingTask::setup(), EBTestPulseTask::setup(), EBClusterTask::setup(), EEPedestalOnlineTask::setup(), EBPedestalTask::setup(), EBSelectiveReadoutTask::setup(), EELaserTask::setup(), EBOccupancyTask::setup(), EBCosmicTask::setup(), EESelectiveReadoutTask::setup(), EBTriggerTowerTask::setup(), EECosmicTask::setup(), EBLaserTask::setup(), EETriggerTowerTask::setup(), EETimingTask::setup(), EEOccupancyTask::setup(), EBPedestalOnlineTask::setup(), EETestPulseTask::setup(), EEPedestalTask::setup(), EELedTask::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 1130 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 1147 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 1164 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 1179 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 1186 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 1102 of file DQMStore.cc.

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

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

References bookString(), and pwd_.

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

go to top directory (ie. root)

Definition at line 348 of file DQMStore.cc.

References setCurrentFolder().

Referenced by SiStripDcsInfo::addBadModules(), SiStripGainFromData::algoEndJob(), SiPixelDigiSource::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), MuIsoValidation::beginJob(), MuonTrackAnalyzer::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), MuonIsolationDQM::beginJob(), DQMFileReader::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(), EMShower::compute(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createEfficiency(), SiPixelActionExecutor::createLayout(), SiPixelActionExecutor::createMap(), SiPixelActionExecutor::createOccupancy(), SiStripSummaryCreator::createSummary(), SiStripActionExecutor::createSummary(), SiStripActionExecutor::createSummaryOffline(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), SiPixelActionExecutor::dumpModIds(), SiPixelActionExecutor::dumpRefValues(), EMShower::EMShower(), SiStripOfflineDQM::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), StripValidationPlots::endJob(), APVValidationPlots::endJob(), SiPixelEDAClient::endLuminosityBlock(), RPCDcsInfoClient::endRun(), DQMDcsInfoClient::endRun(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), SiPixelEDAClient::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), SiStripCertificationInfo::fillSiStripCertificationMEsAtLumi(), SiStripQualityChecker::fillSubDetStatus(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::GetBladeSubdirs(), SiStripUtility::getMEList(), SiStripBadComponentsDQMService::getModuleFolderList(), SiStripUtility::getModuleFolderList(), SiStripUtility::getTopFolderPath(), SiStripUtility::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::goToDir(), SiStripBadComponentsDQMService::goToDir(), SiPixelWebInterface::handleEDARequest(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), evf::iDie::initMonitorElements(), DQMProvInfo::makeHLTKeyInfo(), DQMProvInfo::makeProvInfo(), MuIsoValidation::MuIsoValidation(), MuonIsolationDQM::MuonIsolationDQM(), FUShmDQMOutputService::postEndLumi(), SiStripInformationExtractor::printAlarmList(), SiStripActionExecutor::printFaultyModuleList(), SiPixelInformationExtractor::printModuleHistoList(), SiStripInformationExtractor::printNonGeomHistoList(), SiStripInformationExtractor::printSummaryHistoList(), SiStripInformationExtractor::readAlarmTree(), SiStripFEDErrorsDQM::readBadAPVs(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleAndHistoList(), SiPixelInformationExtractor::readModuleHistoTree(), SiStripNoisesDQMService::readNoises(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripPedestalsDQMService::readPedestals(), SiStripInformationExtractor::readQTestSummary(), SiStripInformationExtractor::readSummaryHistoTree(), RecoMuonValidator::RecoMuonValidator(), CommissioningHistograms::remove(), SiStripCommissioningSource::remove(), ElectronDqmAnalyzerBase::remove_other_dirs(), 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 353 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 2004 of file DQMStore.cc.

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

Referenced by save().

{
  assert(! path.empty());

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

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

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

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

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

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

Definition at line 1195 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 1219 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 1233 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 1226 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 1240 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 1254 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 1247 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 1261 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 1268 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 1278 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 1396 of file DQMStore.cc.

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

Referenced by ContentReader::give_subdirs().

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

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

Definition at line 2546 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 435 of file DQMStore.cc.

References dirs_.

Referenced by L1GtHwValidation::beginJob(), L1ExtraRecoDQM::beginRun(), L1ExtraDQM::beginRun(), L1TGT::beginRun(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), cd(), SiStripActionExecutor::createSummary(), DQMHcalIsoTrackPostProcessor::endJob(), EcalEndcapMonitorClient::endLuminosityBlock(), EcalBarrelMonitorClient::endLuminosityBlock(), JetMETDQMPostProcessor::endRun(), TauDQMHistEffProducer::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillFaultyModuleStatus(), DQMGenericTnPClient::findAllSubdirectories(), SiStripDaqInfo::findExcludedModule(), FUShmDQMOutputService::findMonitorElements(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), SiStripUtility::getTopFolderPath(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), SiStripActionExecutor::printFaultyModuleList(), SiStripBadComponentsDQMService::readBadComponents(), SiStripInformationExtractor::readGlobalHistoList(), SiStripInformationExtractor::readLayoutNames(), SiStripInformationExtractor::readModuleAndHistoList(), SiStripInformationExtractor::readNonGeomHistoTree(), SiStripInformationExtractor::readQTestSummary(), CommissioningHistograms::remove(), 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 1709 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, alignCSCRings::s, s_referenceDirName, s_rxmeqr1(), s_rxmeqr2(), s_rxmeval(), MonitorElement::setEfficiencyFlag(), tag(), relativeConstraints::value, and verbose_.

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

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

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

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

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

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

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

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

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

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

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

Definition at line 1536 of file DQMStore.cc.

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

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

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

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

  MEMap::const_iterator mepos = data_.find(proto);
  return (mepos == data_.end() ? 0
          : const_cast<MonitorElement *>(&*mepos));
}
void DQMStore::forceReset ( void  ) [private]

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

Definition at line 1689 of file DQMStore.cc.

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

Referenced by DQMStore().

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

  reset_ = true;
}
MonitorElement * DQMStore::get ( const std::string &  path) const

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

Definition at line 1406 of file DQMStore.cc.

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

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

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

get all MonitorElements tagged as <tag>

Definition at line 1419 of file DQMStore.cc.

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

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

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

Definition at line 1610 of file DQMStore.cc.

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

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

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

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

  return result;
}
void DQMStore::getAllTags ( std::vector< std::string > &  into) const

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

Definition at line 1557 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 1454 of file DQMStore.cc.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 1380 of file DQMStore.cc.

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

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

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

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

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

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

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

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

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

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

equivalent to "cd .."

Definition at line 382 of file DQMStore.cc.

References pos, pwd_, and setCurrentFolder().

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

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

Referenced by book().

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

Definition at line 293 of file DQMStore.cc.

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

Referenced by DQMStore().

                                                    {
  makeDirectory("");
  reset();

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

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

  initQCriterion<Comp2RefChi2>(qalgos_);
  initQCriterion<Comp2RefKolmogorov>(qalgos_);
  initQCriterion<ContentsXRange>(qalgos_);
  initQCriterion<ContentsYRange>(qalgos_);
  initQCriterion<MeanWithinExpected>(qalgos_);
  initQCriterion<Comp2RefEqualH>(qalgos_);
  initQCriterion<DeadChannel>(qalgos_);
  initQCriterion<NoisyChannel>(qalgos_);
  initQCriterion<ContentsWithinExpected>(qalgos_);
  initQCriterion<CompareToMedian>(qalgos_);
  
}
bool DQMStore::isCollateME ( MonitorElement me) const [private]

Definition at line 2719 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 2385 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 394 of file DQMStore.cc.

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

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

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

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

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

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

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

return pathname of current directory

Definition at line 343 of file DQMStore.cc.

References pwd_.

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), ecaldqm::MESetChannel::append_(), HcalDAQInfo::beginJob(), SiStripSpyMonitorModule::beginJob(), HcalDataCertification::beginJob(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), CalibrationScanTask::book(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), BTagDifferentialPlot::bookHisto(), RPCValidHistograms::bookHistograms(), SiPixelDigiSource::bookMEs(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), HcalDataCertification::CertifyHcal(), SiPixelActionExecutor::checkQTestResults(), SiPixelDataQuality::computeGlobalQualityFlag(), SiPixelActionExecutor::createLayout(), SiStripSummaryCreator::createSummary(), SiPixelActionExecutor::dumpBarrelModIds(), SiPixelActionExecutor::dumpEndcapModIds(), DQMHcalIsoTrackPostProcessor::endJob(), HcalDAQInfo::endLuminosityBlock(), DataCertificationJetMET::endRun(), JetMETDQMPostProcessor::endRun(), HltSusyExoPostProcessor::endRun(), EmDQMPostProcessor::endRun(), SiPixelTrackerMapCreator::exploreBeiStructure(), SiPixelClusterModule::fill(), SiPixelRawDataErrorModule::fill(), SiStripQualityChecker::fillDetectorStatus(), SiStripQualityChecker::fillDetectorStatusAtLumi(), SiPixelActionExecutor::fillEfficiency(), SiStripQualityChecker::fillFaultyModuleStatus(), SiPixelActionExecutor::fillFEDErrorSummary(), SiPixelDataQuality::fillGlobalQualityPlot(), SiPixelActionExecutor::fillGrandBarrelSummaryHistos(), SiPixelActionExecutor::fillGrandEndcapSummaryHistos(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillLayout(), SiPixelInformationExtractor::fillModuleAndHistoList(), SiPixelActionExecutor::fillOccupancy(), SiStripCertificationInfo::fillSiStripCertificationMEs(), StorageAccount::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), SiStripDaqInfo::findExcludedModule(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelActionExecutor::getData(), 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(), SiStripBadComponentsDQMService::goToDir(), SiStripBaseServiceFromDQM< SiStripBadStrip >::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 2215 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 2410 of file DQMStore.cc.

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

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

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

  std::auto_ptr<TFile> f;

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

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

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

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

remove all monitoring elements from directory;

Definition at line 2488 of file DQMStore.cc.

References data_, alignCSCRings::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::removeContents ( void  )
void DQMStore::removeElement ( const std::string &  name)

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

Definition at line 2510 of file DQMStore.cc.

References pwd_.

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

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

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

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

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

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

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

Definition at line 2468 of file DQMStore.cc.

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

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

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

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

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

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

Definition at line 2620 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 2051 of file DQMStore.cc.

References cdInto(), gather_cfg::cout, data_, dirs_, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, DQMNet::DQM_PROP_EFFICIENCY_PLOT, DQMNet::DQM_PROP_TAGGED, alignCSCRings::e, f, mergeVDriftHistosByStation::file, i, isSubdirectory(), funct::master(), max(), getHLTPrescaleColumns::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(), LogMessageMonitor::endJob(), SiStripOfflineDQM::endJob(), SiPixelDigiSource::endJob(), RCTMonitor::endJob(), L1TGMT::endJob(), L1TGCT::endJob(), SiStripLAProfileBooker::endJob(), LaserDQM::endJob(), HcalSimHitStudy::endJob(), TrackingTruthValid::endJob(), ZToMuMuGammaAnalyzer::endJob(), TrackEfficiencyMonitor::endJob(), SiStripMonitorDigi::endJob(), MonitorLTC::endJob(), HcalDigiTester::endJob(), GenericBenchmarkAnalyzer::endJob(), ElectronDqmAnalyzerBase::endJob(), DQMHcalIsoTrackAlCaReco::endJob(), DQMHcalDiJetsAlCaReco::endJob(), SiPixelHistoricInfoDQMClient::endJob(), BTagValidator::endJob(), SiStripDigiValid::endJob(), DQMHOAlCaRecoStream::endJob(), DQMHcalIsoTrackPostProcessor::endJob(), TkAlCaRecoMonitor::endJob(), SiStripFEDMonitorPlugin::endJob(), SiPixelHitEfficiencySource::endJob(), SiPixelRawDataErrorSource::endJob(), L1TRPCTPG::endJob(), L1TDTTF::endJob(), L1TdeCSCTF::endJob(), EgammaSuperClusters::endJob(), DTt0DBValidation::endJob(), SiStripMonitorFilter::endJob(), EgammaBasicClusters::endJob(), ZdcSimHitStudy::endJob(), NoiseRatesClient::endJob(), TauTagValidation::endJob(), SiStripTrackingRecHitsValid::endJob(), SiStripSpyMonitorModule::endJob(), L1TCompare::endJob(), METFileSaver::endJob(), PiZeroAnalyzer::endJob(), DTtTrigDBValidation::endJob(), SiStripMonitorHLT::endJob(), SiPixelOfflineCalibAnalysisBase::endJob(), SiPixelRecHitsValid::endJob(), JPTJetAnalyzer::endJob(), SiPixelRecHitSource::endJob(), L1TCSCTPG::endJob(), HLTMonHcalIsoTrack::endJob(), MuonAlignment::endJob(), TestSuite::endJob(), ElectronConversionRejectionValidator::endJob(), PhotonValidator::endJob(), MuonTrackAnalyzer::endJob(), TauDQMSimpleFileSaver::endJob(), DataCertificationJetMET::endJob(), DQMSourceEleCalib::endJob(), TrackingMonitor::endJob(), SiStripFEDCheckPlugin::endJob(), SiStripCMMonitorPlugin::endJob(), HLTAlCaMonPi0::endJob(), HLTAlCaMonEcalPhiSym::endJob(), HcalSimHitsValidation::endJob(), MuonTrackResidualAnalyzer::endJob(), SiPixelHistoricInfoEDAClient::endJob(), RPCRecHitProbability::endJob(), GlobalTest::endJob(), MixCollectionValidation::endJob(), PFTester::endJob(), DTnoiseDBValidation::endJob(), SiPixelMuonHLT::endJob(), L1TDTTPG::endJob(), L1TdeRCT::endJob(), PhotonAnalyzer::endJob(), DQMSourcePi0::endJob(), RPCTTUMonitor::endJob(), RPCMonitorDigi::endJob(), ValidationHcalIsoTrackAlCaReco::endJob(), MonitorTrackResiduals::endJob(), RPCMonitorSync::endJob(), L1TRCT::endJob(), HLTMon::endJob(), CSCRecHitValidation::endJob(), Digi2Raw2Digi::endJob(), HcalRecHitsClient::endJob(), StripValidationPlots::endJob(), GlobalMuonMatchAnalyzer::endJob(), SiPixelDigiValid::endJob(), SiStripMonitorTrack::endJob(), SiPixelHLTSource::endJob(), SiPixelClusterSource::endJob(), L1TCSCTF::endJob(), CaloTowersClient::endJob(), JetFileSaver::endJob(), APVValidationPlots::endJob(), LaserAlignmentT0ProducerDQM::endJob(), TrackSplittingMonitor::endJob(), SiStripMonitorCluster::endJob(), SiStripCommissioningSource::endJob(), L1TRPCTF::endJob(), BxTiming::endJob(), CSCDigiValidation::endJob(), RPCDigiValid::endJob(), PerformanceAnalyzer::endJob(), TkConvValidator::endJob(), SiStripRecHitsValid::endJob(), TopValidation::endJob(), DQMHcalPhiSymAlCaReco::endJob(), SiPixelTrackResidualSource::endJob(), SiStripMonitorPedestals::endRun(), RPCEfficiency::endRun(), SiPixelHistoricInfoEDAClient::endRun(), SiStripMonitorRawData::endRun(), MuonTrackValidator::endRun(), MultiTrackValidator::endRun(), BeamHaloAnalyzer::endRun(), RecoMuonValidator::endRun(), RPCEfficiencyPerRingLayer::endRun(), EcalSelectiveReadoutValidation::endRun(), SaveDQMFile::endRun(), SiPixelHistoricInfoDQMClient::endRun(), RPCEfficiencyShiftHisto::endRun(), SiStripMonitorQuality::endRun(), RPCEfficiencySecond::endRun(), V0Validator::endRun(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), evf::iDie::perLumiFileSaver(), RPCMonitorSync::readRPCDAQStrips(), PhotonOfflineClient::runClient(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::save(), TkHistoMap::save(), HLXMonitor::SaveDQMFile(), SiPixelHistoricInfoEDAClient::saveFile(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), PFJetBenchmark::write(), PFMETBenchmark::write(), PFTauElecRejectionBenchmark::write(), CSCDigiValidation::~CSCDigiValidation(), CSCRecHitValidation::~CSCRecHitValidation(), EcalDigisValidation::~EcalDigisValidation(), EcalRecHitsValidation::~EcalRecHitsValidation(), EcalSimHitsValidation::~EcalSimHitsValidation(), GlobalDigisHistogrammer::~GlobalDigisHistogrammer(), GlobalHitsHistogrammer::~GlobalHitsHistogrammer(), GlobalHitsProdHistStripper::~GlobalHitsProdHistStripper(), GlobalHitsTester::~GlobalHitsTester(), GlobalRecHitsHistogrammer::~GlobalRecHitsHistogrammer(), MuonDTDigis::~MuonDTDigis(), and SiPixelTrackingRecHitsValid::~SiPixelTrackingRecHitsValid().

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

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

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

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

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

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

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

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

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

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

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

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

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

      // Save efficiency tag, if any
      if (mi->data_.flags & DQMNet::DQM_PROP_EFFICIENCY_PLOT)
        TObjString(mi->effLabelString().c_str()).Write();

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

  f.Close();

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

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

Definition at line 2689 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 371 of file DQMStore.cc.

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

Referenced by SiStripDcsInfo::addBadModules(), edm::DQMHttpSource::addEventToDQMBackend(), RPCMon_SS_Dbx_Global::analyze(), XmasToDQMSource::analyze(), HcalSummaryClient::analyze(), FourVectorHLT::analyze(), BeamMonitor::analyze(), MuonIsolationDQM::analyze(), MuIsoValidation::analyze(), ecaldqm::MESetChannel::append_(), RPCMonitorSync::barrelOffsetHist(), RPCMonitorSync::barrelWidthHist(), BxTiming::beginJob(), L1TCSCTPG::beginJob(), RPCTTUMonitor::beginJob(), L1Scalers::beginJob(), JPTJetAnalyzer::beginJob(), EETrendClient::beginJob(), EcalEndcapMonitorModule::beginJob(), EEDaqInfoTask::beginJob(), EEDcsInfoTask::beginJob(), EEOccupancyTask::beginJob(), EEPedestalOnlineTask::beginJob(), EETriggerTowerTask::beginJob(), TrackAnalyzer::beginJob(), APVValidationPlots::beginJob(), ElectronDqmAnalyzerBase::beginJob(), PFJetAnalyzer::beginJob(), BasicHepMCValidation::beginJob(), PFTester::beginJob(), Vx3DHLTAnalyzer::beginJob(), EBRawDataTask::beginJob(), EELaserTask::beginJob(), EEStatusFlagsTask::beginJob(), EETestPulseTask::beginJob(), HcalDCSInfo::beginJob(), L1TDTTPGClient::beginJob(), TkAlCaRecoMonitor::beginJob(), MuonSeedsAnalyzer::beginJob(), DQMFEDIntegrityClient::beginJob(), DQMClientExample::beginJob(), GlobalTest::beginJob(), EBPedestalTask::beginJob(), HcalDAQInfo::beginJob(), HLTMonPhotonSource::beginJob(), L1GtHwValidation::beginJob(), L1TSync::beginJob(), L1EmulatorErrorFlagClient::beginJob(), L1TEventInfoClient::beginJob(), L1TRPCTFClient::beginJob(), SusyDQM< Mu, Ele, Jet, Met >::beginJob(), EfficiencyAnalyzer::beginJob(), BasicGenParticleValidation::beginJob(), 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(), HLTMonPhotonClient::beginJob(), L1TGCT::beginJob(), SiStripSpyMonitorModule::beginJob(), TrackEfficiencyMonitor::beginJob(), TrackSplittingMonitor::beginJob(), LaserAlignmentT0ProducerDQM::beginJob(), MBUEandQCDValidation::beginJob(), GenericBenchmarkAnalyzer::beginJob(), AlcaBeamMonitor::beginJob(), EBClusterTask::beginJob(), EBTriggerTowerTask::beginJob(), L1TdeRCT::beginJob(), DQMHcalIsoTrackAlCaReco::beginJob(), PhotonAnalyzer::beginJob(), MuonEnergyDepositAnalyzer::beginJob(), MuonKinVsEtaAnalyzer::beginJob(), PhotonValidator::beginJob(), ValidationHcalIsoTrackAlCaReco::beginJob(), BeamConditionsMonitor::beginJob(), EBTimingTask::beginJob(), EEClusterTask::beginJob(), EECosmicTask::beginJob(), EEIntegrityTask::beginJob(), HLTMonSimpleBTag::beginJob(), L1TRPCTF::beginJob(), L1TDTTFClient::beginJob(), MonitorLTC::beginJob(), LogMessageMonitor::beginJob(), TrackBuildingAnalyzer::beginJob(), HLTScalers::beginJob(), HLTScalersClient::beginJob(), DQMSourceEleCalib::beginJob(), PFMETAnalyzer::beginJob(), PFCandidateDQMAnalyzer::beginJob(), PFMETDQMAnalyzer::beginJob(), TopHLTDiMuonDQM::beginJob(), TauValidation::beginJob(), MuonTrackAnalyzer::beginJob(), EBDaqInfoTask::beginJob(), EBDcsInfoTask::beginJob(), EEHltTask::beginJob(), L1TCompare::beginJob(), L1TdeGCT::beginJob(), L1TDTTPG::beginJob(), L1TRCT::beginJob(), L1TRPCTPG::beginJob(), QcdHighPtDQM::beginJob(), SiPixelDaqInfo::beginJob(), SiPixelDcsInfo::beginJob(), SiStripMonitorHLT::beginJob(), DQMHcalDiJetsAlCaReco::beginJob(), DQMHOAlCaRecoStream::beginJob(), StripValidationPlots::beginJob(), JetPtAnalyzer::beginJob(), DQMOfflineHLTEventInfoClient::beginJob(), DrellYanValidation::beginJob(), SimHitsValidationHcal::beginJob(), TestSuite::beginJob(), EcalBarrelMonitorModule::beginJob(), EESelectiveReadoutTask::beginJob(), HLTJetMETDQMSource::beginJob(), HLTMonBitSummary::beginJob(), TrigResRateMon::beginJob(), SiStripCMMonitorPlugin::beginJob(), MuCorrMETAnalyzer::beginJob(), DiMuonHistograms::beginJob(), MuonIdDQM::beginJob(), MuonRecoAnalyzer::beginJob(), SegmentTrackAnalyzer::beginJob(), ZdcSimHitStudy::beginJob(), TkConvValidator::beginJob(), GlobalMuonMatchAnalyzer::beginJob(), CastorMonitorModule::beginJob(), EBTrendClient::beginJob(), EERawDataTask::beginJob(), HcalDataCertification::beginJob(), L1TdeCSCTF::beginJob(), L1TLTC::beginJob(), SiStripMonitorFilter::beginJob(), VertexMonitor::beginJob(), DQMHcalPhiSymAlCaReco::beginJob(), BenchmarkAnalyzer::beginJob(), FourVectorHLTOffline::beginJob(), DuplicationChecker::beginJob(), TopValidation::beginJob(), FourVectorHLTriggerOffline::beginJob(), BeamMonitorBx::beginJob(), DTDataIntegrityTest::beginJob(), EBCosmicTask::beginJob(), EETrendTask::beginJob(), HLTAlCaMonPi0::beginJob(), L1TDEMON::beginJob(), L1TOccupancyClient::beginJob(), SiPixelCertification::beginJob(), HcalSimHitStudy::beginJob(), BeamMonitor::beginJob(), EBOccupancyTask::beginJob(), EEDataCertificationTask::beginJob(), EELedTask::beginJob(), EETimingTask::beginJob(), FourVectorHLT::beginJob(), L1TDTTF::beginJob(), EcalZmassTask::beginJob(), ZToMuMuGammaAnalyzer::beginJob(), HTMHTAnalyzer::beginJob(), MuonIsolationDQM::beginJob(), MuonRecoOneHLT::beginJob(), PFJetDQMAnalyzer::beginJob(), DQMDaqInfo::beginJob(), DQMFileReader::beginJob(), DQMSourceExample::beginJob(), EmDQMReco::beginJob(), EEPedestalTask::beginJob(), FourVectorHLTOnline::beginJob(), HLTMonElectronConsumer::beginJob(), L1TGCTClient::beginJob(), RPCMonitorRaw::beginJob(), DQMSourcePi0::beginJob(), JetAnalyzer::beginJob(), MuonTrackResidualAnalyzer::beginJob(), EBHltTask::beginJob(), EBIntegrityTask::beginJob(), HLTAlCaMonEcalPhiSym::beginJob(), L1TRate::beginJob(), TrackingMonitor::beginJob(), ElectronConversionRejectionValidator::beginJob(), EBPedestalOnlineTask::beginJob(), EBStatusFlagsTask::beginJob(), EBTrendTask::beginJob(), HLTEventInfoClient::beginJob(), HLTMonElectron::beginJob(), SiStripFEDMonitorPlugin::beginJob(), TrackEfficiencyClient::beginJob(), PiZeroAnalyzer::beginJob(), CaloMETAnalyzer::beginJob(), EgHLTOfflineSource::beginJob(), TopElectronHLTOfflineSource::beginJob(), MuonIdVal::beginJob(), TauTagValidation::beginJob(), ZDCMonitorClient::beginRun(), RPCEfficiencySecond::beginRun(), RPCOccupancyTest::beginRun(), RPCMonitorDigi::beginRun(), RPCRecHitValid::beginRun(), FourVectorHLTriggerOffline::beginRun(), DTOfflineSummaryClients::beginRun(), DTLocalTriggerBaseTask::beginRun(), HcalHotCellClient::beginRun(), ZDCMonitorModule::beginRun(), L1TGMTClient::beginRun(), RPCBxTest::beginRun(), SiPixelClusterSource::beginRun(), L1GtHwValidation::beginRun(), HLTMuonPlotter::beginRun(), HeavyFlavorValidation::beginRun(), DTNoiseTask::beginRun(), HcalDetDiagNoiseMonitorClient::beginRun(), HLTJetMETDQMSource::beginRun(), HLTMonBitSummary::beginRun(), RPCEfficiencyShiftHisto::beginRun(), EcalZmassClient::beginRun(), DQMProvInfo::beginRun(), HLTOfflineReproducibilityDQM::beginRun(), HcalDigiClient::beginRun(), HLTOniaSource::beginRun(), RPCMultiplicityTest::beginRun(), DQMEventInfo::beginRun(), HcalRecHitClient::beginRun(), HcalDetDiagPedestalMonitor::beginRun(), RPCDBPopConAnalyzer::beginRun(), RPCEventSummary::beginRun(), CaloTowerAnalyzer::beginRun(), L1ExtraRecoDQM::beginRun(), HLTHiggsSubAnalysis::beginRun(), AlcaBeamMonitor::beginRun(), HcalNZSClient::beginRun(), HcalRawDataClient::beginRun(), TrigResRateMon::beginRun(), RPCChamberQuality::beginRun(), RPCDataCertification::beginRun(), RPCDeadChannelTest::beginRun(), HcalDeadCellClient::beginRun(), HcalDetDiagLEDClient::beginRun(), HcalSummaryClient::beginRun(), L1ExtraDQM::beginRun(), RPCClusterSizeTest::beginRun(), RPCMon_SS_Dbx_Global::beginRun(), SiStripMonitorRawData::beginRun(), HLTMuonMatchAndPlot::beginRun(), EcalBarrelMonitorClient::beginRun(), HcalDetDiagPedestalClient::beginRun(), HcalMonitorClient::beginRun(), RPCNoisyStripTest::beginRun(), SiPixelTrackResidualSource::beginRun(), FourVectorHLTOffline::beginRun(), DQMDcsInfo::beginRun(), METTester::beginRun(), HcalCoarsePedestalClient::beginRun(), HcalDetDiagTimingClient::beginRun(), RPCDcsInfo::beginRun(), HLTInclusiveVBFSource::beginRun(), TriggerValidator::beginRun(), DTSummaryClients::beginRun(), HcalDetDiagLaserMonitor::beginRun(), RPCDCSSummary::beginRun(), RPCRecHitProbability::beginRun(), SiPixelEDAClient::beginRun(), MuonAlignmentSummary::beginRun(), BTagHLTOfflineSource::beginRun(), JetMETHLTOfflineSource::beginRun(), EcalEndcapMonitorClient::beginRun(), HcalTrigPrimClient::beginRun(), HcalRecHitMonitor::beginRun(), FourVectorHLTOnline::beginRun(), RPCEfficiencyPerRingLayer::beginRun(), EgHLTOfflineSource::beginRun(), HLTJetMETValidation::beginRun(), L1TOccupancyClient::beginRun(), DTSegmentAnalysisTask::beginRun(), MuonTrackValidator::beginRun(), MultiTrackValidator::beginRun(), HcalBeamClient::beginRun(), L1TGT::beginRun(), V0Validator::beginRun(), FineDelayTask::book(), CalibrationTask::book(), LatencyTask::book(), MEtoMEComparitor::book(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), CalibrationScanTask::book(), TopSingleLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), SiStripMonitorTrack::book(), QcdUeDQM::book1D(), QcdUeDQM::book2D(), PhotonOfflineClient::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), L1TGMT::book_(), DTLocalTriggerTask::bookBarrelHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone1DVB(), RPCMonitorSync::bookDetUnitME(), RPCEfficiency::bookDetUnitSeg(), RPCEfficiencySecond::bookDetUnitSeg(), SiPixelActionExecutor::bookDeviations(), SiPixelActionExecutor::bookEfficiency(), HLTTauDQMSummaryPlotter::bookEfficiencyHisto(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackerOfflineValidationSummary::bookHarvestingHists(), EwkMuTauHistManager::bookHistograms(), L1TGT::bookHistograms(), L1TEMUEventInfoClient::bookHistograms(), DQMLumiMonitor::bookHistograms(), RPCValidHistograms::bookHistograms(), PixelVTXMonitor::bookHistograms(), RecoMuonValidator::MuonME::bookHistograms(), EwkElecTauHistManager::bookHistograms(), L1GtHwValidation::bookHistograms(), PlotMakerReco::bookHistos(), HiggsDQM::bookHistos(), DTDataIntegrityTask::bookHistos(), DTt0DBValidation::bookHistos(), HCALRecHitAnalyzer::BookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), PlotMakerL1::bookHistos(), DTScalerInfoTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTDCSByLumiTask::bookHistos(), ECALRecHitAnalyzer::BookHistos(), MuonSimHitsValidAnalyzer::bookHistos_CSC(), MuonSimHitsValidAnalyzer::bookHistos_DT(), MuonSimHitsValidAnalyzer::bookHistos_RPC(), TrackAnalyzer::bookHistosForState(), SiPixelHLTSource::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelDigiSource::bookMEs(), SiPixelClusterSource::bookMEs(), CSCMonitorModule::bookMonitorObject(), CSCOfflineClient::bookMonitorObject(), SiPixelInformationExtractor::bookNoisyPixels(), SiPixelActionExecutor::bookOccupancyPlots(), QcdUeDQM::bookProfile(), RCTMonitor::BookRCT(), RPCMonitorDigi::bookRegionME(), RPCMonitorDigi::bookRollME(), RPCMonitorDigi::bookSectorRingME(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripDcsInfo::bookStatus(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), TrigResRateMon::bookTestHisto(), SiPixelActionExecutor::bookTrackerMaps(), SiStripCertificationInfo::bookTrackingCertificationMEs(), HLTTauDQMSummaryPlotter::bookTriggerBitEfficiencyHistos(), RPCMonitorDigi::bookWheelDiskME(), BTagHLTOfflineClient::BTagHLTOfflineClient(), BxTiming::BxTiming(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency(), CaloJetTester::CaloJetTester(), CalorimetryManager::CalorimetryManager(), 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(), HcalDeadCellMonitor::cleanup(), EBStatusFlagsClient::cleanup(), EBDataCertificationTask::cleanup(), EBHltTask::cleanup(), EBLaserTask::cleanup(), EBTrendTask::cleanup(), EELaserClient::cleanup(), EEClusterTask::cleanup(), HcalDetDiagLEDMonitor::cleanup(), HcalLSbyLSMonitor::cleanup(), EBDaqInfoTask::cleanup(), EBDcsInfoTask::cleanup(), EEIntegrityClient::cleanup(), EEStatusFlagsClient::cleanup(), EETestPulseClient::cleanup(), EERawDataTask::cleanup(), HcalMonitorModule::cleanup(), EcalBarrelMonitorModule::cleanup(), EEDataCertificationTask::cleanup(), EETimingTask::cleanup(), EBPedestalOnlineTask::cleanup(), EBPedestalTask::cleanup(), EEPedestalOnlineClient::cleanup(), EECosmicTask::cleanup(), EBOccupancyTask::cleanup(), EESelectiveReadoutTask::cleanup(), EEPedestalOnlineTask::cleanup(), HcalHotCellMonitor::cleanup(), EBSummaryClient::cleanup(), EBTrendClient::cleanup(), EBTriggerTowerClient::cleanup(), EBStatusFlagsTask::cleanup(), EEPedestalClient::cleanup(), EEIntegrityTask::cleanup(), HcalBeamMonitor::cleanup(), HcalEEUSMonitor::clearME(), HcalBaseMonitor::clearME(), CastorBaseMonitor::clearME(), L1GtHwValidation::compareDaqRecord(), L1GtHwValidation::compareFDL(), L1GtHwValidation::compareGTFE(), CommissioningHistograms::copyCustomInformation(), HcalTrigPrimMonitor::create_errorflag(), HcalTrigPrimMonitor::create_et_histogram(), HcalTrigPrimMonitor::create_fg_correlation(), HcalTrigPrimMonitor::create_map(), HcalTrigPrimMonitor::create_summary(), HcalTrigPrimMonitor::create_tp_correlation(), SiStripCommissioningSource::createCablingTasks(), PFClient::createEfficiencyPlots(), CastorLEDMonitor::createFEDmap(), QcdUeDQM::createHistos(), QcdLowPtDQM::createHistos(), SiPixelActionExecutor::createMaps(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createMEs(), SiStripMonitorMuonHLT::createMEs(), PFClient::createResolutionPlots(), SiStripCommissioningSource::createRunNumber(), SiPixelActionExecutor::createSummary(), SiStripCommissioningSource::createTask(), SiStripCommissioningSource::createTasks(), CSCDigiValidation::CSCDigiValidation(), CSCRecHit2DValidation::CSCRecHit2DValidation(), CSCSegmentValidation::CSCSegmentValidation(), Digi2Raw2Digi::Digi2Raw2Digi(), TrackAnalyzer::doTrackerSpecificInitialization(), dqmCopyRecursively(), DQMEventInfo::DQMEventInfo(), DTGlobalRecoTask::DTGlobalRecoTask(), DTnoiseDBValidation::DTnoiseDBValidation(), DTt0DBValidation::DTt0DBValidation(), DTtTrigDBValidation::DTtTrigDBValidation(), EgHLTOfflineClient::EgHLTOfflineClient(), EmDQMReco::EmDQMReco(), RPCMonitorSync::endcapOffsetHist(), RPCMonitorSync::endcapWidthHist(), ZToMuMuGammaAnalyzer::endJob(), ElectronDqmAnalyzerBase::endJob(), BTagValidator::endJob(), PhotonAnalyzer::endJob(), HarvestingAnalyzer::endJob(), HcalLSbyLSMonitor::endLuminosityBlock(), HLTScalersClient::endLuminosityBlock(), HcalDAQInfo::endLuminosityBlock(), ElectronDqmAnalyzerBase::endLuminosityBlock(), DQMOfflineHLTEventInfoClient::endRun(), DataCertificationJetMET::endRun(), RPCDcsInfoClient::endRun(), ElectronDqmAnalyzerBase::endRun(), RPCRecHitValidClient::endRun(), ZToMuMuGammaAnalyzer::endRun(), CSCOfflineClient::endRun(), DQMDcsInfoClient::endRun(), FourVectorHLTClient::endRun(), FastTimerServiceClient::endRun(), GlobalHitsProdHistStripper::endRun(), HLTTauCertifier::endRun(), TauDQMFileLoader::endRun(), PhotonDataCertification::endRun(), DQMGenericTnPClient::endRun(), TauDQMHistEffProducer::endRun(), HLTMuonCertSummary::endRun(), HltSusyExoPostProcessor::endRun(), AlcaBeamMonitorClient::endRun(), PhotonAnalyzer::endRun(), HLTOverallSummary::endRun(), EwkElecDQM::EwkElecDQM(), EwkMuDQM::EwkMuDQM(), EwkMuLumiMonitorDQM::EwkMuLumiMonitorDQM(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripQualityDQM::fillGrandSummaryMEs(), HcalSummaryClient::fillReportSummary(), HcalSummaryClient::fillReportSummaryLSbyLS(), 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(), HEff1DHit::HEff1DHit(), HEff2DHit::HEff2DHit(), HEff4DHit::HEff4DHit(), SiPixelMuonHLT::Histo_init(), CommissioningHistograms::histogram(), HLTInclusiveVBFClient::HLTInclusiveVBFClient(), HLTJetMETDQMSource::HLTJetMETDQMSource(), HLTMon::HLTMon(), HLTMonSimpleBTag::HLTMonSimpleBTag(), HLTMuonOfflineAnalyzer::HLTMuonOfflineAnalyzer(), HLTScalers::HLTScalers(), HLTScalersClient::HLTScalersClient(), HLTTauDQMCaloPlotter::HLTTauDQMCaloPlotter(), HLTTauDQML1Plotter::HLTTauDQML1Plotter(), HLTTauDQMLitePathPlotter::HLTTauDQMLitePathPlotter(), HLTTauDQMPathPlotter::HLTTauDQMPathPlotter(), HLTTauDQMTrkPlotter::HLTTauDQMTrkPlotter(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HTrack::HTrack(), HTrackVariables::HTrackVariables(), HcalTimingMonitorModule::initialize(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), MuonAnalyzerSBSM::InitializePlots(), evf::iDie::initMonitorElements(), LaserDQM::initMonitors(), JetMETDQMOfflineClient::JetMETDQMOfflineClient(), JetMETHLTOfflineClient::JetMETHLTOfflineClient(), JPTJetTester::JPTJetTester(), L1ExtraDQM::L1ExtraDQM(), L1ExtraRecoDQM::L1ExtraRecoDQM(), L1GtHwValidation::L1GtHwValidation(), L1ScalersClient::L1ScalersClient(), L1TCompare::L1TCompare(), L1TCSCTF::L1TCSCTF(), L1TCSCTPG::L1TCSCTPG(), L1TdeRCT::L1TdeRCT(), L1TDTTF::L1TDTTF(), L1TDTTPG::L1TDTTPG(), L1TGCT::L1TGCT(), L1TGMT::L1TGMT(), L1TRCT::L1TRCT(), L1TRPCTF::L1TRPCTF(), L1TRPCTPG::L1TRPCTPG(), L1TScalersSCAL::L1TScalersSCAL(), L1TGMTClient::makeEfficiency1D(), L1TGMTClient::makeEfficiency2D(), DQMProvInfo::makeHLTKeyInfo(), PlotCombiner::makePlot(), DQMProvInfo::makeProvInfo(), L1TGMTClient::makeRatio1D(), MixCollectionValidation::MixCollectionValidation(), MonitorElementsDb::MonitorElementsDb(), MuonDTDigis::MuonDTDigis(), CastorRecHitPerChan::perChanHists(), CastorDigiMonitor::perChanHists(), CastorLEDMonitor::perChanHists(), PerformanceAnalyzer::PerformanceAnalyzer(), PFJetTester::PFJetTester(), HLTTauDQMSummaryPlotter::plotEfficiencyHisto(), HLTTauDQMSummaryPlotter::plotIntegratedEffHisto(), HLTTauDQMSummaryPlotter::plotTriggerBitEfficiencyHistos(), FastTimerService::postBeginJob(), L1TRPCTFClient::processHistograms(), edm::EventStreamHttpReader::read(), SiStripFEDErrorsDQM::readBadAPVs(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), RecoMuonValidator::RecoMuonValidator(), ElectronDqmAnalyzerBase::remove(), PhotonOfflineClient::runClient(), JetMETHLTOfflineClient::runClient_(), EgHLTOfflineClient::runClient_(), JetMETDQMOfflineClient::runClient_(), EgHLTOfflineSummaryClient::runClient_(), HcalRecHitsClient::runClient_(), NoiseRatesClient::runClient_(), HLTInclusiveVBFClient::runClient_(), CaloTowersClient::runClient_(), TopElectronHLTOfflineClient::runClient_(), BTagHLTOfflineClient::runClient_(), CommissioningHistograms::runNumber(), PhotonPostprocessing::runPostprocessing(), ConversionPostprocessing::runPostprocessing(), CommissioningHistograms::runType(), DQMFileSaver::saveForOffline(), MuonSimHitsValidAnalyzer::saveHistos_CSC(), MuonSimHitsValidAnalyzer::saveHistos_DT(), MuonSimHitsValidAnalyzer::saveHistos_RPC(), SiStripFolderOrganizer::setDetectorFolder(), HistoProviderDQM::setDir(), SiPixelErrorsDigisToCalibDigis::setDQMDirectory(), SiPixelOfflineCalibAnalysisBase::setDQMDirectory(), SiPixelFolderOrganizer::setFedFolder(), SiStripFolderOrganizer::setLayerFolder(), SiPixelFolderOrganizer::setModuleFolder(), SiStripFolderOrganizer::setSiStripControlFolder(), SiStripFolderOrganizer::setSiStripFolder(), SiStripFolderOrganizer::setSiStripTopControlFolder(), EBClusterTask::setup(), EBIntegrityTask::setup(), EBTestPulseTask::setup(), EBTimingTask::setup(), EEClusterClient::setup(), EEPedestalClient::setup(), EEStatusFlagsClient::setup(), EETrendClient::setup(), EEHltTask::setup(), CastorLEDMonitor::setup(), EBStatusFlagsClient::setup(), EcalBarrelMonitorModule::setup(), EBStatusFlagsTask::setup(), EBTrendTask::setup(), EEPedestalOnlineTask::setup(), HcalEEUSMonitor::setup(), HcalNZSMonitor::setup(), HcalZDCMonitor::setup(), CandCombinerBase< OutputCollection, Cloner::CandPtr >::setup(), CastorDataIntegrityMonitor::setup(), EBTriggerTowerClient::setup(), HcalDetDiagNoiseMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDigiMonitor::setup(), HcalRecHitMonitor::setup(), EBPedestalTask::setup(), HcalCoarsePedestalMonitor::setup(), CastorChannelQualityMonitor::setup(), EBTestPulseClient::setup(), EBSelectiveReadoutTask::setup(), HcalNoiseMonitor::setup(), EBIntegrityClient::setup(), CastorEventDisplay::setup(), EBOccupancyTask::setup(), EELaserClient::setup(), EELaserTask::setup(), HcalDataIntegrityTask::setup(), EBClusterClient::setup(), EBTimingClient::setup(), EBTrendClient::setup(), EBHltTask::setup(), EETriggerTowerClient::setup(), EEStatusFlagsTask::setup(), HcalBeamMonitor::setup(), HcalRawDataMonitor::setup(), EBRawDataTask::setup(), EEPedestalOnlineClient::setup(), CastorHIMonitor::setup(), EBCosmicTask::setup(), EEIntegrityTask::setup(), EBPedestalOnlineClient::setup(), EBTriggerTowerTask::setup(), EEOccupancyClient::setup(), EETimingClient::setup(), EESelectiveReadoutTask::setup(), HcalDetDiagLEDMonitor::setup(), CastorRecHitMonitor::setup(), EBOccupancyClient::setup(), EBPedestalClient::setup(), EBLaserTask::setup(), EETestPulseClient::setup(), EcalEndcapMonitorModule::setup(), EECosmicTask::setup(), HcalMonitorModule::setup(), HcalDeadCellMonitor::setup(), CastorDigiMonitor::setup(), EBSummaryClient::setup(), EERawDataTask::setup(), HcalLSbyLSMonitor::setup(), EBLaserClient::setup(), EETrendTask::setup(), EBPedestalOnlineTask::setup(), EELedClient::setup(), EEOccupancyTask::setup(), EETimingTask::setup(), EETriggerTowerTask::setup(), HcalCaloTowerMonitor::setup(), CastorTowerJetMonitor::setup(), EELedTask::setup(), EEPedestalTask::setup(), EETestPulseTask::setup(), HcalBaseDQMonitor::setup(), HcalHotCellMonitor::setup(), HcalTrigPrimMonitor::setup(), CastorPSMonitor::setup(), EEIntegrityClient::setup(), EESummaryClient::setup(), EEClusterTask::setup(), HLXMonitor::SetupEventInfo(), HLXMonitor::SetupHists(), FourVectorHLTOffline::setupHltBxPlots(), FourVectorHLTOnline::setupHltBxPlots(), TrigResRateMon::setupHltBxPlots(), FourVectorHLTOffline::setupHltLsPlots(), FourVectorHLTOnline::setupHltLsPlots(), TrigResRateMon::setupHltLsPlots(), GeneralHLTOffline::setupHltMatrix(), FourVectorHLTOnline::setupHltMatrix(), TrigResRateMon::setupStreamMatrix(), HcalDigiMonitor::setupSubdetHists(), SiStripMonitorMuonHLT::SiStripMonitorMuonHLT(), PFMETDQMAnalyzer::storeBadEvents(), PFJetDQMAnalyzer::storeBadEvents(), PFCandidateDQMAnalyzer::storeBadEvents(), TopElectronHLTOfflineClient::TopElectronHLTOfflineClient(), TriggerValidator::TriggerValidator(), TrigResRateMon::TrigResRateMon(), SubTaskSummaryStatus::WriteThreshold(), 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 335 of file DQMStore.cc.

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

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

Definition at line 2699 of file DQMStore.cc.

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

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

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

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

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

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

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

Definition at line 2672 of file DQMStore.cc.

References MonitorElement::softReset().

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

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

tag ME as <myTag> (myTag > 0)

Definition at line 1292 of file DQMStore.cc.

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

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

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

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

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

Definition at line 1307 of file DQMStore.cc.

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

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

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

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

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

Definition at line 1335 of file DQMStore.cc.

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

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

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

tag all children of folder (does NOT include subfolders)

Definition at line 1323 of file DQMStore.cc.

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

Referenced by 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 2567 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 2585 of file DQMStore.cc.

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

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

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

  fastmatch * fm = new fastmatch( pattern );

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

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

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

Friends And Related Function Documentation

friend class DQMArchiver [friend]

Definition at line 461 of file DQMStore.h.

friend class DQMNet [friend]

Definition at line 460 of file DQMStore.h.

friend class DQMService [friend]

Definition at line 459 of file DQMStore.h.

friend class DQMStoreExample [friend]

Definition at line 462 of file DQMStore.h.

friend class edm::DQMHttpSource [friend]

Definition at line 458 of file DQMStore.h.


Member Data Documentation

Definition at line 447 of file DQMStore.h.

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

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

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

Referenced by createQTest(), and initializeFrom().

DQMStore::qtests_ [private]

All the quality tests.

Definition at line 454 of file DQMStore.h.

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

Definition at line 456 of file DQMStore.h.

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

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

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

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

DQMStore::verbose_ [private]

Universal verbose flag for DQM.

Definition at line 444 of file DQMStore.h.

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

Verbose flag for xml-based QTests.

Definition at line 445 of file DQMStore.h.

Referenced by createQTest(), and initializeFrom().