CbmRoot
PValues.h
Go to the documentation of this file.
1 // Author: I. Froehlich
2 // Written: 9.7.2007
3 // Revised:
4 // PValues Class Header
5 
6 #ifndef _PVALUES_H_
7 #define _PVALUES_H_
8 
9 #include "TObject.h"
10 
11 #define MAX_VALUES 10
12 
13 #define T_MATRIX 1
14 #define U_MATRIX 2
15 #define TU_MATRIX 3
16 #define CHANNEL_POS 4
17 
18 #define IS_BREAKUP 10
19 #define P_SCATTER 11
20 
21 class PValues : public TObject {
22 
23 public:
24  PValues();
25 
26  PValues(const PValues& p);
27 
28 
29  void Print(const Option_t*) const;
30  bool SetValue(int id, double val);
31  bool GetValue(int id, double* val);
32  int StringToValueID(char* st);
33 
34 
35 protected:
38 
39  int pointer;
40 
41  ClassDef(PValues, 0) // User value container
42 };
43 
44 #endif
PValues::Print
void Print(const Option_t *) const
Definition: PValues.cxx:63
PValues::array_val
double array_val[MAX_VALUES]
Definition: PValues.h:37
PValues::pointer
int pointer
Definition: PValues.h:39
PValues
Definition: PValues.h:21
PValues::StringToValueID
int StringToValueID(char *st)
Definition: PValues.cxx:56
PValues::GetValue
bool GetValue(int id, double *val)
Definition: PValues.cxx:46
PValues::array_id
int array_id[MAX_VALUES]
Definition: PValues.h:36
MAX_VALUES
#define MAX_VALUES
Definition: PValues.h:11
PValues::SetValue
bool SetValue(int id, double val)
Definition: PValues.cxx:28
PValues::PValues
PValues()
Definition: PValues.cxx:15