Line data Source code
1 : #ifndef ALIPMDRAWTOSDIGITS_H
2 : #define ALIPMDRAWTOSDIGITS_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 : //-----------------------------------------------------//
6 : // //
7 : // Date : October 06 2006 //
8 : // //
9 : //-----------------------------------------------------//
10 :
11 :
12 : class TClonesArray;
13 : class TTree;
14 :
15 : class AliLoader;
16 : class AliRunLoader;
17 : class AliRawReader;
18 :
19 : class AliPMDsdigit;
20 : class AliPMDdigit;
21 :
22 : class AliPMDRawToSDigits : public TObject
23 : {
24 : public:
25 :
26 : AliPMDRawToSDigits();
27 : AliPMDRawToSDigits(const AliPMDRawToSDigits & /* pmdr2sd */); // copy constructor
28 : AliPMDRawToSDigits &operator=(const AliPMDRawToSDigits & /* pmdr2sd */); // assi op
29 : virtual ~AliPMDRawToSDigits();
30 :
31 : void Raw2SDigits(AliRunLoader *runLoader, AliRawReader *rawReader);
32 : void Raw2Digits(AliRunLoader *runLoader, AliRawReader *rawReader);
33 : void AdcToMeV(Int_t adc, Float_t &edep);
34 : void AddSDigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
35 : Int_t irow, Int_t icol, Float_t adc);
36 : void AddDigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
37 : Int_t irow, Int_t icol, Float_t adc);
38 :
39 : void ResetSDigit();
40 : void ResetDigit();
41 :
42 :
43 : protected:
44 : TClonesArray *fSDigits; //! List of digits
45 : TClonesArray *fDigits; //! List of digits
46 :
47 : Int_t fNsdigit; // Digits counter
48 : Int_t fNdigit; // Digits counter
49 :
50 12 : ClassDef(AliPMDRawToSDigits,1) // Coverts Raw to SDigits
51 : };
52 : #endif
53 :
|