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")
static string make_name (const char *path, const char *ext)

Function Documentation

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

Definition at line 21 of file HistManModule.cxx.

References gSystem().

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 16 Jan 2018 for loon by  doxygen 1.6.1