Changing the task and store some variable in a tree. Addtask changed accordingly
[u/mrichter/AliRoot.git] / FIT / AliFIT.h
CommitLineData
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>
13#include "AliFIT.h"
14#include "AliFITDigit.h"
15#include "AliFITHits.h"
16class TDirectory;
17class TFile;
18class AliFIT: public AliDetector {
19
20 public:
21 AliFIT();
22 AliFIT(const char *name, const char *title);
23 virtual ~AliFIT();
24 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
25 // virtual void CreateGeometry() {};
26 // virtual void CreateMaterials() {};
27 void AddDigit(Int_t npmt,
28 Int_t timeCFD, Int_t timeLED, Int_t timeQT0, Int_t timeQT1, Int_t *labels) ;
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() {};
36 virtual void ResetHits();
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