#include "Validation/RecoTau/plugins/dqmAuxFunctions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include <TH1.h>
#include <iostream>
Go to the source code of this file.
Functions | |
void | dqmCopyRecursively (DQMStore &dqmStore, const std::string &inputDirectory, const std::string &outputDirectory, double scaleFactor, int mode, bool rmInputDirectory) |
std::string | dqmDirectoryName (const std::string &directory) |
void | dqmRegisterHistogram (DQMStore &dqmStore, TH1 *histogram, const std::string &name) |
std::string | dqmSubDirectoryName_merged (const std::string &directory, const std::string &subdirectory) |
std::string | format_vstring (const std::vector< std::string > &vs) |
std::string | replace_string (const std::string &src, const std::string &keyword, const std::string ¶meter, unsigned minReplacements, unsigned maxReplacements, int &errorFlag) |
void | separateHistogramFromDirectoryName (const std::string &histogramAndDirectoryName, std::string &histogramName, std::string &directoryName) |
void dqmCopyRecursively | ( | DQMStore & | dqmStore, |
const std::string & | inputDirectory, | ||
const std::string & | outputDirectory, | ||
double | scaleFactor, | ||
int | mode, | ||
bool | rmInputDirectory | ||
) |
Definition at line 107 of file dqmAuxFunctions.cc.
References python.multivaluedict::append(), clone(), TrackerOfflineValidation_Dqm_cff::dirName, dqmCopyRecursively(), dqmDirectoryName(), dqmRegisterHistogram(), dqmSubDirectoryName_merged(), DQMStore::get(), DQMStore::getMEs(), DQMStore::getSubdirs(), MonitorElement::getTH1(), DQMStore::rmdir(), and DQMStore::setCurrentFolder().
Referenced by dqmCopyRecursively(), and TauDQMFileLoader::endRun().
std::string dqmDirectoryName | ( | const std::string & | directory | ) |
Definition at line 55 of file dqmAuxFunctions.cc.
References createBeamHaloJobs::directory, TrackerOfflineValidation_Dqm_cff::dirName, and dqmSeparator.
void dqmRegisterHistogram | ( | DQMStore & | dqmStore, |
TH1 * | histogram, | ||
const std::string & | name | ||
) |
Definition at line 78 of file dqmAuxFunctions.cc.
References DQMStore::book1D(), DQMStore::book1S(), DQMStore::book2D(), DQMStore::book2S(), DQMStore::book3D(), DQMStore::bookProfile(), DQMStore::bookProfile2D(), and h.
Referenced by dqmCopyRecursively().
std::string dqmSubDirectoryName_merged | ( | const std::string & | directory, |
const std::string & | subdirectory | ||
) |
Definition at line 64 of file dqmAuxFunctions.cc.
References dqmSeparator.
Referenced by dqmCopyRecursively(), and TauDQMFileLoader::endRun().
std::string format_vstring | ( | const std::vector< std::string > & | vs | ) |
Definition at line 34 of file dqmAuxFunctions.cc.
References edm::numEntries().
Referenced by PATJetCorrExtractor::operator()(), TauDQMFileLoader::cfgEntryFileSet::print(), TauDQMHistPlotter::cfgEntryLabel::print(), and TauDQMHistPlotter::cfgEntryDrawJob::print().
std::string replace_string | ( | const std::string & | src, |
const std::string & | keyword, | ||
const std::string & | parameter, | ||
unsigned | minReplacements, | ||
unsigned | maxReplacements, | ||
int & | errorFlag | ||
) |
Definition at line 11 of file dqmAuxFunctions.cc.
References alcazmumu_cfi::src.
Referenced by TauDQMHistPlotter::endRun(), TauDQMHistEffProducer::TauDQMHistEffProducer(), and TauDQMHistPlotter::TauDQMHistPlotter().
void separateHistogramFromDirectoryName | ( | const std::string & | histogramAndDirectoryName, |
std::string & | histogramName, | ||
std::string & | directoryName | ||
) |
Definition at line 195 of file dqmAuxFunctions.cc.
References dqmRootDirectory, and dqmSeparator.
Referenced by TauDQMHistEffProducer::endRun().