#ifndef BRAT_BrBbDig #define BRAT_BrBbDig // $Id: BrBbDig.h,v 1.2 2001/10/19 15:24:02 ouerdane Exp $ // // $Log: BrBbDig.h,v $ // Revision 1.2 2001/10/19 15:24:02 ouerdane // Added method Print(Option_t*) const in BrBbDig // // Revision 1.1 2001/06/22 17:32:17 cholm // Change names so that every data class has the same format so that // we have that down from the very beginning, so that we will not have to // worry about that later on. The // affected classes are: // // BrDigBB -> BrBbDig // BrDigZDC -> BrZdcDig // BrDigRHIC -> BrRichDig // BrDigDC -> BrDcDig // BrDigC1 -> BrDcC1 // BrDigHit -> BrHitDig // BrDigTof -> BrTofDig // BrTPCSequence -> BrTpcSequence // // Revision 1.1.1.1 2001/06/21 14:55:01 hagel // Initial revision of brat2 // // Revision 1.6 1999/11/30 22:21:09 videbaek // Added method to convert geant module no to real life module no of // beam beam counters. // // Revision 1.5 1999/01/21 23:23:21 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 didnt 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.4 1998/07/31 19:32:13 videbaek // Working version of BB digitize // // Revision 1.3 1998/07/28 21:29:12 videbaek // several fixes to BB // // Revision 1.2 1998/07/27 16:26:58 videbaek // Stat on modifiing BB - not complete // // Revision 1.1 1998/07/02 19:40:34 videbaek // Preliminary version of BB // /////////////////////////////////////////////////////////////////////// // // // BrBbDig // // // // BRAHMS Raw Data Element for Beam-Beam counters // // // // Author : F.Videbaek // // Created : May 1998 // // Version : 1.0 // // Changed : 1.01 // Use ModuleNo rather than Tubeno // Keep TubeNo member access for a while // // /////////////////////////////////////////////////////////////////////// // Root Classes #if !defined ROOT_TObject #include "TObject.h" #endif // Brahms Classes // class BrBbDig: public TObject { private: Int_t fId; // Reference ID in table. Int_t fModuleNo; // Tube module. relates to physical tubeNo Int_t fAdc; // Adc value for PMT Int_t fTdc; // Tdc value for PMT public: BrBbDig(){ }; virtual ~BrBbDig() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrBbDig); virtual Int_t GetTubeNo() const {return fModuleNo;} virtual Int_t GetModuleNo() const {return fModuleNo;} virtual Int_t GetAdc() const {return fAdc;} virtual Int_t GetTdc() const {return fTdc;} virtual Int_t GetId() {return fId;} virtual void SetTubeNo(Int_t i) {fModuleNo = i;} virtual void SetModuleNo(Int_t i) {fModuleNo = i;} virtual void SetTdc(Int_t time) {fTdc = time;} virtual void SetAdc(Int_t i) {fAdc = i;} virtual void SetId(Int_t i) {fId = i;} virtual void List() { Print(); } virtual void Print(Option_t* option="") const; //*MENU* public: ClassDef(BrBbDig,1) // BRAHMS Tof Digitized data class }; #endif