#ifndef __EMS__ #define __EMS__ #include #include #include #include #include #include #include "my_class/EMCells.h" class EMS : public TObject { private: TClonesArray *_ecells; static TClonesArray *fgEMCells; EMS(); EMS(const EMS &orig); ~EMS();// {;} EMS& operator = (const EMS &orig); TRef addCell(const int &addingPosition, const EMCells &acell); EMCells getEMCells(const Int_t &icell) const {return *(EMCells*)_ecells->At(icell);} Int_t ncells() const {return _ecells->GetLast() + 1;} ClassDef(EMS,1) };//end of EMS branch declaration #endif