PandaRoot
PndRestGas Class Reference

#include <PndRestGas.h>

Public Member Functions

 PndRestGas ()
 
 PndRestGas (char DDFname[80])
 
 PndRestGas (char DDFname[80], Double_t zmin, Double_t zmax)
 
virtual ~PndRestGas ()
 
void LoadDD (char DDfname[80])
 
void SetzRange (Double_t zmin, Double_t zmax)
 
TF1 * GetDDFun ()
 

Detailed Description

PndRestGas.h

Author
P.Buehler paul..nosp@m.bueh.nosp@m.ler@o.nosp@m.eaw..nosp@m.ac.at

The PndRestGas provides tools to simulate the distribution of the rest gas (DD: Density Distribution) in the beam tube.

Definition at line 19 of file PndRestGas.h.

Constructor & Destructor Documentation

◆ PndRestGas() [1/3]

PndRestGas::PndRestGas ( )

Default constructor (should not be used)

◆ PndRestGas() [2/3]

PndRestGas::PndRestGas ( char  DDFname[80])

Standard constructor DDFname: a file name zmin/zmax: minimum/maximum extension of gas distribution along z-axis

◆ PndRestGas() [3/3]

PndRestGas::PndRestGas ( char  DDFname[80],
Double_t  zmin,
Double_t  zmax 
)

◆ ~PndRestGas()

virtual PndRestGas::~PndRestGas ( )
virtual

Destructor

Member Function Documentation

◆ GetDDFun()

TF1* PndRestGas::GetDDFun ( )
inline

Definition at line 47 of file PndRestGas.h.

47 { return fDensityFun; }

◆ LoadDD()

void PndRestGas::LoadDD ( char  DDfname[80])

methods LoadDD: read data from file and create DD function SetzRange: set range of zvalues GetDDFun: get the DD function

◆ SetzRange()

void PndRestGas::SetzRange ( Double_t  zmin,
Double_t  zmax 
)
inline

Definition at line 42 of file PndRestGas.h.

43  {
44  fzmin = zmin;
45  fzmax = zmax;
46  }

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