3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////
9 // Manager and hits classes for set:TRD version 1 //
10 ////////////////////////////////////////////////////////
12 // Energy spectrum of the delta-rays
13 Double_t Ermilova(Double_t *x, Double_t *par);
19 //_____________________________________________________________________________
20 class AliTRDv1 : public AliTRD {
25 AliTRDv1(const char *name, const char *title);
26 AliTRDv1(const AliTRDv1 &trd);
28 AliTRDv1 &operator=(const AliTRDv1 &trd);
30 virtual void Copy(AliTRDv1 &trd);
31 virtual void CreateGeometry();
32 virtual void CreateMaterials();
33 virtual Int_t IsVersion() const { return 1; };
34 virtual void StepManager();
37 void SetSensPlane(Int_t iplane = 0);
38 void SetSensChamber(Int_t ichamber = 0);
39 void SetSensSector(Int_t isector);
40 void SetSensSector(Int_t isector, Int_t nsector);
42 Int_t GetSensPlane() { return fSensPlane; };
43 Int_t GetSensChamber() { return fSensChamber; };
44 Int_t GetSensSector() { return fSensSector; };
45 Int_t GetSensSectorRange() { return fSensSectorRange; };
49 Int_t fIdSens; // Sensitive volume identifier
51 Int_t fIdChamber1; // Driftchamber volume identifier
52 Int_t fIdChamber2; // Driftchamber volume identifier
53 Int_t fIdChamber3; // Driftchamber volume identifier
55 Int_t fSensSelect; // Switch to select only parts of the detector
56 Int_t fSensPlane; // Sensitive detector plane
57 Int_t fSensChamber; // Sensitive detector chamber
58 Int_t fSensSector; // Sensitive detector sector
59 Int_t fSensSectorRange; // Sensitive detector range
63 virtual Double_t BetheBloch(Double_t bg);
65 TF1 *fDeltaE; // Energy distribution of the delta-electrons
67 ClassDef(AliTRDv1,1) // Transition Radiation Detector version 1 (slow simulator)