]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDdigit.h
Several changes:
[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,
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;
29 Int_t GetDetector() const;
30 Int_t GetSMNumber() const;
5e6a9312 31 Int_t GetRow() const;
32 Int_t GetColumn() const;
baf230f7 33 Float_t GetADC() const;
b9746a9e 34
35 protected:
36 Int_t fTrNumber; // Parent Track number
37 Int_t fDet; // Detecor Number (0:PRE, 1:CPV)
38 Int_t fSMNumber; // Serial Module Number
5e6a9312 39 Int_t fRow; // Cell Row Number (0-47)
40 Int_t fColumn; // Cell Column Number (0-95)
b9746a9e 41 Float_t fADC; // Energy deposition(ADC) in a hexagonal cell
baf230f7 42
a48edddd 43 ClassDef(AliPMDdigit,4) // Digits object for Detector set:PMD
baf230f7 44};
45
46#endif