3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////////////////////////
10 // Manager and hits classes for set: TRD version 1 //
12 ////////////////////////////////////////////////////////////////////////////
14 // Energy spectrum of the delta-rays
15 Double_t Ermilova(Double_t *x, Double_t *par);
16 Double_t IntSpecGeant(Double_t *x, Double_t *par);
26 //_____________________________________________________________________________
27 class AliTRDv1 : public AliTRD {
32 AliTRDv1(const char *name, const char *title);
36 virtual Int_t IsVersion() const { return 1; }
38 virtual void AddAlignableVolumes() const;
39 virtual void CreateGeometry();
40 virtual void CreateMaterials();
41 virtual void CreateTRhit(Int_t det);
43 virtual void StepManager();
45 void SetStepSize(Double_t s) { fStepSize = s; }
46 void SetTR(Bool_t) { fTRon = kTRUE; }
48 Bool_t GetTR() const { return fTRon; }
49 AliTRDsimTR *GetTRDsim() const { return fTR; }
53 Bool_t fTRon; // Switch for TR simulation
54 AliTRDsimTR *fTR; // TR simulator
56 Double_t fStepSize; // Used for the fixed step size
57 Float_t fWion; // Ionization potential
61 AliTRDv1(const AliTRDv1 &trd);
62 AliTRDv1 &operator=(const AliTRDv1 &trd);
64 ClassDef(AliTRDv1,8) // Transition Radiation Detector version 1 (slow simulator)