CbmRoot
PValues Class Reference

#include <PValues.h>

Inheritance diagram for PValues:
[legend]
Collaboration diagram for PValues:
[legend]

Public Member Functions

 PValues ()
 
 PValues (const PValues &p)
 
void Print (const Option_t *) const
 
bool SetValue (int id, double val)
 
bool GetValue (int id, double *val)
 
int StringToValueID (char *st)
 

Protected Attributes

int array_id [MAX_VALUES]
 
double array_val [MAX_VALUES]
 
int pointer
 

Detailed Description

Definition at line 21 of file PValues.h.

Constructor & Destructor Documentation

◆ PValues() [1/2]

PValues::PValues ( )

Definition at line 15 of file PValues.cxx.

◆ PValues() [2/2]

PValues::PValues ( const PValues p)

Definition at line 19 of file PValues.cxx.

References pointer.

Member Function Documentation

◆ GetValue()

bool PValues::GetValue ( int  id,
double *  val 
)

Definition at line 46 of file PValues.cxx.

References array_id, array_val, i, and pointer.

◆ Print()

void PValues::Print ( const Option_t *  ) const

Definition at line 63 of file PValues.cxx.

References array_id, array_val, i, and pointer.

◆ SetValue()

bool PValues::SetValue ( int  id,
double  val 
)

Definition at line 28 of file PValues.cxx.

References array_id, array_val, i, MAX_VALUES, and pointer.

◆ StringToValueID()

int PValues::StringToValueID ( char *  st)

Definition at line 56 of file PValues.cxx.

References T_MATRIX, TU_MATRIX, and U_MATRIX.

Member Data Documentation

◆ array_id

int PValues::array_id[MAX_VALUES]
protected

Definition at line 36 of file PValues.h.

Referenced by GetValue(), Print(), and SetValue().

◆ array_val

double PValues::array_val[MAX_VALUES]
protected

Definition at line 37 of file PValues.h.

Referenced by GetValue(), Print(), and SetValue().

◆ pointer

int PValues::pointer
protected

Definition at line 39 of file PValues.h.

Referenced by GetValue(), Print(), PValues(), and SetValue().


The documentation for this class was generated from the following files: