Updated digitzer code (Mario)
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEDigitizer.h
CommitLineData
19f796ed 1#ifndef ALIACORDEDigitizer_H
2#define ALIACORDEDigitizer_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6///_________________________________________________________________________
7///
8/// Class for making Digits in ACORDE
9///_________________________________________________________________________
10
11
12// --- Standard library ---
13
14// --- AliRoot header files ---
15
16#include "AliDigitizer.h"
17
18class TClonesArray;
19class AliRunDigitizer;
20class AliCDBManager;
21class AliCDBStorage;
22class AliACORDECalibData;
23
24class AliACORDEDigitizer: public AliDigitizer {
25
26 public:
27
28 AliACORDEDigitizer() ; // constructor
29 AliACORDEDigitizer(AliRunDigitizer *manager);// constructor
30 virtual ~AliACORDEDigitizer() ; // destructor
31
32 virtual Bool_t Init();
33 virtual void Exec(Option_t* option=0);
34
35 void AddDigit(Int_t* track, Int_t module, Float_t time);
27172603 36 void AddDigit(Int_t* modul, Float_t time);
19f796ed 37 void ResetDigit();
38
39 AliACORDECalibData *GetCalibData() const;
40
41 protected:
42
43 AliACORDECalibData *fCalibData; //! calibration data
44
45 private:
46
47 AliACORDEDigitizer(const AliACORDEDigitizer& /*digitizer*/);
48
49 AliACORDEDigitizer& operator = (const AliACORDEDigitizer& /*digitizer*/);
50
51
52 Int_t fNdigits; //! Number of digits
53 TClonesArray *fDigits; //! List of digits
54
55 ClassDef(AliACORDEDigitizer,1) // digitizer for ACORDE
56
57};
58
59#endif // AliACORDEDigitizer_H