]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDsdigit.h
changed according to alice coding convention
[u/mrichter/AliRoot.git] / PMD / AliPMDsdigit.h
1 #ifndef ALIPMDSDIGIT_H
2 #define ALIPMDSDIGIT_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 //  Date   : August 05 2003                            //
9 //  used to store the info into TreeS                  //
10 //                                                     //
11 //-----------------------------------------------------//
12
13 #include "TObject.h"
14 class TClonesArray;
15
16 class AliPMDsdigit : public TObject
17 {
18
19  public:
20   AliPMDsdigit();
21   AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
22                Int_t cellnumber, Float_t edep);
23   AliPMDsdigit(AliPMDsdigit *pmdsdigit) {*this = *pmdsdigit;}
24   AliPMDsdigit (const AliPMDsdigit &pmdsdigit);  // copy constructor
25   AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
26
27   virtual ~AliPMDsdigit();
28
29   Int_t   GetTrackNumber() const;
30   Int_t   GetDetector() const;
31   Int_t   GetSMNumber() const;
32   Int_t   GetCellNumber() const;
33   Float_t GetCellEdep() const;
34
35   
36  protected:
37   Int_t   fTrNumber;   // Parent Track Number
38   Int_t   fDet;        // Detector Number (0:PRE, 1:CPV)
39   Int_t   fSMN;        // Serial Module Number
40   Int_t   fCellNumber; // Cell Number (row(0-47)*96 + col(0-95))
41   Float_t fEdep;       // Energy deposition in a hexagonal cell
42   
43   ClassDef(AliPMDsdigit,2) // SDigits object for Detector set:PMD
44 };
45
46 #endif