// -*- mode: c++ -*- // // $Id: BrMultParameters.h,v 1.1.1.1 2001/06/21 14:55:01 hagel Exp $ // $Author: hagel $ // $Date: 2001/06/21 14:55:01 $ // $Copyright: (C) 2001 BRAHMS Collaboration // #ifndef BRAT_BrMultParameters #define BRAT_BrMultParameters #ifndef ROOT_TObject #include "TObject.h" #endif #ifndef BRAT_BrDetectorParamsBase #include "BrDetectorParamsBase.h" #endif class BrMultParameters : public BrDetectorParamsBase { protected: // Geometry Int_t fNoRings; // Number of Modules Int_t fNoRows; // Number of Modules // ADC Float_t fAdcGain; // Gain of Tube + ADC. (in channel per pe) Float_t fSigmaAdc; // Intrinsic pulse height resolution (on Float_t fAdcOffset; // ADC pedestal value public: BrMultParameters(); BrMultParameters(Char_t *name,Char_t *title); BrMultParameters(Char_t *name,Char_t *title,Char_t *filename); virtual void ListParameters() const; virtual void SetASCIIParameters(Char_t *line); virtual Float_t GetAdcGain() const {return fAdcGain;} virtual Float_t GetAdcOffset() const {return fAdcOffset;} virtual Float_t GetSigmaAdc() const {return fSigmaAdc;} virtual Int_t GetNoModules() const {return fNoRings * fNoRows;} virtual Int_t GetNoRings() const {return fNoRings;} virtual Int_t GetNoRows() const {return fNoRows;} virtual void SetAdcGain(const Float_t adc){ fAdcGain = adc; } virtual void SetAdcOffset(Float_t value) { fAdcOffset=value; } virtual void SetSigmaAdc(Float_t value ) { fSigmaAdc=value; } virtual void SetNoRings(Int_t value) { fNoRings=value; } virtual void SetNoRows(Int_t value) { fNoRows=value; } ClassDef(BrMultParameters,1) // ABC for SMA/TMA parameters }; #endif //____________________________________________________________________ // // $Log: BrMultParameters.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:01 hagel // Initial revision of brat2 // // Revision 1.1 2001/05/31 01:44:32 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. // //