]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDsim.h
75a76a53a1bbb87eb869cec1ef44e7c3d647efa5
[u/mrichter/AliRoot.git] / TRD / AliTRDsim.h
1 #ifndef AliTRDsim_H
2 #define AliTRDsim_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include "TObject.h"
9
10 class AliTRDsim : public TObject {
11 private:
12   Int_t fNj;            // Number of channel of the histogram
13   Float_t fU, fL, fBin;
14   Double_t fRo1, fRo2, fOmega1, fOmega2;
15   Int_t fIrst;
16
17 public:
18   AliTRDsim();
19   virtual ~AliTRDsim() {}
20   virtual void trd_sim();
21   virtual void xtr(Double_t gamma, Double_t omega1, Double_t omega2,
22                     Float_t *sigmaRad, Int_t &np, Float_t *trEn);
23   virtual Float_t fsigmaRad(Int_t ifl, Int_t ig, Float_t o);
24   virtual Int_t locate(Double_t *xv, Int_t n, Double_t xval, 
25                        Int_t &kl, Double_t &dx);
26   virtual Float_t hisran(Float_t *y, Int_t n, Float_t xlo, Float_t xwid);
27
28   
29   ClassDef(AliTRDsim,1)  //Base class for all Alice hits
30 };
31 #endif