This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / ITS / AliITS.h
CommitLineData
fe4da5cc 1#ifndef ITS_H
2#define ITS_H
3////////////////////////////////////////////////
4// Manager and hits classes for set: ITS //
5////////////////////////////////////////////////
6
7#include "AliDetector.h"
8#include "AliHit.h"
9#include "AliDigit.h"
10
11class AliITS : public AliDetector {
12
13protected:
14
15 Bool_t fEuclidOut;
16
17 Int_t fIdSens1; //First layer identifier
18 Int_t fIdSens2; //Second layer identifier
19 Int_t fIdSens3; //Third layer identifier
20 Int_t fIdSens4; //Fourth layer identifier
21 Int_t fIdSens5; //Fifth layer identifier
22 Int_t fIdSens6; //Sixth layer identifier
23
24public:
25 AliITS();
26 AliITS(const char *name, const char *title);
27 virtual ~AliITS();
28 virtual void AddHit(Int_t, Int_t*, Float_t*);
29 virtual void AddDigit(Int_t*, Int_t*);
30 virtual void BuildGeometry();
31 virtual void CreateGeometry() {}
32 virtual void CreateMaterials();
33 virtual Int_t IsVersion() const =0;
34 Int_t DistancetoPrimitive(Int_t px, Int_t py);
35 virtual void Init();
36 virtual void MakeBranch(Option_t *opt=" ");
37 virtual void SetEUCLID(Bool_t euclid=1);
38 virtual void StepManager()=0;
39
40 ClassDef(AliITS,1) //Hits manager for set:ITS
41};
42
43
44//___________________________________________
45class AliITSdigit: public AliDigit {
46public:
47 Int_t fEvent; // Event number
48 Int_t fLayer; // Layer number
49 Int_t fDet ; // Detector number
50 Int_t fNoverl; // Number of overflow
51
52public:
53 AliITSdigit() {}
54 AliITSdigit(Int_t *tracks, Int_t *digits);
55 virtual ~AliITSdigit() {}
56
57 ClassDef(AliITSdigit,1) //Digit (Header) object for set:ITS
58};
59
60//___________________________________________
61
62class AliITShit : public AliHit {
63public:
64 Int_t fLayer; // Layer number
65 Int_t fLadder; // Ladder number
66 Int_t fDet; // Detector number
67 Float_t fPx ; //PX
68 Float_t fPy ; //PY
69 Float_t fPz ; //PZ
70 Float_t fDestep; // Energy deposited in the current step
71public:
72 AliITShit() {}
73 AliITShit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
74 virtual ~AliITShit() {}
75
76 ClassDef(AliITShit,1) //Hits object for set:ITS
77};
78
79#endif