]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDv1.h
- TrackReference related methods and data members moved from AliDetector to AliModule
[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 fSensSelect; // Switch to select only parts of the detector
57 Int_t fSensPlane; // Sensitive detector plane
58 Int_t fSensChamber; // Sensitive detector chamber
9d0b222b 59 Int_t fSensSector; // Sensitive detector sector
60 Int_t fSensSectorRange; // Sensitive detector range
5c7f4665 61
793ff80c 62 AliTRDsim *fTR; // TR simulator
63
851d3db9 64 private:
82bbf98a 65
5c7f4665 66 virtual Double_t BetheBloch(Double_t bg);
82bbf98a 67
5c7f4665 68 TF1 *fDeltaE; // Energy distribution of the delta-electrons
69
332e9569 70 ClassDef(AliTRDv1,2) // Transition Radiation Detector version 1 (slow simulator)
82bbf98a 71
fe4da5cc 72};
73
74#endif