26 fInputFile( other.fInputFile ),
27 fHistoName( other.fHistoName ),
28 fHistoPath( other.fHistoPath ),
29 fhData( other.fhData )
33 std::string HistoPath ) :
34 fInputFile( InputFile ), fHistoName( HistoName ), fHistoPath( HistoPath ) {;}
37 return (
TH1*) fhData.GetObject();
44 stream <<
"\t \t InputFile: " << fInputFile
45 <<
"\t HistoName: " << fHistoName
46 <<
"\t HistoPath: " << fHistoPath
56 if( histData != NULL) {
63 fInputFile = OutputFileName;
64 fHistoName = histData->
GetName();
74 xml <<
" <Data HistoName=\"" << GetHistoName() <<
"\" "
75 <<
"InputFile=\"" << GetInputFile() <<
"\" "
76 <<
"HistoPath=\"" << GetHistoPath() <<
"\" "
77 <<
" /> " << 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)