Measured field map as objects of type AliMagFCheb (R. Shahoyan)
[u/mrichter/AliRoot.git] / T0 / AliT0Digitizer.h
CommitLineData
dc7ca31d 1#ifndef ALIT0DIGITIZER_H
2#define ALIT0DIGITIZER_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#include <AliLoader.h>
8#include <AliRunLoader.h>
9
10#include <AliRunDigitizer.h>
11class AliT0;
12class AliT0hit;
13class AliT0digit;
14
15class AliT0Digitizer : public AliDigitizer {
16 public:
17
18 AliT0Digitizer();
19 AliT0Digitizer(AliRunDigitizer * manager);
20 virtual ~AliT0Digitizer();
21 virtual Bool_t Init();
22 TClonesArray *Hits() const {return fHits;}
23 TArrayI *timeCFD() {return ftimeCFD;}
24 TArrayI *timeLED() {return ftimeLED;}
25 TArrayI * ADC() {return fADC;}
26 TArrayI * ADC0() {return fADC0;}
27
28 // Do the main work
29 void Exec (Option_t* /*option=0*/) ;
c41ceaac 30 // Bool_t RegisterPhotoE(Int_t impt, Double_t energy);
dc7ca31d 31 enum {kBgTag = -1};
32
33private:
34
35 AliT0 *fT0; //!
36 TClonesArray *fHits ; //! List of hits
37 AliT0digit *fdigits ; //! digits
38 TArrayI *ftimeCFD ; //! array of CFD signal
39 TArrayI *ftimeLED ; //! array of (LED-GFD) time (amplitude)
40 TArrayI *fADC ;//! array of QTC signals (main amplitude)
41 TArrayI *fADC0 ;//! array of QTC signals (main amplitude)
42 Int_t fSumMult; // multiplicity
43 TObjArray fEffPMT; //pmt registration effeicincy
44
45 AliT0Digitizer(const AliT0Digitizer&);
46 AliT0Digitizer& operator=(const AliT0Digitizer);
47
48
49 ClassDef(AliT0Digitizer,1)
50};
51
52typedef AliT0Digitizer AliSTARTDigitizer; // for backward compatibility
53
54#endif
55