]>
Commit | Line | Data |
---|---|---|
8230f242 | 1 | #ifndef ALITRDV1_H |
2 | #define ALITRDV1_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
030b4415 | 8 | //////////////////////////////////////////////////////////////////////////// |
9 | // // | |
10 | // Manager and hits classes for set: TRD version 1 // | |
11 | // // | |
12 | //////////////////////////////////////////////////////////////////////////// | |
5c7f4665 | 13 | |
14 | // Energy spectrum of the delta-rays | |
15 | Double_t Ermilova(Double_t *x, Double_t *par); | |
a328fff9 | 16 | Double_t IntSpecGeant(Double_t *x, Double_t *par); |
851d3db9 | 17 | |
851d3db9 | 18 | #include "AliTRD.h" |
5c7f4665 | 19 | |
793ff80c | 20 | class TF1; |
c4214bc0 | 21 | class TTree; |
22 | class TFile; | |
030b4415 | 23 | |
cb2f9e9b | 24 | class AliTRDsimTR; |
793ff80c | 25 | |
851d3db9 | 26 | //_____________________________________________________________________________ |
fe4da5cc | 27 | class AliTRDv1 : public AliTRD { |
28 | ||
851d3db9 | 29 | public: |
30 | ||
8230f242 | 31 | AliTRDv1(); |
fe4da5cc | 32 | AliTRDv1(const char *name, const char *title); |
8230f242 | 33 | virtual ~AliTRDv1(); |
34 | ||
030b4415 | 35 | virtual void Init(); |
36 | virtual Int_t IsVersion() const { return 1; } | |
37 | ||
f57bb418 | 38 | virtual void AddAlignableVolumes() const; |
030b4415 | 39 | virtual void CreateGeometry(); |
40 | virtual void CreateMaterials(); | |
41 | virtual void CreateTRhit(Int_t det); | |
851d3db9 | 42 | |
030b4415 | 43 | virtual void StepManager(); |
a328fff9 | 44 | |
030b4415 | 45 | void SetStepSize(Double_t s) { fStepSize = s; } |
1315812e | 46 | void SetTR(Bool_t tr) { fTRon = tr; } |
793ff80c | 47 | |
030b4415 | 48 | Bool_t GetTR() const { return fTRon; } |
cb2f9e9b | 49 | AliTRDsimTR *GetTRDsim() const { return fTR; } |
851d3db9 | 50 | |
51 | protected: | |
52 | ||
030b4415 | 53 | Bool_t fTRon; // Switch for TR simulation |
cb2f9e9b | 54 | AliTRDsimTR *fTR; // TR simulator |
793ff80c | 55 | |
030b4415 | 56 | Double_t fStepSize; // Used for the fixed step size |
c73e97bd | 57 | Float_t fWion; // Ionization potential |
a328fff9 | 58 | |
851d3db9 | 59 | private: |
f2979d08 | 60 | |
e939a978 | 61 | AliTRDv1(const AliTRDv1 &trd); |
62 | AliTRDv1 &operator=(const AliTRDv1 &trd); | |
82bbf98a | 63 | |
c73e97bd | 64 | ClassDef(AliTRDv1,8) // Transition Radiation Detector version 1 (slow simulator) |
82bbf98a | 65 | |
fe4da5cc | 66 | }; |
67 | ||
68 | #endif |