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 < 15; i++)
27 if(i < 6) fClusData[i] = 0.;
32 // --------------------------------------------------------------------- //
33 AliPMDcludata::AliPMDcludata(Float_t *clusdata, Int_t *clxy)
36 for (Int_t i = 0; i < 6; i++)
38 fClusData[i] = clusdata[i];
40 for (Int_t i = 0; i < 15; i++)
46 // --------------------------------------------------------------------- //
47 AliPMDcludata::AliPMDcludata(const AliPMDcludata &pmdcludata):
51 for(Int_t i=0; i<15; i++)
53 if (i < 6) this->fClusData[i] = pmdcludata.fClusData[i];
54 this->fClXY[i] = pmdcludata.fClXY[i];
57 // --------------------------------------------------------------------- //
59 AliPMDcludata & AliPMDcludata::operator=(const AliPMDcludata &pmdcludata)
61 // Assignment operator
62 if(this != &pmdcludata)
64 for(Int_t i=0; i<15; i++)
66 if (i < 6) this->fClusData[i] = pmdcludata.fClusData[i];
67 this->fClXY[i] = pmdcludata.fClXY[i];
72 // --------------------------------------------------------------------- //
74 AliPMDcludata::~AliPMDcludata()
78 // --------------------------------------------------------------------- //
79 Float_t AliPMDcludata::GetClusX() const
83 // --------------------------------------------------------------------- //
84 Float_t AliPMDcludata::GetClusY() const
88 // --------------------------------------------------------------------- //
89 Float_t AliPMDcludata::GetClusADC() const
93 // --------------------------------------------------------------------- //
94 Float_t AliPMDcludata::GetClusCells() const
98 // --------------------------------------------------------------------- //
99 Float_t AliPMDcludata::GetClusSigmaX() const
103 // --------------------------------------------------------------------- //
104 Float_t AliPMDcludata::GetClusSigmaY() const
108 // --------------------------------------------------------------------- //
109 Int_t AliPMDcludata::GetCellXY(Int_t i) const
113 // --------------------------------------------------------------------- //