/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Functions
StatisticsSvc.cc File Reference
#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)

Function Documentation

static std::string xrootdify ( std::string  file) [static]

Definition at line 28 of file StatisticsSvc.cc.

{
  if ("root:" != file.substr(0,5)) {
    return file;
  }

  if ("?mkpath=1" == file.substr(file.size()-9)) {
    return file;
  }
  return file + "?mkpath=1";
}
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.

{
  std::map<std::string,std::string> ret;
  std::map<std::string,std::string>::const_iterator it, done = inmap.end();
  for(it = inmap.begin(); it != done; ++it) {
    ret[it->first] = xrootdify(it->second);
  }
  return ret;
}
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:54:00 for StatisticsSvc by doxygen 1.7.4