160 std::cout <<
"<TauDQMFileLoader::endJob>:" << std::endl;
164 edm::LogError (
"endJob") <<
" Error in Configuration ParameterSet"
165 <<
" --> histograms will NOT be loaded !!";
172 <<
" --> histograms will NOT be loaded !!";
183 for ( std::map<std::string, cfgEntryFileSet>::const_iterator
fileSet =
fileSets_.begin();
190 edm::LogError (
"endJob") <<
" Failed to open inputFile = " << (*inputFileName)
191 <<
"--> histograms will NOT be loaded !!";
197 if ( TDirectory*
directory = dynamic_cast<TDirectory*>(obj) ) {
201 <<
"--> histograms will NOT be loaded !!";
221 for ( std::map<std::string, cfgEntryFileSet>::const_iterator
fileSet =
fileSets_.begin();
225 if (
verbosity )
std::cout <<
" opening inputFile = " << (*inputFileName) << std::endl;
234 if (
fileSet->second.dqmDirectory_store_ !=
"" ) {
241 std::vector<std::string> dirNames = dqmStore.
getSubdirs();
242 for ( std::vector<std::string>::const_iterator
dirName = dirNames.begin();
248 if ( subDirectories.find(subDirName) != subDirectories.end() ) {
std::vector< std::string > getSubdirs(void) const
std::set< std::string > sstring
std::string dqmDirectoryName(const std::string &dqmRootDirectory, const std::string &dqmSubDirectory)
const std::string dqmRootDirectory_inTFile
std::string dqmSubDirectoryName_merged(const std::string &directory, const std::string &subdirectory)
std::map< std::string, sstring > subDirectoryMap_
std::map< std::string, cfgEntryFileSet > fileSets_
void dqmCopyRecursively(DQMStore &dqmStore, const std::string &inputDirectory, const std::string &outputDirectory, double scaleFactor, int mode, bool rmInputDirectory)
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 dqmRootDirectory
void showDirStructure(void) const
void mapSubDirectoryStructure(TDirectory *directory, std::string directoryName, std::set< std::string > &subDirectories)
void setCurrentFolder(const std::string &fullpath)