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 //-----------------------------------------------------//
18 // Date : August 05 2003 //
20 // Store recpoints for ALICE-PMD //
22 //-----------------------------------------------------//
23 #include "Riostream.h"
25 #include "AliPMDrecpoint1.h"
28 ClassImp(AliPMDrecpoint1)
30 AliPMDrecpoint1::AliPMDrecpoint1():
34 // Default constructor
35 for (Int_t i = 0; i < 6; i++)
40 // ------------------------------------------------------------------------- //
41 AliPMDrecpoint1::AliPMDrecpoint1(Int_t idet, Int_t ismn, Float_t *clusdata):
46 for (Int_t i = 0; i < 6; i++)
48 fClusData[i] = clusdata[i];
51 // ------------------------------------------------------------------------- //
52 AliPMDrecpoint1::AliPMDrecpoint1(AliPMDrecpoint1 *pmdrecpoint):
59 // ------------------------------------------------------------------------- //
60 AliPMDrecpoint1::AliPMDrecpoint1(const AliPMDrecpoint1 &pmdrecpoint):
62 fDet(pmdrecpoint.fDet),
63 fSMN(pmdrecpoint.fSMN)
66 for(Int_t i=0; i<6; i++)
68 fClusData[i] = pmdrecpoint.fClusData[i];
71 // ------------------------------------------------------------------------- //
72 AliPMDrecpoint1 & AliPMDrecpoint1::operator=(const AliPMDrecpoint1 &pmdrecpoint)
74 // Assignment operator
75 if(this != &pmdrecpoint)
77 fDet = pmdrecpoint.fDet;
78 fSMN = pmdrecpoint.fSMN;
79 for(Int_t i=0; i<6; i++)
81 fClusData[i] = pmdrecpoint.fClusData[i];
86 // ------------------------------------------------------------------------- //
87 AliPMDrecpoint1::~AliPMDrecpoint1()
91 // ------------------------------------------------------------------------- //
92 Int_t AliPMDrecpoint1::GetDetector() const
96 // ------------------------------------------------------------------------- //
97 Int_t AliPMDrecpoint1::GetSMNumber() const
101 // ------------------------------------------------------------------------- //
102 Float_t AliPMDrecpoint1::GetClusX() const
106 // ------------------------------------------------------------------------- //
107 Float_t AliPMDrecpoint1::GetClusY() const
111 // ------------------------------------------------------------------------- //
112 Float_t AliPMDrecpoint1::GetClusADC() const
116 // ------------------------------------------------------------------------- //
117 Float_t AliPMDrecpoint1::GetClusCells() const
121 // ------------------------------------------------------------------------- //
122 Float_t AliPMDrecpoint1::GetClusSigmaX() const
126 // ------------------------------------------------------------------------- //
127 Float_t AliPMDrecpoint1::GetClusSigmaY() const
131 // ------------------------------------------------------------------------- //