FairRoot/PandaRoot
PndRestGas.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndRestGas header file -----
3 // ----- Created 14/12/09 by P.Buehler -----
4 // -------------------------------------------------------------------------
5 
13 #ifndef PND_RESTGAS_H
14 #define PND_RESTGAS_H
15 
16 #include "TF1.h"
17 #include "TGraph.h"
18 
20 {
21 
22 // ------------------------------------------------------------------------
23  public:
24 
26  PndRestGas();
27 
32  PndRestGas(char DDFname[80]);
33  PndRestGas(char DDFname[80], Double_t zmin, Double_t zmax);
34 
36  virtual ~PndRestGas();
37 
43  void LoadDD(char DDfname[80]);
44  void SetzRange(Double_t zmin, Double_t zmax) {
45  fzmin = zmin;
46  fzmax = zmax;
47  }
48  TF1* GetDDFun() {
49  return fDensityFun;
50  }
51 
52 // ------------------------------------------------------------------------
53  private:
54 
58  Float_t** ReadDD(char DDFname[80], Int_t* npoints,
59  Double_t* zmin, Double_t* zmax);
60 
67  Float_t** fDDvals;
69 
70 // ------------------------------------------------------------------------
71 
73 
74 };
75 
76 #endif
virtual ~PndRestGas()
Definition: PndRestGas.cxx:39
Float_t ** fDDvals
Definition: PndRestGas.h:67
Double_t fzmax
Definition: PndRestGas.h:66
Double_t
void LoadDD(char DDfname[80])
Definition: PndRestGas.cxx:56
ClassDef(PndRestGas, 1)
Float_t ** ReadDD(char DDFname[80], Int_t *npoints, Double_t *zmin, Double_t *zmax)
Definition: PndRestGas.cxx:74
void SetzRange(Double_t zmin, Double_t zmax)
Definition: PndRestGas.h:44
TF1 * fDensityFun
Definition: PndRestGas.h:68
TF1 * GetDDFun()
Definition: PndRestGas.h:48
Double_t fzmin
Definition: PndRestGas.h:66