#if !defined HDETSETCONT_H
#define HDETSETCONT_H

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

#include "TObjArray.h"

class HDetSet;

class HDetSetCont : public TObject {

 protected:

  TObjArray      *fDetSetAr;

 public:

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

 public:
  
  ClassDef(HDetSetCont, 1) //Container of detector sets

};

#endif



































Last change: Sat May 22 12:54:41 2010
Last generated: 2010-05-22 12:54

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.