// -*- mode: c++ -*- #ifndef BRAT_BrTrigClock #define BRAT_BrTrigClock // $Id: BrTrigClock.h,v 1.1 2001/11/26 17:55:27 videbaek Exp $ // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes // class BrTrigClock: public TObject { private: Int_t fTypeId; // Tube Number (either left or right) Int_t fTdc; // Tdc value for RHIC clocks Int_t fWidth; // Pulse width (in bins) public: BrTrigClock(){}; virtual ~BrTrigClock() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrTrigClock); 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(BrTrigClock,1) // BRAHMS Clock (bunch data class }; #endif // $Log: BrTrigClock.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 //