21               std::string HistoPath ) :
 
   22  fInputFile( InputFile ), fHistoName( HistoName ), fHistoPath( HistoPath ) {;}
 
   25  return (
TH1*) fhData.GetObject();
 
   29  return (
TH1*) fhData.GetObject();
 
   36  stream << 
"\t \t InputFile: " << fInputFile
 
   37    << 
"\t HistoName: " << fHistoName
 
   38    << 
"\t HistoPath: " << fHistoPath
 
   39    << 
"\t HistoAddress: " << GetHisto()
 
   46  TH1* histData = GetHisto();
 
   48  if( histData != 
nullptr) {
 
   55    fInputFile = OutputFileName;
 
   56    fHistoName = histData->
GetName();
 
   66  xml << 
"    <Data HistoName=\"" << GetHistoName() << 
"\" " 
   67      << 
"InputFile=\"" << GetInputFile() << 
"\" " 
   68      << 
"HistoPath=\"" << GetHistoPath() << 
"\" ";
 
   69  if(!GetName().empty()) {
 
   70     xml << 
"Name=\"" << GetName() << 
"\" ";
 
   72  xml << 
" /> " << std::endl << std::endl;
 
void Print(std::ostream &=std::cout)
 
void PrintXML(std::ostream &) const
 
void writeToFile(std::string FileName, std::string DirName)
 
TH1 is the base class of all histogram classes in ROOT.
 
const char * GetName() const override
Returns name of object.
 
virtual Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.