31 fInputFile( other.fInputFile ),
32 fHistoName( other.fHistoName ),
33 fHistoPath( other.fHistoPath ),
34 fhData( other.fhData )
38 std::string HistoPath ) :
39 fInputFile( InputFile ), fHistoName( HistoName ), fHistoPath( HistoPath ) {;}
42 return (
TH1*) fhData.GetObject();
49 stream <<
"\t \t InputFile: " << fInputFile
50 <<
"\t HistoName: " << fHistoName
51 <<
"\t HistoPath: " << fHistoPath
61 if( histData !=
NULL) {
68 fInputFile = OutputFileName;
69 fHistoName = histData->
GetName();
79 xml <<
" <Data HistoName=\"" << GetHistoName() <<
"\" "
80 <<
"InputFile=\"" << GetInputFile() <<
"\" "
81 <<
"HistoPath=\"" << GetHistoPath() <<
"\" "
82 <<
" /> " << std::endl << std::endl;
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)
void Print(std::ostream &=std::cout)
virtual const char * GetName() const
Returns name of object.
void PrintXML(std::ostream &)
void writeToFile(std::string FileName, std::string DirName)