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 // Base Class used to find //
18 // the reconstructed points for ITS Upgrade //
20 ////////////////////////////////////////////////////////////////////////////
23 #include "AliITSUPixelModule.h"
26 AliITSUPixelModule::AliITSUPixelModule():
34 // Default constructor
36 for(Int_t i=0;i<3;i++)fLabels[i]=-1;
38 //_______________________________________________
39 AliITSUPixelModule::AliITSUPixelModule( UShort_t mod, UInt_t col, UInt_t row, UInt_t charge, Int_t lab[3]):
49 for(Int_t i=0;i<3;i++)fLabels[i]=lab[i];
51 //____________________________________________
52 void AliITSUPixelModule::SetLabels(Int_t lab[3]){
53 // Setter for cluster labels
54 for(Int_t i=0;i<3;i++)fLabels[i]=lab[i];
56 //_______________________________________________
57 void AliITSUPixelModule::PrintInfo(){
59 // printout method for debugging
61 printf(" module %d col %i row %i charge %i label %i, %i, %i \n", fModule, fCol, fRow,fCharge, fLabels[0], fLabels[1], fLabels[2]);