// -*- mode: c++ -*- /////////////////////////////////////////////////////////////////////// // // // BrTofDig // // // // BRAHMS Raw Data Element for Time-Of-Flight element // // // // Author : F.Videbaek // // Created : February 98 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// // $Id: BrTofDig.h,v 1.3 2002/08/15 16:16:25 videbaek Exp $ // $Author: videbaek $ // $Date: 2002/08/15 16:16:25 $ // #ifndef BRAT_BrTofDig #define BRAT_BrTofDig // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes // class BrTofDig: public TObject { public: BrTofDig(){ }; virtual ~BrTofDig() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrTofDig); virtual Int_t GetSlatno() const {return fSlatno;} virtual Int_t GetAdcUp() const {return fAdcUp;} virtual Int_t GetAdcDown() const {return fAdcDown;} virtual Int_t GetTdcUp() const {return fTdcUp;} virtual Int_t GetTdcDown() const {return fTdcDown;} virtual void SetSlatno(Int_t i) {fSlatno = i;} virtual void SetTdcUp(Int_t time) {fTdcUp = time;} virtual void SetTdcDown(Int_t time) {fTdcDown = time;} virtual void SetAdcUp(Int_t energy) {fAdcUp = energy;} virtual void SetAdcDown(Int_t energy) {fAdcDown = energy;} virtual void List(); virtual void Print(Option_t* option="R") const; //*MENU* private: Int_t fSlatno; // SlatNumber Int_t fAdcUp; // Adc value from top PMT Int_t fAdcDown; // Adc value from bottom PMT Int_t fTdcUp; // Tdc value from top PMT Int_t fTdcDown; // Tdc value from top PMT public: ClassDef(BrTofDig,2) // BRAHMS Tof Digitized data class }; #endif // $Log: BrTofDig.h,v $ // Revision 1.3 2002/08/15 16:16:25 videbaek // Include the print() method instead of List.. // // Revision 1.2 2001/06/25 14:26:59 cholm // Made Print conform to TObject // // Revision 1.1 2001/06/22 17:33: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 2000/12/14 03:49:52 ouerdane // Added new clas for calibration: BrCalibrationParamsTOF // Updated makefile and makeNT for that // Added a final + in some lines of BrTof_LinkDef.h (for data object classes) // Changed ClassDef number of these classes to 2 // // Revision 1.5 2000/03/14 18:22:16 cholm // Use of BrTableNames.h in BrCalibrateTof::Event class // // Revision 1.4 1999/11/30 22:23:20 videbaek // Modified method names. // // Revision 1.3 1999/02/19 21:31:06 bearden // Added ADCs to Tof calibration, now returns ADC sum (top+bottom) in channels // // Revision 1.2 1999/01/21 23:23:25 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 //