changed according to alice coding convention
[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();
b9746a9e 20 AliPMDdigit(Int_t trnumber, Int_t det, Int_t smnumber,
21 Int_t cellnumber, Float_t adc);
baf230f7 22 AliPMDdigit(AliPMDdigit *pmddigit) {*this = *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;
29 Int_t GetDetector() const;
30 Int_t GetSMNumber() const;
31 Int_t GetCellNumber() const;
32 Float_t GetADC() const;
b9746a9e 33
34 protected:
35 Int_t fTrNumber; // Parent Track number
36 Int_t fDet; // Detecor Number (0:PRE, 1:CPV)
37 Int_t fSMNumber; // Serial Module Number
38 Int_t fCellNumber; // Cell Number (row(0-47)*96 + col(0-95))
39 Float_t fADC; // Energy deposition(ADC) in a hexagonal cell
baf230f7 40
b9746a9e 41 ClassDef(AliPMDdigit,2) // Digits object for Detector set:PMD
baf230f7 42};
43
44#endif