// $Id: BrVirtualTrack.h,v 1.1.1.1 2001/06/21 14:55:03 hagel Exp $ // // $Log: BrVirtualTrack.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:03 hagel // Initial revision of brat2 // // Revision 1.4 1999/02/25 17:26:07 videbaek // Add CVS Id and Log flags. Removed commented code // // #ifndef BRAT_BrVirtualTrack #define BRAT_BrVirtualTrack // $Id: BrVirtualTrack.h,v 1.1.1.1 2001/06/21 14:55:03 hagel Exp $ // // $Log: BrVirtualTrack.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:03 hagel // Initial revision of brat2 // // Revision 1.4 1999/02/25 17:26:07 videbaek // Add CVS Id and Log flags. Removed commented code // // Revision 1.3 1999/01/21 23:23:28 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 // // // ////////////////////////////////////////////////////////////////////// // // // TBrVirtualTrack // // // // BRAHMS Virtual Hit class // // // // Author : Kris Hagel (hagel@comp.tamu.edu) // // Created : 9-Mar-1998 // // Version : 1.0 // // Changed : // // // ////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef ROOT_TObjArray #include "TObjArray.h" #endif class BrLocalTrack; class BrVirtualTrack: public TObject { public: BrVirtualTrack(); virtual ~BrVirtualTrack() {fLoctra.Clear(); }; virtual BrLocalTrack *GetLoctraAt(Int_t i) {return (BrLocalTrack*)fLoctra.At(i);} virtual Int_t GetLoctraEntries() {return fLoctra.GetEntries();} virtual void AddLoctra(BrLocalTrack *loctra_p) {fLoctra.Add((TObject*)loctra_p);} virtual Int_t GetID() const {return fID;} virtual void SetID(Int_t i) {fID=i;} private: Int_t fID; // ID for this group of track candidates. TObjArray fLoctra; public: ClassDef(BrVirtualTrack,1) // BRAHMS Local Track Group class }; #endif