#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 mps_setup::append, clone(), TrackerOfflineValidation_Dqm_cff::dirName, dqmCopyRecursively(), dqmDirectoryName(), dqmRegisterHistogram(), L1TBPTX_cfi::dqmStore, dqmSubDirectoryName_merged(), dqm::legacy::MonitorElement::getTH1(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, scaleFactor, 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.
Referenced by dqmCopyRecursively().
void dqmRegisterHistogram | ( | dqm::legacy::DQMStore & | dqmStore, |
TH1 * | histogram, | ||
const std::string & | name | ||
) |
Definition at line 81 of file dqmAuxFunctions.cc.
References L1TBPTX_cfi::dqmStore, h, and Skims_PA_cff::name.
Referenced by dqmCopyRecursively().
std::string dqmSubDirectoryName_merged | ( | const std::string & | directory, |
const std::string & | subdirectory | ||
) |
Definition at line 66 of file dqmAuxFunctions.cc.
References createBeamHaloJobs::directory, dqmSeparator, AlCaHLTBitMon_QueryRunRegistry::string, and personalPlayback::subdirectory.
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(), and l1tGTMenu_BTagSeeds_cff::os.
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 TrackRefitter_38T_cff::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, ECALResponse_cfi::histogramName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TauDQMHistEffProducer::dqmEndJob().