GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4ExampleAdvanced
TXXXParameter.cxx
Go to the documentation of this file.
1
// $Id: TXXXParameter.cxx 487 2009-11-03 17:06:10Z goofy $
2
//-----------------------------------------------------------------------
3
// The GSI Online Offline Object Oriented (Go4) Project
4
// Experiment Data Processing at EE department, GSI
5
//-----------------------------------------------------------------------
6
// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7
// Planckstr. 1, 64291 Darmstadt, Germany
8
// Contact: http://go4.gsi.de
9
//-----------------------------------------------------------------------
10
// This software can be used under the license agreements as stated
11
// in Go4License.txt file which is part of the distribution.
12
//-----------------------------------------------------------------------
13
14
#include "
TXXXParameter.h
"
15
16
TXXXParameter::TXXXParameter
(
const
char
*name) :
17
TGo4Parameter
(name)
18
{
19
frP1 = 10;
20
frP2 = 20;
21
fiNum = -3;
22
fbEnab = kFALSE;
23
fdTest = 3.141592665;
24
fsTest = 6;
25
fcTest = 47;
26
flTest = 20;
27
fuNum = 42;
28
fuShort = 8;
29
fuChar = 9;
30
fuLong = 10;
31
fxInputfile =
"testdata.lmd"
;
32
for
(Int_t ix = 0; ix <
__ARRAYSIZE__
; ++ix)
33
fiDataArray[ix] = ix + 30;
34
for
(Int_t u = 0; u <
__MEVX__
; ++u)
35
for
(Int_t v = 0; v <
__MEVY__
; ++v)
36
fdMeV[u][v] = (u + v) * 1.537;
37
for
(Int_t x = 0; x <
__MEVX__
; ++x)
38
fdTestarr[x] = x * 3.1415;
39
}
TXXXParameter.h
__MEVY__
#define __MEVY__
Definition
TXXXParameter.h:21
__MEVX__
#define __MEVX__
Definition
TXXXParameter.h:20
__ARRAYSIZE__
#define __ARRAYSIZE__
Definition
TXXXParameter.h:19
TGo4Parameter
Base class for all parameter aggregations, e.g.
Definition
TGo4Parameter.h:29
TXXXParameter::TXXXParameter
TXXXParameter(const char *name=nullptr)
Definition
TXXXParameter.cxx:16
Generated by
1.13.2