#ifndef BRAT_BrClonesArray #define BRAT_BrClonesArray // $Id: BrClonesArray.h,v 1.1.1.1 2001/06/21 14:54:58 hagel Exp $ // // $Log: BrClonesArray.h,v $ // Revision 1.1.1.1 2001/06/21 14:54:58 hagel // Initial revision of brat2 // // Revision 1.5 2000/03/21 21:21:36 cholm // Several changes: A few hacks where needed to compile on Digital Unix, noticably in my - Christian Holm - classes for the DB and Exceptions. Proberly still need to do something to some of Konstantins stuff. Also, I removed a lot of warnings fromt the compiler, by teddying up the code. Several places, old C-style indecies in for loops were assumed. Corrected. Unused variables have been commented out. // // Revision 1.4 1999/01/21 23:23:18 hagel // 1. Changed convention for checking includes. Current convention is: // BRAT_Br...... eg BRAT_BrModule ala ROOT. // 2. Added CVS logs to .h files that didn't have them. // 3. Moved checking of include definition to first line for easier reading // 4. Put checks before all includes in the include files as per BRAT specifications // 5. Added BrGeantHeader to Geant Makefile // 6. All changes have been checked to compile on NT ala Cygnus // // Revision 1.3 1998/09/16 20:02:34 alv // Removed unused a in definition of copy constructors. // Added method GetSize(). // // Revision 1.2 1998/04/06 21:11:46 videbaek // Clean up and additions for Win95 // // ////////////////////////////////////////////////////////////////////// // // // BrClonesArray // // // // A Class to hide the ROOT TClonesArray and provide possible // // special functionality for BRAHMS analysis // // // // Author : Kris Hagel (hagel@comp.tamu.edu) // // Created : 10/MAR/1998 Version : 1.0 // // Changed : // // // ////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TClonesArray #include "TClonesArray.h" #endif class BrClonesArray : public TClonesArray { public: BrClonesArray() : TClonesArray() { } ; BrClonesArray(Text_t *classname, Int_t size = 1000, Bool_t call_dtor = kTRUE) : TClonesArray(classname,size,call_dtor) { }; BrClonesArray(const TClonesArray &) { MayNotUse("TClonesArray"); } BrClonesArray(const BrClonesArray &) { MayNotUse("BrClonesArray"); } void RemoveAndCompressAt(Int_t i) {RemoveAt(i);Compress();} Int_t GetSize() const { return fSize; } virtual ~BrClonesArray(); private: public: ClassDef(BrClonesArray,1) // BRAHMS clones data container class }; #endif