BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDetectorParamsTof


class description - source file - inheritance tree

class BrDetectorParamsTof : public BrDetectorParamsBase


    public:
BrDetectorParamsTof BrDetectorParamsTof() BrDetectorParamsTof BrDetectorParamsTof(Char_t* name, Char_t* title) BrDetectorParamsTof BrDetectorParamsTof(Char_t* name, Char_t* title, Char_t* asciifilename) BrDetectorParamsTof BrDetectorParamsTof(BrDetectorParamsTof&) virtual void ~BrDetectorParamsTof() static TClass* Class() virtual Float_t GetADCGainDown() const virtual Float_t GetADCGainUp() const virtual Float_t GetAttLength() const virtual Float_t GetMeVperMIP() const virtual Int_t GetNoPanels() const virtual Int_t GetNoSlats() const virtual Int_t GetPanel() const virtual Float_t GetScintLength() const virtual Float_t GetSigmaAdc() const virtual Float_t GetSigmaTime() const virtual Float_t GetSignalSpeed() const virtual Float_t GetSlatDepth() const virtual Float_t GetSlatHeight() const Int_t GetSlatNo(Float_t x) const BrVector3D GetSlatPos(Int_t slat) const virtual Float_t GetSlatWidth() const virtual Float_t GetTdcConv() const virtual Float_t GetTdcOffset() const virtual Float_t GetTimeConversion() const virtual Float_t GetTofDepth() const virtual Float_t GetTofWidth() const virtual TClass* IsA() const virtual void ListParameters() const virtual void SetADCGainDown(const Float_t adc) virtual void SetADCGainUp(const Float_t adc) virtual void SetASCIIParameters(Char_t* line) virtual void SetAttLength(const Float_t value) virtual void SetDefaultParams() virtual void SetfSigmaAdc(const Float_t value) virtual void SetMeVperMIP(const Float_t value) virtual void SetNoPanels(const Int_t npan) virtual void SetNoSlats(const Int_t nslat) virtual void SetPanel(const Int_t pan) virtual void SetScintLength(const Float_t value) virtual void SetSigmaTime(const Float_t value) virtual void SetSignalSpeed(const Float_t value) virtual void SetSlatDepth(const Float_t value) virtual void SetSlatHeight(const Float_t value) virtual void SetSlatWidth(const Float_t value) virtual void SetTdcConv(const Float_t value) virtual void SetTdcOffset(const Float_t value) virtual void SetTimeConversion(const Float_t value) virtual void SetTofDepth(const Float_t value) virtual void SetTofWidth(const Float_t value) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    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 Int_t fNoPanels Number of slats in Tof Wall Int_t fPanel panel index in MRS Tof Wall Float_t fSlatWidth Slat width (pitch in case of MRS) Float_t fSlatDepth slat depth (z axis) Float_t fTofWidth tof wall width (in x) Float_t fTofDepth tof wall depth (in z) 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. Bool_t fInFs ! flag to see of we're in FS or MRS

Class Description

 BrDetectorParamsTOF is a BRAHMS data class providing storage and
 access function for TOF specific digitasation parameters.
 This allows modification of the BrDetectorParams content by the
 user.

___________________________________________________________________________

  $Id: BrDetectorParamsTof.cxx,v 1.5 2001/11/05 08:28:36 ouerdane Exp $
  $Author: ouerdane $
  $Date: 2001/11/05 08:28:36 $


BrDetectorParamsTof()
 Constructor. Set counter and list data members to zero.
 Don't use this constructor unless you have to and know
 what you are doing
 Use BrDetectorParams(Char_t, Char_t ) instead

BrDetectorParamsTof(Char_t *name, Char_t *title) : BrDetectorParamsBase(name, title)
 Standard constructor.
 the name should be that of the associated detector e.g. "H1"

BrDetectorParamsTof(Char_t *name, Char_t *title, Char_t *filename) : BrDetectorParamsBase(name, title)
 Constructor which also reads parameters in from a configuration file
 the name should be that of the associated detector e.g. "H1"

~BrDetectorParamsTof()

void SetDefaultParams()
 Set a set of reasonable default parameters.
 This is mainly to ensure that the private members are
 initialized with values that do not give rise to any
 problems in the methods which uses these parameters;


void ListParameters() const

void SetASCIIParameters(Char_t *line)
Interpret a line for DC params.  Form is ParamName:value.  Eg
Eg fTwopar:.20 or fEff:  0.95

BrVector3D GetSlatPos(Int_t slat) const
 ----------------------------------------------------
 returns the slat position in the TOF coord. system
 meaning TOF1, TOF1, TFPn (0 < n < 7)
 (code stolen from brag)
 ----------------------------------------------------

Int_t GetSlatNo(Float_t x) const
 returns the slat number given an X position on the tof plane



Inline Functions


                    Float_t GetADCGainUp() const
                    Float_t GetADCGainDown() const
                    Float_t GetTimeConversion() const
                    Float_t GetSigmaTime() const
                    Float_t GetSigmaAdc() const
                      Int_t GetNoSlats() const
                      Int_t GetNoPanels() const
                      Int_t GetPanel() const
                    Float_t GetSlatWidth() const
                    Float_t GetSlatDepth() const
                    Float_t GetTofWidth() const
                    Float_t GetTofDepth() const
                    Float_t GetSlatHeight() const
                    Float_t GetTdcConv() const
                    Float_t GetTdcOffset() const
                    Float_t GetScintLength() const
                    Float_t GetMeVperMIP() const
                    Float_t GetSignalSpeed() const
                    Float_t GetAttLength() const
                       void SetADCGainUp(const Float_t adc)
                       void SetADCGainDown(const Float_t adc)
                       void SetNoSlats(const Int_t nslat)
                       void SetPanel(const Int_t pan)
                       void SetNoPanels(const Int_t npan)
                       void SetTimeConversion(const Float_t value)
                       void SetSigmaTime(const Float_t value)
                       void SetfSigmaAdc(const Float_t value)
                       void SetTdcConv(const Float_t value)
                       void SetTdcOffset(const Float_t value)
                       void SetMeVperMIP(const Float_t value)
                       void SetAttLength(const Float_t value)
                       void SetScintLength(const Float_t value)
                       void SetSignalSpeed(const Float_t value)
                       void SetTofWidth(const Float_t value)
                       void SetTofDepth(const Float_t value)
                       void SetSlatWidth(const Float_t value)
                       void SetSlatDepth(const Float_t value)
                       void SetSlatHeight(const Float_t value)
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
        BrDetectorParamsTof BrDetectorParamsTof(BrDetectorParamsTof&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on Wed Sep 11 04:51:22 2002 by

Validate HTML
Validate CSS