#include "StatisticsSvc.h"
#include "TObject.h"
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "TTree.h"
#include "TGraph.h"
#include "HistMan/HistMan.h"
#include "GaudiKernel/IMessageSvc.h"
Include dependency graph for StatisticsSvc.cc:
Go to the source code of this file.
Functions | |
static std::string | xrootdify (std::string file) |
static std::map< std::string, std::string > | xrootdify_map (const std::map< std::string, std::string > &inmap) |
static std::string xrootdify | ( | std::string | file | ) | [static] |
Definition at line 28 of file StatisticsSvc.cc.
00029 { 00030 if ("root:" != file.substr(0,5)) { 00031 return file; 00032 } 00033 00034 if ("?mkpath=1" == file.substr(file.size()-9)) { 00035 return file; 00036 } 00037 return file + "?mkpath=1"; 00038 }
static std::map<std::string,std::string> xrootdify_map | ( | const std::map< std::string, std::string > & | inmap | ) | [static] |
Definition at line 41 of file StatisticsSvc.cc.
00042 { 00043 std::map<std::string,std::string> ret; 00044 std::map<std::string,std::string>::const_iterator it, done = inmap.end(); 00045 for(it = inmap.begin(); it != done; ++it) { 00046 ret[it->first] = xrootdify(it->second); 00047 } 00048 return ret; 00049 }