]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - START/AliSTARTDigitizer.h
STARTLoader for TObject Digits and RecPoints
[u/mrichter/AliRoot.git] / START / AliSTARTDigitizer.h
... / ...
CommitLineData
1#ifndef ALISTARTDIGITIZER_H
2#define ALISTARTDIGITIZER_H
3/* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6#include "AliDigitizer.h"
7
8class AliRunDigitizer;
9class AliSTART;
10class AliSTARThit;
11class AliSTARThitPhoton;
12class AliSTARTdigit;
13
14class AliSTARTDigitizer : public AliDigitizer {
15 public:
16
17 AliSTARTDigitizer();
18 AliSTARTDigitizer(AliRunDigitizer * manager);
19 virtual ~AliSTARTDigitizer();
20 virtual Bool_t Init();
21 TClonesArray *Hits() const {return fHits;}
22 TClonesArray *Photons() const {return fPhotons;}
23 // TArrayI *timeRightADC() {return ftimeRightADC;}
24 // TArrayI *timeLeftADC() {return ftimeLeftADC;}
25 // Do the main work
26 void Exec(Option_t* option=0) ;
27 Bool_t RegisterPhotoE(AliSTARThitPhoton *hit); //!!!
28
29 enum {kBgTag = -1};
30
31private:
32
33 AliSTART *START;
34 TClonesArray *fPhotons ; //!!!
35 TClonesArray *fHits ; // List of summable digits
36 AliSTARTdigit *fdigits ; // digits
37 TArrayI *ftimeRightTDC ;
38 TArrayI *ftimeLeftTDC ;
39 TArrayI *fRightADC ;
40 TArrayI *fLeftADC ;
41
42 ClassDef(AliSTARTDigitizer,0)
43};
44#endif
45