|
BrDetectorParamsBaseclass description - source file - inheritance tree class BrDetectorParamsBase : public TNamedpublic: Data Membersprotected: See also
Class DescriptionBrDetectorParamsBase 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 Functionsvoid 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>
|