]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTARTDigitizer.h
new Digits structure
[u/mrichter/AliRoot.git] / START / AliSTARTDigitizer.h
CommitLineData
ede9aff7 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;
e73d68f2 11class AliSTARThitPhoton;
ede9aff7 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;}
e73d68f2 22 TClonesArray *Photons() const {return fPhotons;}
23 // TArrayI *timeRightADC() {return ftimeRightADC;}
24 // TArrayI *timeLeftADC() {return ftimeLeftADC;}
ede9aff7 25 // Do the main work
26 void Exec(Option_t* option=0) ;
e73d68f2 27 Bool_t RegisterPhotoE(AliSTARThitPhoton *hit); //!!!
ede9aff7 28
29 enum {kBgTag = -1};
30
31private:
32
33 AliSTART *START;
e73d68f2 34 TClonesArray *fPhotons ; //!!!
ede9aff7 35 TClonesArray *fHits ; // List of summable digits
36 AliSTARTdigit *fdigits ; // digits
e73d68f2 37 TArrayI *ftimeRightTDC ;
38 TArrayI *ftimeLeftTDC ;
39 TArrayI *fRightADC ;
40 TArrayI *fLeftADC ;
ede9aff7 41
42 ClassDef(AliSTARTDigitizer,0)
43};
44#endif
45