Update TRD code from C.Blume
[u/mrichter/AliRoot.git] / TRD / AliTRDsim.h
CommitLineData
99d5402e 1#ifndef AliTRDsim_H
2#define AliTRDsim_H
3
4#include "TObject.h"
5
6class AliTRDsim : public TObject {
7private:
8 Int_t fNj; // Number of channel of the histogram
9 Float_t fU, fL, fBin;
10 Double_t fRo1, fRo2, fOmega1, fOmega2;
11 Int_t fIrst;
12
13public:
14 AliTRDsim();
15 virtual ~AliTRDsim() {}
16 virtual void trd_sim();
17 virtual void xtr(Double_t gamma, Double_t omega1, Double_t omega2,
18 Float_t *sigmaRad, Int_t &np, Float_t *trEn);
19 virtual Float_t fsigmaRad(Int_t ifl, Int_t ig, Float_t o);
20 virtual Int_t locate(Double_t *xv, Int_t n, Double_t xval,
21 Int_t &kl, Double_t &dx);
22 virtual Float_t hisran(Float_t *y, Int_t n, Float_t xlo, Float_t xwid);
23
24
25 ClassDef(AliTRDsim,1) //Base class for all Alice hits
26};
27#endif