]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDv1.h
Remove Process_t
[u/mrichter/AliRoot.git] / TRD / AliTRDv1.h
CommitLineData
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
fe4da5cc 8////////////////////////////////////////////////////////
9// Manager and hits classes for set:TRD version 1 //
10////////////////////////////////////////////////////////
5c7f4665 11
12// Energy spectrum of the delta-rays
13Double_t Ermilova(Double_t *x, Double_t *par);
851d3db9 14
851d3db9 15#include "AliTRD.h"
5c7f4665 16
793ff80c 17class TF1;
18
19class AliTRDsim;
20
851d3db9 21//_____________________________________________________________________________
fe4da5cc 22class AliTRDv1 : public AliTRD {
23
851d3db9 24 public:
25
8230f242 26 AliTRDv1();
fe4da5cc 27 AliTRDv1(const char *name, const char *title);
dd9a6ee3 28 AliTRDv1(const AliTRDv1 &trd);
8230f242 29 virtual ~AliTRDv1();
dd9a6ee3 30 AliTRDv1 &operator=(const AliTRDv1 &trd);
8230f242 31
793ff80c 32 virtual void Copy(TObject &trd);
33 virtual void CreateGeometry();
34 virtual void CreateMaterials();
35 virtual void CreateTRhit(Int_t det);
36 virtual Int_t IsVersion() const { return 1; };
37 virtual void StepManager();
38 virtual void Init();
851d3db9 39
793ff80c 40 void SetSensPlane(Int_t iplane = 0);
41 void SetSensChamber(Int_t ichamber = 0);
42 void SetSensSector(Int_t isector);
43 void SetSensSector(Int_t isector, Int_t nsector);
851d3db9 44
793ff80c 45 AliTRDsim *CreateTR();
46
47 Int_t GetSensPlane() const { return fSensPlane; };
48 Int_t GetSensChamber() const { return fSensChamber; };
49 Int_t GetSensSector() const { return fSensSector; };
50 Int_t GetSensSectorRange() const { return fSensSectorRange; };
51
52 AliTRDsim *GetTR() const { return fTR; };
851d3db9 53
54 protected:
55
5c7f4665 56 Int_t fIdSens; // Sensitive volume identifier
57
58 Int_t fIdChamber1; // Driftchamber volume identifier
8230f242 59 Int_t fIdChamber2; // Driftchamber volume identifier
60 Int_t fIdChamber3; // Driftchamber volume identifier
5c7f4665 61
62 Int_t fSensSelect; // Switch to select only parts of the detector
63 Int_t fSensPlane; // Sensitive detector plane
64 Int_t fSensChamber; // Sensitive detector chamber
9d0b222b 65 Int_t fSensSector; // Sensitive detector sector
66 Int_t fSensSectorRange; // Sensitive detector range
5c7f4665 67
793ff80c 68 AliTRDsim *fTR; // TR simulator
69
851d3db9 70 private:
82bbf98a 71
5c7f4665 72 virtual Double_t BetheBloch(Double_t bg);
82bbf98a 73
5c7f4665 74 TF1 *fDeltaE; // Energy distribution of the delta-electrons
75
76 ClassDef(AliTRDv1,1) // Transition Radiation Detector version 1 (slow simulator)
82bbf98a 77
fe4da5cc 78};
79
80#endif