//-*-mode:c++-*- // $Id: BrTpcFibDig.h,v 1.2 2001/11/02 13:21:22 pchristi Exp $ // $Author: pchristi $ // $Date: 2001/11/02 13:21:22 $ #ifndef BRAT_BrTpcFibDig #define BRAT_BrTpcFibDig // // // Root Classes #ifndef ROOT_TObject #include "TObject.h" #endif #if !defined BRAT_BrDataObject # include #endif // Brahms Classes // class BrTpcFibDig: public BrDataObject { private: enum {kNumTpcFibChan=6}; Int_t fAdc[6]; // Fibre ADC void Zero() { for(Int_t i = 0; i < 6; i++) fAdc[i] = 0; } public: BrTpcFibDig(){ Zero(); } BrTpcFibDig(const Char_t* Name, const Char_t* Title) : BrDataObject(Name, Title) { Zero(); } virtual ~BrTpcFibDig() {}; virtual Int_t GetAdc(const Int_t channel) const; virtual void SetAdc(const Int_t channel, const Int_t adc); virtual void Print(Option_t* option="R") const; public: ClassDef(BrTpcFibDig,1) // TPM calibration fibers digitized data. }; // // $Log: BrTpcFibDig.h,v $ // Revision 1.2 2001/11/02 13:21:22 pchristi // Initialised values to 0. // // Revision 1.1 2001/10/02 22:27:42 videbaek // Changed datastructures for the fibres froint and back of the Tpcs // The old struct BrTpmfigDig has been removed and replace by a more general // BrTpcFibDig a struct of 6 adc, and with BrRawDataInput taking care // of the foru possible ones (TPM2 F/B T1/B and T2/B) // // Revision 1.2 2001/09/03 14:28:09 videbaek // Clean up of comments only // // #endif