]>
Commit | Line | Data |
---|---|---|
6ca40650 | 1 | #ifndef START_H |
2 | #define START_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6ca40650 | 6 | //////////////////////////////////////////////// |
7 | // Manager and hits classes for set:START // | |
8 | //////////////////////////////////////////////// | |
9 | ||
10 | #include "AliDetector.h" | |
11 | #include "AliHit.h" | |
971579f6 | 12 | #include "TNamed.h" |
13 | #include "TTree.h" | |
14 | class TDirectory; | |
15 | R__EXTERN TDirectory * gDirectory; | |
16 | ||
6ca40650 | 17 | |
18 | ||
19 | class AliSTART : public AliDetector { | |
c345bb4f | 20 | |
6ca40650 | 21 | public: |
c345bb4f | 22 | Int_t fZposit; |
23 | ||
24 | ||
971579f6 | 25 | public: |
c345bb4f | 26 | AliSTART(); |
27 | AliSTART(const char *name, const char *title); | |
28 | virtual ~AliSTART() {} | |
29 | virtual void AddHit(Int_t, Int_t*, Float_t*); | |
30 | virtual void AddDigit(Int_t*, Int_t*); | |
31 | virtual void BuildGeometry(); | |
32 | virtual void CreateGeometry(){} | |
33 | virtual void CreateMaterials(){} | |
34 | virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | |
35 | virtual void DrawDetector(){} | |
36 | virtual Int_t IsVersion()const {return 0;} | |
37 | virtual void Init(); | |
38 | void Hit2digit(Int_t iEventNum); | |
39 | void Hit2digit(){return;} | |
40 | virtual void MakeBranch(Option_t *opt=" "); | |
41 | virtual void StepManager(){} | |
bc46b572 | 42 | /* |
c345bb4f | 43 | TTree *fTreeD; //tree |
44 | TTree * GetTree() { return fTreeD;}//return reference to actual tree | |
45 | Bool_t SetTree(Int_t nevent=0, TDirectory *dir = gDirectory);//map tree from given directory | |
46 | Bool_t MakeTree(Int_t nevent=0);//map tree from given directory | |
47 | */ | |
48 | ||
49 | // void Fill(); | |
50 | // void Write(); | |
51 | ||
971579f6 | 52 | protected: |
c345bb4f | 53 | Int_t fIdSens; // Sensetive Cherenkov radiator |
54 | ClassDef(AliSTART,1) //Base class for the T0 aka START detector | |
6ca40650 | 55 | }; |
56 | ||
c345bb4f | 57 | //_____________________________________________________________________________ |
58 | ||
6ca40650 | 59 | #endif |
c345bb4f | 60 | |
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 |