// -*- mode: c++ -*- // $Id: BrC1Dig.h,v 1.2 2001/08/09 08:56:59 ekman Exp $ // // /////////////////////////////////////////////////////////////////////// // // // BrC1Dig // // // // BRAHMS Raw Data Element for C1 counters // // // // Author : K. Hagel // // Created : May 1999 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// #ifndef BRAT_BrC1Dig #define BRAT_BrC1Dig #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef BRAT_BrDataObject #include #endif const Int_t kNumC1Chan = 32; // // Brahms Classes // class BrC1Dig: public BrDataObject { private: Int_t fAdc[kNumC1Chan]; // C1 ADC's public: BrC1Dig(){}; BrC1Dig(const Char_t* Name, const Char_t* Title) : BrDataObject(Name, Title) {}; virtual ~BrC1Dig() { }; virtual Int_t GetAdc(const Int_t i) const; // {return fAdc;} virtual void SetAdc(const Int_t itube,const Int_t adc); //{fTdc = time;} virtual void List() {Print();} virtual void Print(Option_t* option = "R") const; public: ClassDef(BrC1Dig,1) // BRAHMS C1 Digitized data class }; #endif // $Log: BrC1Dig.h,v $ // Revision 1.2 2001/08/09 08:56:59 ekman // Changed tube numbering - start at 1. // // Revision 1.1 2001/06/22 17:32:22 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.2 2000/06/08 06:28:53 videbaek // Fixed the error introduced by using kDigC1 name w/o change in Monitor. Took the opprotunity to // make BrC1Dig a BrDataObject rather than a TObject that belongs to a table. // // Revision 1.1 1999/06/22 00:06:38 hagel // Initial revision of C1 structures and monitoring code