// -*- mode: c++ -*- #ifndef BRAT_BrTrigZdc #define BRAT_BrTrigZdc // $Id: BrTrigZdc.h,v 1.1 2001/11/26 17:55:27 videbaek Exp $ // 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 Zdc, 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 BrTrigZdc: public TObject { private: Int_t fTypeId; // Id for ZDC (0==left, 1==right) Int_t fTdc; // Tdc value for ZDC Int_t fWidth; // Pulse width (in bins) public: BrTrigZdc(){}; virtual ~BrTrigZdc() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrTrigZdc); virtual Int_t GetTypeId() const {return fTypeId;} virtual Int_t GetTdc() const {return fTdc;} virtual Int_t GetWidth() const {return fWidth;} virtual void SetTypeId(const Int_t i) {fTypeId = i;} virtual void SetTdc(const Int_t time) {fTdc = time;} virtual void SetWidth(const Int_t time) {fWidth = time;} virtual void Print(Option_t* option="R") const; public: ClassDef(BrTrigZdc,1) // BRAHMS Tof Digitized data class }; #endif // $Log: BrTrigZdc.h,v $ // Revision 1.1 2001/11/26 17:55:27 videbaek // Added Brat Objects for new RHIC Clock and Zdc time info. // Only present in raw data since 11/23/01 //