// @(#)$Id: hsuchain.h,v 1.3 2008-09-18 13:04:57 halo Exp $
//*-- Author : Marcin Jaskula 03/06/2003

#ifndef HSUChain_H
#define HSUChain_H

////////////////////////////////////////////////////////////////////////////////
//                                                                            //
// HSUChain                                                                   //
//                                                                            //
// Chain with access to the HCategory objects                                 //
//                                                                            //
////////////////////////////////////////////////////////////////////////////////

#include "TChain.h"
#include "TObjArray.h"

// -----------------------------------------------------------------------------

class HCategory;

// -----------------------------------------------------------------------------

class HSUChain : public TChain
{
public:
                        HSUChain(const Char_t *pName = "T");
                       ~HSUChain(void);


    virtual Int_t   Add(const Char_t *name, Int_t nentries = 0)
                                    { return TChain::Add(name, nentries); }

    virtual Int_t   GetEntry(Int_t entry = 0, Int_t getall = 0);

    virtual Bool_t  Notify(void);

    HCategory*      getCategory(const Char_t *pName);

    // -------------------------------------------------------------------------

protected:


    TObjArray       arr;

    // -------------------------------------------------------------------------

    ClassDef(HSUChain, 0)         // Chain with access to the HCategory objects
};

// -----------------------------------------------------------------------------

#endif //HSUChain_H


Last change: Sat May 22 13:12:30 2010
Last generated: 2010-05-22 13:12

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.