1 /***************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15 //-----------------------------------------------------//
17 // Date : August 05 2003 //
19 // Store digits for ALICE-PMD //
21 //-----------------------------------------------------//
22 #include "Riostream.h"
24 #include "AliPMDdigit.h"
29 AliPMDdigit::AliPMDdigit():
38 // Default Constructor
41 AliPMDdigit::AliPMDdigit(Int_t trnumber, Int_t trpid, Int_t det,
43 Int_t irow, Int_t icol, Float_t adc):
54 AliPMDdigit::AliPMDdigit(AliPMDdigit *pmddigit):
66 AliPMDdigit::AliPMDdigit(const AliPMDdigit& pmddigit):
68 fTrNumber(pmddigit.fTrNumber),
69 fTrPid(pmddigit.fTrPid),
71 fSMNumber(pmddigit.fSMNumber),
73 fColumn(pmddigit.fColumn),
78 AliPMDdigit & AliPMDdigit::operator=(const AliPMDdigit& pmddigit) {
82 fTrNumber = pmddigit.fTrNumber;
83 fTrPid = pmddigit.fTrPid;
85 fSMNumber = pmddigit.fSMNumber;
87 fColumn = pmddigit.fColumn;
92 AliPMDdigit::~AliPMDdigit()
96 Int_t AliPMDdigit::GetTrackNumber() const
100 Int_t AliPMDdigit::GetTrackPid() const
104 Int_t AliPMDdigit::GetDetector() const
108 Int_t AliPMDdigit::GetSMNumber() const
112 Int_t AliPMDdigit::GetRow() const
116 Int_t AliPMDdigit::GetColumn() const
120 Float_t AliPMDdigit::GetADC() const