CbmRoot
Loading...
Searching...
No Matches
PValues.h
Go to the documentation of this file.
1
/* Copyright (C) 2007-2019 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: I. Froehlich, Florian Uhlig [committer] */
4
5
// PValues Class Header
6
7
#ifndef _PVALUES_H_
8
#define _PVALUES_H_
9
10
#include "TObject.h"
11
12
#define MAX_VALUES 10
13
14
#define T_MATRIX 1
15
#define U_MATRIX 2
16
#define TU_MATRIX 3
17
#define CHANNEL_POS 4
18
19
#define IS_BREAKUP 10
20
#define P_SCATTER 11
21
22
class
PValues
:
public
TObject {
23
24
public
:
25
PValues
();
26
27
PValues
(
const
PValues
& p);
28
29
30
void
Print
(
const
Option_t*)
const
;
31
bool
SetValue
(
int
id
,
double
val);
32
bool
GetValue
(
int
id
,
double
* val);
33
int
StringToValueID
(
char
* st);
34
35
36
protected
:
37
int
array_id
[
MAX_VALUES
];
38
double
array_val
[
MAX_VALUES
];
39
40
int
pointer
;
41
42
ClassDef(
PValues
, 0)
// User value container
43
};
44
45
#endif
MAX_VALUES
#define MAX_VALUES
Definition
PValues.h:12
PValues
Definition
PValues.h:22
PValues::array_val
double array_val[MAX_VALUES]
Definition
PValues.h:38
PValues::array_id
int array_id[MAX_VALUES]
Definition
PValues.h:37
PValues::Print
void Print(const Option_t *) const
Definition
PValues.cxx:74
PValues::StringToValueID
int StringToValueID(char *st)
Definition
PValues.cxx:66
PValues::SetValue
bool SetValue(int id, double val)
Definition
PValues.cxx:36
PValues::pointer
int pointer
Definition
PValues.h:40
PValues::GetValue
bool GetValue(int id, double *val)
Definition
PValues.cxx:55
PValues::PValues
PValues()
Definition
PValues.cxx:21
sim
transport
generators
pluto
PValues.h
Generated on Sun Dec 22 2024 23:04:19 for CbmRoot by
1.12.0