25 std::string HistoPath ) :
26 fInputFile( InputFile ), fHistoName( HistoName ), fHistoPath( HistoPath ) {;}
29 return (
TH1*) fhData.GetObject();
36 stream <<
"\t \t InputFile: " << fInputFile
37 <<
"\t HistoName: " << fHistoName
38 <<
"\t HistoPath: " << fHistoPath
48 if( histData != NULL) {
55 fInputFile = OutputFileName;
56 fHistoName = histData->
GetName();
66 xml <<
" <Data HistoName=\"" << GetHistoName() <<
"\" "
67 <<
"InputFile=\"" << GetInputFile() <<
"\" "
68 <<
"HistoPath=\"" << GetHistoPath() <<
"\" "
69 <<
" /> " << std::endl << std::endl;
void PrintXML(std::ostream &)
void Print(std::ostream &=std::cout)
void writeToFile(std::string FileName, std::string DirName)
virtual const char * GetName() const
Returns name of object.
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
TH1 * GetHisto(TFile *inFile, const std::string name)