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 //
18 // used to store the info into TreeS //
20 //-----------------------------------------------------//
21 #include "Riostream.h"
23 #include "AliPMDsdigit.h"
26 ClassImp(AliPMDsdigit)
28 AliPMDsdigit::AliPMDsdigit():
37 // Default Constructor
40 AliPMDsdigit::AliPMDsdigit(Int_t trnumber, Int_t trpid, Int_t det, Int_t smn,
41 Int_t irow, Int_t icol, Float_t edep):
53 AliPMDsdigit::AliPMDsdigit(AliPMDsdigit *pmdsdigit):
65 AliPMDsdigit::AliPMDsdigit(const AliPMDsdigit& pmdsdigit):
67 fTrNumber(pmdsdigit.fTrNumber),
68 fTrPid(pmdsdigit.fTrPid),
72 fColumn(pmdsdigit.fColumn),
73 fEdep(pmdsdigit.fEdep)
77 AliPMDsdigit & AliPMDsdigit::operator=(const AliPMDsdigit& pmdsdigit)
80 if(this != &pmdsdigit)
82 fTrNumber = pmdsdigit.fTrNumber;
83 fTrPid = pmdsdigit.fTrPid;
84 fDet = pmdsdigit.fDet;
85 fSMN = pmdsdigit.fSMN;
86 fRow = pmdsdigit.fRow;
87 fColumn = pmdsdigit.fColumn;
88 fEdep = pmdsdigit.fEdep;
94 AliPMDsdigit::~AliPMDsdigit()
98 Int_t AliPMDsdigit::GetTrackNumber() const
102 Int_t AliPMDsdigit::GetTrackPid() const
106 Int_t AliPMDsdigit::GetDetector() const
110 Int_t AliPMDsdigit::GetSMNumber() const
114 Int_t AliPMDsdigit::GetRow() const
118 Int_t AliPMDsdigit::GetColumn() const
122 Float_t AliPMDsdigit::GetCellEdep() const