]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDdigit.h
Coverity corrections.
[u/mrichter/AliRoot.git] / PMD / AliPMDdigit.h
1 #ifndef ALIPMDDIGIT_H
2 #define ALIPMDDIGIT_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   : August 05 2003                            //
8 //                                                     //
9 //  Store digits  for PMD                              //
10 //                                                     //
11 //-----------------------------------------------------//
12
13 #include "TObject.h"
14 class TClonesArray;
15
16 class AliPMDdigit : public TObject
17 {
18  public:
19   AliPMDdigit();
20   AliPMDdigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smnumber,
21               Int_t irow, Int_t icol, Float_t adc);
22   AliPMDdigit(AliPMDdigit *pmddigit);
23   AliPMDdigit (const AliPMDdigit &pmddigit);  // copy constructor
24   AliPMDdigit &operator=(const AliPMDdigit &pmddigit); // assignment op
25
26   virtual ~AliPMDdigit();
27
28   Int_t   GetTrackNumber() const;
29   Int_t   GetTrackPid() const;
30   Int_t   GetDetector() const;
31   Int_t   GetSMNumber() const;
32   Int_t   GetRow() const;
33   Int_t   GetColumn() const;
34   Float_t GetADC() const;
35
36  protected:
37   Int_t   fTrNumber;    // Parent Track number
38   Int_t   fTrPid;       // Parent Track pid
39   Int_t   fDet;         // Detecor Number (0:PRE, 1:CPV)
40   Int_t   fSMNumber;    // Serial Module Number
41   Int_t   fRow;         // Cell Row Number (0-47)
42   Int_t   fColumn;      // Cell Column Number (0-95)
43   Float_t fADC;         // Energy deposition(ADC) in a hexagonal cell
44   
45   ClassDef(AliPMDdigit,5) // Digits object for Detector set:PMD
46 };
47
48 #endif