#ifndef _BRDETECTORPARAMSTOF_H #define _BRDETECTORPARAMSTOF_H /////////////////////////////////////////////////////////////////////// // // // BrDetectorParamsTof // // // // Parameters describing the physical properties of the TOF slats.// // Some of these are presently simulation parameters others are // // relevant to both simulations and reconstruction. // // // /////////////////////////////////////////////////////////////////////// #include "TObject.h" class BrDetectorParamsTof : public TObject{ public: BrDetectorParamsTof(); BrDetectorParamsTof(Char_t *name,Char_t *title); virtual ~BrDetectorParamsTof(); void ListParameters() const; void SetDefaultParams(); virtual Float_t GetADCGainUp() const {return fADCGainUp;} virtual Float_t GetADCGainDown()const {return fADCGainDown;} virtual Float_t GetTimeConversion()const {return fTimeConversion;} virtual Float_t GetSigmaTime() const {return fSigmaTime;} virtual Float_t GetSigmaAdc() const {return fSigmaAdc;} virtual Int_t GetNoSlats() const {return fNoSlats;} virtual Float_t GetTdcConv() const {return fTdcConv;} virtual Float_t GetTdcOffset() const {return fTdcOffset;} virtual Float_t GetScintLength() const{ return fScintLength;} virtual Float_t GetMeVperMIP() const{ return fMeVperMIP;} virtual Float_t GetSignalSpeed() const{ return fSignalSpeed;} virtual Float_t GetAttLength() const{ return fAttLength;} virtual void SetADCGainUp(const Float_t adc){fADCGainUp = adc;} private: Float_t fADCGainUp; // Gain of Tube + ADC. (up tubes) Float_t fADCGainDown; // Gain of Tube + ADC. (down tube) Float_t fTimeConversion; // light propagation speed. psec per cm. Float_t fSigmaTime; // Intrinsic time-resolution Float_t fSigmaAdc; // Intrinsic pulse height resolution Int_t fNoSlats; // Number of slats in Tof Wall Float_t fTdcConv; // pico seconds per channel Float_t fTdcOffset; // Channel number for t0 Float_t fMeVperMIP; // Normalisation Constant Float_t fAttLength; // attenuation length for material (cm) Float_t fScintLength; // lenght of active scintillator (cm). Float_t fSignalSpeed; // Propagation time of pulse in scint. public: ClassDef(BrDetectorParamsTof,1) // BRAHMS detector volume class }; #endif