BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDetectorParamsBase


class description - source file - inheritance tree

class BrDetectorParamsBase : public TNamed


    public:
virtual void ~BrDetectorParamsBase() static TClass* Class() virtual TClass* IsA() const virtual void ListParameters() const virtual void ReadASCIIFile(Char_t* ASCIIFileName) virtual void SetASCIIParameters(Char_t* line) virtual void SetDefaultParams() virtual void SetVerbose(Bool_t verbose) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Bool_t fVerbose


See also

BrChkvParameters, BrDetectorParamsBB, BrDetectorParamsDC, BrDetectorParamsTPC, BrDetectorParamsTof, BrMultParameters

Class Description

 BrDetectorParamsBase is a BRAHMS base data class for detector
 parameter classes.
 The baseclass opens file, while interpreting the lines
 is done in the derived classes
 This is implemented by pure virtual functions



~BrDetectorParamsBase()

void ListParameters() const

void ReadASCIIFile(Char_t *ASCIIFileName)
 Read parameters in using an ascii configuration file.  The format
 of this file is:
  TYPE:BrDetectorParamsDC
  NAME:T3
  fTwoPar:  0.20
  fEff:     0.95
  fDriftv:0.0052
  fPldis:1.0
  fNplane:8
  fPosres:.025
  DCPlane: xa00 xa00 0 1.0 0.
  DCPlane: xa01 xa01 1 1.0 0.
  DCPlane: ya00 ya00 0 1.0 -90.
  DCPlane: ya01 ya00 1 1.0 -90.
  DCPlane: ua00 ua00 0 1.0 30.
  DCPlane: ua01 ua01 1 1.0 30.
  DCPlane: va00 va00 0 1.0 -30.
  DCPlane: va01 va01 1 1.0 -30.
 This method should probably go into some kind of base class.  The
 only thing that is detector specific is SetASCIIParameters()
 which is called from here.  The rest is general and too
 complicated to be always messing around with when changing
 configuration of parameters.



Inline Functions


               void SetDefaultParams()
               void SetVerbose(Bool_t verbose)
               void SetASCIIParameters(Char_t* line)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)

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:19 2002 by

Validate HTML
Validate CSS