Line data Source code
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 trpid, 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 GetTrackPid() const;
32 : Int_t GetDetector() const;
33 : Int_t GetSMNumber() const;
34 : Int_t GetRow() const;
35 : Int_t GetColumn() const;
36 : Float_t GetCellEdep() const;
37 :
38 :
39 : protected:
40 : Int_t fTrNumber; // Parent Track Number
41 : Int_t fTrPid; // Parent Track pid
42 : Int_t fDet; // Detector Number (0:PRE, 1:CPV)
43 : Int_t fSMN; // Serial Module Number
44 : Int_t fRow; // Cell Row Number (0-47)
45 : Int_t fColumn; // Cell Column Number (0-95)
46 : Float_t fEdep; // Energy deposition in a hexagonal cell
47 :
48 14 : ClassDef(AliPMDsdigit,5) // SDigits object for Detector set:PMD
49 : };
50 :
51 : #endif
|