#ifndef BRAT_BrCalTof #define BRAT_BrCalTof // $Id: BrCalTof.h,v 1.1.1.1 2001/06/21 14:55:02 hagel Exp $ // // /////////////////////////////////////////////////////////////////////// // // // BrCalTof // // // // BRAHMS Raw Data Element for Time-Of-Flight element // // // // Author : F.Videbaek // // Created : February 98 // // Version : 1.0 // // Changed : added energy as well IGB 18FEB99 // // // // // /////////////////////////////////////////////////////////////////////// // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif // Brahms Classes // class BrCalTof: public TObject { public: BrCalTof(){ }; virtual ~BrCalTof() { }; Bool_t IsSortable() const {return kTRUE;} Int_t Compare(TObject *BrCalTof); virtual Int_t GetSlatno() const {return fSlatno;} virtual Float_t GetTof() const {return fTof;} virtual Float_t GetSlEnergy() const {return fEnergy;} virtual Float_t GetPosition() const {return fPosition;} virtual void SetSlatno(Int_t i) {fSlatno = i;} virtual void SetTof(Float_t time) {fTof = time;} virtual void SetSlEnergy(Float_t energy) {fEnergy = energy;} virtual void SetPosition(Float_t pos) {fPosition = pos;} virtual void List(); private: Int_t fSlatno; // SlatNumber Float_t fTof; // Calibrated Time of Flight Float_t fPosition; // Calibrated Position Float_t fEnergy; // Energy calculated in BrCalibrateTof public: ClassDef(BrCalTof,2) // BRAHMS Tof Digitized data class }; #endif // $Log: BrCalTof.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:02 hagel // Initial revision of brat2 // // Revision 1.3 2000/12/14 03:49:53 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.2 1999/02/19 21:31:06 bearden // Added ADCs to Tof calibration, now returns ADC sum (top+bottom) in channels // // Revision 1.1 1999/02/06 02:34:47 hagel // Initial revision // //