#ifndef BRAT_BrTrigBB #define BRAT_BrTrigBB // $Id: BrTrigBB.h,v 1.1.1.1 2001/06/21 14:55:01 hagel Exp $ // $Log: BrTrigBB.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:01 hagel // Initial revision of brat2 // // Revision 1.1 2001/05/01 00:29:51 videbaek // Added bnew directory for trigger handling // This is taken mainly from base and BB, but better and more consistent // handling // // Revision 1.1 1999/08/14 17:59:07 videbaek // Initial version // // // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes // class BrTrigBB: public TObject { private: Int_t fId; // Reference ID in table. Int_t fTubeNo; // Tube Number (either left or right) Int_t fTdc; // Tdc value for PMT Int_t fWidth; // Pulse width (in bins) public: BrTrigBB(){ }; virtual ~BrTrigBB() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrTrigBB); virtual Int_t GetTubeNo() const {return fTubeNo;} virtual Int_t GetTdc() const {return fTdc;} virtual Int_t GetWidth() const {return fWidth;} virtual Int_t GetId() {return fId;} virtual void SetTubeNo(Int_t i) {fTubeNo = i;} virtual void SetTdc(Int_t time) {fTdc = time;} virtual void SetWidth(Int_t time) {fWidth = time;} virtual void SetId(Int_t i) {fId = i;} virtual void List(); public: ClassDef(BrTrigBB,1) // BRAHMS Tof Digitized data class }; #endif