Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HistManModule.cxx File Reference

#include "HistManModule.h"
#include <TSystem.h>
#include <Registry/Registry.h>
#include <JobControl/JobCModuleRegistry.h>
#include <string>

Go to the source code of this file.

Functions

 JOBMODULE (HistManModule,"HistMan","Save HistMan histograms in a file")
string make_name (const char *path, const char *ext)


Function Documentation

JOBMODULE HistManModule  ,
"HistMan"  ,
"Save HistMan histograms in a file" 
 

string make_name const char *  path,
const char *  ext
[static]
 

Definition at line 21 of file HistManModule.cxx.

References gSystem(), and s().

Referenced by HistManModule::EndFile().

00022 {
00023     string ret = gSystem->BaseName(path);
00024     string::size_type s = ret.find(".");
00025     return ret.substr(0,s) + ext;
00026 }


Generated on Mon Feb 15 11:07:59 2010 for loon by  doxygen 1.3.9.1