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 #include "Riostream.h"
17 #include "AliPMDcludata.h"
20 ClassImp(AliPMDcludata)
22 AliPMDcludata::AliPMDcludata()
24 // Default constructor
25 for (Int_t i = 0; i < 6; i++)
29 for (Int_t i = 0; i < 19; i++)
35 // --------------------------------------------------------------------- //
36 AliPMDcludata::AliPMDcludata(Float_t *clusdata, Int_t *clxy)
39 for (Int_t i = 0; i < 6; i++)
41 fClusData[i] = clusdata[i];
43 for (Int_t i = 0; i < 19; i++)
49 // --------------------------------------------------------------------- //
50 AliPMDcludata::AliPMDcludata(const AliPMDcludata &pmdcludata):
54 for(Int_t i=0; i<6; i++)
56 this->fClusData[i] = pmdcludata.fClusData[i];
58 for(Int_t i=0; i<19; i++)
60 this->fClXY[i] = pmdcludata.fClXY[i];
63 // --------------------------------------------------------------------- //
65 AliPMDcludata & AliPMDcludata::operator=(const AliPMDcludata &pmdcludata)
67 // Assignment operator
68 if(this != &pmdcludata)
70 for(Int_t i=0; i<6; i++)
72 this->fClusData[i] = pmdcludata.fClusData[i];
74 for(Int_t i=0; i<19; i++)
76 this->fClXY[i] = pmdcludata.fClXY[i];
81 // --------------------------------------------------------------------- //
83 AliPMDcludata::~AliPMDcludata()
87 // --------------------------------------------------------------------- //
88 Float_t AliPMDcludata::GetClusX() const
92 // --------------------------------------------------------------------- //
93 Float_t AliPMDcludata::GetClusY() const
97 // --------------------------------------------------------------------- //
98 Float_t AliPMDcludata::GetClusADC() const
102 // --------------------------------------------------------------------- //
103 Float_t AliPMDcludata::GetClusCells() const
107 // --------------------------------------------------------------------- //
108 Float_t AliPMDcludata::GetClusSigmaX() const
112 // --------------------------------------------------------------------- //
113 Float_t AliPMDcludata::GetClusSigmaY() const
117 // --------------------------------------------------------------------- //
118 Int_t AliPMDcludata::GetCellXY(Int_t i) const
122 // --------------------------------------------------------------------- //