CbmRoot
PMesh Class Reference

#include <PMesh.h>

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

Public Member Functions

 PMesh (Int_t size, const Char_t *name)
 
 ~PMesh ()
 
Int_t GetSize (void)
 
void SetMax (Double_t pmax)
 
void SetMin (Double_t pmin)
 
Double_t GetMax (void)
 
Double_t GetMin (void)
 
void SetNode (Int_t node, Double_t v)
 
Double_t GetNode (Int_t node)
 
Double_t GetLinearIP (Double_t m) const
 
void Print (const Option_t *) const
 
Double_t Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
 
Double_t EvalPar (const Double_t *x, const Double_t *params)
 

Private Attributes

Double_t * td
 
Double_t max
 
Double_t min
 
Int_t size
 

Detailed Description

Definition at line 13 of file PMesh.h.

Constructor & Destructor Documentation

◆ PMesh()

PMesh::PMesh ( Int_t  size,
const Char_t *  name 
)

Definition at line 22 of file PMesh.cxx.

References max, min, size, and td.

◆ ~PMesh()

PMesh::~PMesh ( )

Definition at line 51 of file PMesh.cxx.

References td.

Member Function Documentation

◆ Eval()

Double_t PMesh::Eval ( Double_t  x,
Double_t  y = 0,
Double_t  z = 0,
Double_t  t = 0 
) const

Definition at line 60 of file PMesh.cxx.

References GetLinearIP(), and x.

Referenced by EvalPar().

◆ EvalPar()

Double_t PMesh::EvalPar ( const Double_t *  x,
const Double_t *  params 
)

Definition at line 55 of file PMesh.cxx.

References Eval(), and x.

◆ GetLinearIP()

Double_t PMesh::GetLinearIP ( Double_t  m) const

Definition at line 81 of file PMesh.cxx.

References m, max, min, size, and td.

Referenced by Eval().

◆ GetMax()

Double_t PMesh::GetMax ( void  )
inline

Definition at line 34 of file PMesh.h.

References max.

◆ GetMin()

Double_t PMesh::GetMin ( void  )
inline

Definition at line 35 of file PMesh.h.

References min.

◆ GetNode()

Double_t PMesh::GetNode ( Int_t  node)

Definition at line 69 of file PMesh.cxx.

References size, and td.

◆ GetSize()

Int_t PMesh::GetSize ( void  )
inline

Definition at line 25 of file PMesh.h.

References size.

◆ Print()

void PMesh::Print ( const Option_t *  ) const

Definition at line 74 of file PMesh.cxx.

References max, min, and size.

◆ SetMax()

void PMesh::SetMax ( Double_t  pmax)
inline

Definition at line 26 of file PMesh.h.

References max.

◆ SetMin()

void PMesh::SetMin ( Double_t  pmin)
inline

Definition at line 30 of file PMesh.h.

References min.

◆ SetNode()

void PMesh::SetNode ( Int_t  node,
Double_t  v 
)

Definition at line 64 of file PMesh.cxx.

References size, td, and v.

Member Data Documentation

◆ max

Double_t PMesh::max
private

Definition at line 17 of file PMesh.h.

Referenced by GetLinearIP(), GetMax(), PMesh(), Print(), and SetMax().

◆ min

Double_t PMesh::min
private

Definition at line 17 of file PMesh.h.

Referenced by GetLinearIP(), GetMin(), PMesh(), Print(), and SetMin().

◆ size

Int_t PMesh::size
private

Definition at line 18 of file PMesh.h.

Referenced by GetLinearIP(), GetNode(), GetSize(), PMesh(), Print(), and SetNode().

◆ td

Double_t* PMesh::td
private

Definition at line 16 of file PMesh.h.

Referenced by GetLinearIP(), GetNode(), PMesh(), SetNode(), and ~PMesh().


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