]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDsdigit.h
QA ref defaut storage setter in sim and rec
[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 // Author - B.K. Nandi
13 //
14 #include "TObject.h"
15 class TClonesArray;
16
17 class AliPMDsdigit : public TObject
18 {
19
20  public:
21   AliPMDsdigit();
22   AliPMDsdigit(Int_t trnumber, Int_t det, Int_t smn,
23                Int_t irow, Int_t icol, Float_t edep);
24   AliPMDsdigit(AliPMDsdigit *pmdsdigit);
25   AliPMDsdigit (const AliPMDsdigit &pmdsdigit);  // copy constructor
26   AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
27
28   virtual ~AliPMDsdigit();
29
30   Int_t   GetTrackNumber() const;
31   Int_t   GetDetector() const;
32   Int_t   GetSMNumber() const;
33   Int_t   GetRow() const;
34   Int_t   GetColumn() const;
35   Float_t GetCellEdep() const;
36
37   
38  protected:
39   Int_t   fTrNumber;   // Parent Track Number
40   Int_t   fDet;        // Detector Number (0:PRE, 1:CPV)
41   Int_t   fSMN;        // Serial Module Number
42   Int_t   fRow;        // Cell Row Number (0-47)
43   Int_t   fColumn;     // Cell Column Number (0-95)
44   Float_t fEdep;       // Energy deposition in a hexagonal cell
45   
46   ClassDef(AliPMDsdigit,4) // SDigits object for Detector set:PMD
47 };
48
49 #endif