//-*- mode: c++ -*- // // $Id: BrTileDig.h,v 1.3 2001/06/28 16:43:48 cholm Exp $ // $Author: cholm $ // $Date: 2001/06/28 16:43:48 $ // /////////////////////////////////////////////////////////////////////// // // // BrTileDigs // // // // BRAHMS Raw Data Element for Multiplicity Tiles counters // // // // Author : F.Videbaek // // Created : February 2000 // // Version : 1.0 // // Changed : // // // /////////////////////////////////////////////////////////////////////// #ifndef BRAT_BrTileDig #define BRAT_BrTileDig #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef BRAT_BrDataObject #include "BrDataObject.h" #endif #define BR_TILE_CHAN_MAX 48 class BrTileDig: public BrDataObject { private: Int_t fNumTilesChan; Short_t fAdc[BR_TILE_CHAN_MAX]; // Tiles ADC Channels Short_t fId[BR_TILE_CHAN_MAX]; public: BrTileDig(); BrTileDig(const Char_t* name, const Char_t* title); virtual ~BrTileDig() { }; virtual Int_t GetNumberOfChannels(void) const { return fNumTilesChan; } virtual Short_t GetAdc(const Int_t itube) const ; virtual void SetAdc(const Int_t itube, const Short_t val); virtual Short_t GetId(const Int_t itube) const; virtual void SetId(const Int_t itube, const Short_t val); virtual Bool_t IsSortable() const {return kTRUE;} virtual void Clear(Option_t* option=""); virtual void Print(Option_t* option="R") const; //*MENU* public: ClassDef(BrTileDig,1) // BRAHMS Tiles Raw Digitized data class }; #endif // // $Log: BrTileDig.h,v $ // Revision 1.3 2001/06/28 16:43:48 cholm // Added initialisation and fleshed out a couple of methods. // // Revision 1.2 2001/06/25 14:26:56 cholm // Made Print conform to TObject // // Revision 1.1.1.1 2001/06/21 14:55:01 hagel // Initial revision of brat2 // // Revision 1.2 2001/05/31 01:45:13 cholm // Second rewamp of this directory. All RDO modules use the common // BrMultRdoModule, and they both write BrMultRdo Objects. Also introduced // ABC for Br[Tile|Si][Parameters|Calibration] since they have a lot in common, // and the code can be made more efficient this way. // // A possible further thing to do, is to make an ABC for the CentModules, and // the corresponding calibration modules, since they are very VERY similar. // However, the current module BrMultCentModule is in the way. Need to talk // to Steve about that. // // Revision 1.1 2001/01/29 20:46:22 cholm // Added the two classes BrSiDig and BrTileDig, which are basically a renaming // of the classes BrDigSi and BrDigTiles, however, the new ones fit in with // the intented naming scheme. The two old classes are kept for backward // compatiblity , but can be faced out soon. // //