]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/PMDbase/AliPMDsdigit.h
PMD module
[u/mrichter/AliRoot.git] / PMD / PMDbase / AliPMDsdigit.h
CommitLineData
b9746a9e 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 */
ec3caada 5//-----------------------------------------------------//
6// //
7// //
8// Date : August 05 2003 //
9// used to store the info into TreeS //
10// //
11//-----------------------------------------------------//
a48edddd 12// Author - B.K. Nandi
13//
ec3caada 14#include "TObject.h"
b9746a9e 15class TClonesArray;
ec3caada 16
17class AliPMDsdigit : public TObject
18{
ec3caada 19
20 public:
21 AliPMDsdigit();
920e13db 22 AliPMDsdigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smn,
5e6a9312 23 Int_t irow, Int_t icol, Float_t edep);
a48edddd 24 AliPMDsdigit(AliPMDsdigit *pmdsdigit);
b9746a9e 25 AliPMDsdigit (const AliPMDsdigit &pmdsdigit); // copy constructor
26 AliPMDsdigit &operator=(const AliPMDsdigit &pmdsdigit); // assignment op
27
ec3caada 28 virtual ~AliPMDsdigit();
29
30 Int_t GetTrackNumber() const;
920e13db 31 Int_t GetTrackPid() const;
ec3caada 32 Int_t GetDetector() const;
33 Int_t GetSMNumber() const;
5e6a9312 34 Int_t GetRow() const;
35 Int_t GetColumn() const;
ec3caada 36 Float_t GetCellEdep() const;
b9746a9e 37
38
39 protected:
40 Int_t fTrNumber; // Parent Track Number
920e13db 41 Int_t fTrPid; // Parent Track pid
b9746a9e 42 Int_t fDet; // Detector Number (0:PRE, 1:CPV)
43 Int_t fSMN; // Serial Module Number
5e6a9312 44 Int_t fRow; // Cell Row Number (0-47)
45 Int_t fColumn; // Cell Column Number (0-95)
b9746a9e 46 Float_t fEdep; // Energy deposition in a hexagonal cell
ec3caada 47
920e13db 48 ClassDef(AliPMDsdigit,5) // SDigits object for Detector set:PMD
ec3caada 49};
50
51#endif