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