#if !defined HHISTOCONT_H
#define HHISTOCONT_H

//-------------------------------------------------------------------------
//
// File name:       hhistocont.h
// Subject:         Container of histogrammes.
// Author:          D.Vasiliev (INFN-LNS, Catania) "vassili@lns.infn.it"
// Date:            February 2000
//
//-------------------------------------------------------------------------
//
// Description:
//
// This file contains the declaration of the class HHistoCont.
// This class serves as a container of histogrammes.
// All histogrammes are stored in an array which is a TObjArray object.
//
//-------------------------------------------------------------------------

#include "TObjArray.h"

class HHistogram;

class HHistoCont : public TObject {

 protected:

  TObjArray         *fHistoAr;    // list of histogrammes

 public:

  HHistoCont();
  virtual ~HHistoCont();
  Bool_t init();
  Bool_t add(HHistogram *p);
  Bool_t addAt(HHistogram *p, Int_t idx);
  HHistogram* at(Int_t idx);
  Int_t getEntries();
  Int_t find(const Char_t* name);
  void removeAt(Int_t idx, Bool_t kSulSerio = kTRUE);
  void checkConsistency();
  TObjArray* getArray() const { return fHistoAr; }

 public:

  ClassDef(HHistoCont,1) //Container of histogrammes

};

#endif




Last change: Sat May 22 12:57:05 2010
Last generated: 2010-05-22 12:57

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.