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
22class PValues : public TObject {
23
24public:
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
36protected:
39
41
42 ClassDef(PValues, 0) // User value container
43};
44
45#endif
#define MAX_VALUES
Definition PValues.h:12
double array_val[MAX_VALUES]
Definition PValues.h:38
int array_id[MAX_VALUES]
Definition PValues.h:37
void Print(const Option_t *) const
Definition PValues.cxx:74
int StringToValueID(char *st)
Definition PValues.cxx:66
bool SetValue(int id, double val)
Definition PValues.cxx:36
int pointer
Definition PValues.h:40
bool GetValue(int id, double *val)
Definition PValues.cxx:55
PValues()
Definition PValues.cxx:21