#include "Validation/RecoTau/plugins/dqmAuxFunctions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <TH1.h>
#include <iostream>
Go to the source code of this file.
Functions | |
void | dqmCopyRecursively (dqm::legacy::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 (dqm::legacy::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 | ( | dqm::legacy::DQMStore & | dqmStore, |
const std::string & | inputDirectory, | ||
const std::string & | outputDirectory, | ||
double | scaleFactor, | ||
int | mode, | ||
bool | rmInputDirectory | ||
) |
Definition at line 109 of file dqmAuxFunctions.cc.
References bitset_utilities::append(), clone(), TrackerOfflineValidation_Dqm_cff::dirName, dqmCopyRecursively(), dqmDirectoryName(), dqmRegisterHistogram(), dqmSubDirectoryName_merged(), dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getMEs(), dqm::implementation::IGetter::getSubdirs(), dqm::legacy::MonitorElement::getTH1(), HLT_FULL_cff::scaleFactor, dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmCopyRecursively(), and TauDQMFileLoader::endRun().
std::string dqmDirectoryName | ( | const std::string & | directory | ) |
Definition at line 57 of file dqmAuxFunctions.cc.
References createBeamHaloJobs::directory, TrackerOfflineValidation_Dqm_cff::dirName, dqmSeparator, and AlCaHLTBitMon_QueryRunRegistry::string.
void dqmRegisterHistogram | ( | dqm::legacy::DQMStore & | dqmStore, |
TH1 * | histogram, | ||
const std::string & | name | ||
) |
Definition at line 81 of file dqmAuxFunctions.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book1S(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book2S(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), and h.
Referenced by dqmCopyRecursively().
std::string dqmSubDirectoryName_merged | ( | const std::string & | directory, |
const std::string & | subdirectory | ||
) |
Definition at line 66 of file dqmAuxFunctions.cc.
References dqmSeparator, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmCopyRecursively(), and TauDQMFileLoader::endRun().
std::string format_vstring | ( | const std::vector< std::string > & | vs | ) |
Definition at line 36 of file dqmAuxFunctions.cc.
References edm::numEntries().
Referenced by 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, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TauDQMHistPlotter::endRun(), TauDQMHistEffProducer::TauDQMHistEffProducer(), and TauDQMHistPlotter::TauDQMHistPlotter().
void separateHistogramFromDirectoryName | ( | const std::string & | histogramAndDirectoryName, |
std::string & | histogramName, | ||
std::string & | directoryName | ||
) |
Definition at line 191 of file dqmAuxFunctions.cc.
References dqmRootDirectory, dqmSeparator, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TauDQMHistEffProducer::dqmEndJob().