]>
Commit | Line | Data |
---|---|---|
c1c44db3 | 1 | #ifndef ALIFIT_H |
2 | #define ALIFIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //////////////////////////////////////////////// | |
7 | // Manager and hits classes for set: FIT | |
8 | // Alla.Maevskaya@cern.ch | |
9 | //////////////////////////////////////////////// | |
10 | ||
11 | #include <AliDetector.h> | |
12 | #include <TTree.h> | |
c1c44db3 | 13 | #include "AliFITDigit.h" |
14 | #include "AliFITHits.h" | |
15 | class TDirectory; | |
16 | class TFile; | |
17 | class AliFIT: public AliDetector { | |
18 | ||
19 | public: | |
20 | AliFIT(); | |
21 | AliFIT(const char *name, const char *title); | |
22 | virtual ~AliFIT(); | |
23 | virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits); | |
24 | // virtual void CreateGeometry() {}; | |
25 | // virtual void CreateMaterials() {}; | |
26 | void AddDigit(Int_t npmt, | |
27 | Int_t timeCFD, Int_t timeLED, Int_t timeQT0, Int_t timeQT1, Int_t *labels) ; | |
292cfeb6 | 28 | virtual void AddDigit(Int_t*, Int_t*) {}; |
c1c44db3 | 29 | virtual Int_t IsVersion()const {return 0;} |
30 | virtual void Init(); | |
31 | // virtual void DefineOpticalProperties() {}; | |
32 | virtual void MakeBranch(Option_t *opt=" "); | |
33 | virtual void SetHitsAddressBranch(TBranch *b1) | |
34 | {b1->SetAddress(&fHits);} | |
35 | virtual void StepManager() {}; | |
292cfeb6 | 36 | virtual void ResetHits(); |
c1c44db3 | 37 | virtual void ResetDigits(); |
38 | virtual void SetTreeAddress(); | |
39 | virtual AliDigitizer* CreateDigitizer(AliDigitizationInput* digInput) const; | |
40 | virtual void Digits2Raw (); | |
41 | virtual void Raw2Digits (AliRawReader *reader,TTree* digitsTree); | |
42 | ||
43 | virtual void Raw2Digits() {} | |
44 | protected: | |
45 | Int_t fIdSens; // Sensetive Cherenkov photocathode | |
46 | // AliFITDigit *fDigits; // pointer to T0digits | |
47 | ||
48 | private: | |
49 | AliFIT(const AliFIT&); | |
50 | AliFIT& operator=(const AliFIT&); | |
51 | ||
52 | ClassDef(AliFIT,1) //Base class for the FIT detector | |
53 | }; | |
54 | ||
55 | ||
56 | //_____________________________________________________________________________ | |
57 | ||
58 | #endif | |
59 | ||
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 |