]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSUPixelModule.cxx
Added version tailored for pp (AliTrackletTaskMultipp) with additional
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUPixelModule.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
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 ////////////////////////////////////////////////////////////////////////////
16 //                                                                        //
17 // Base Class used to find                                                //
18 // the reconstructed points for ITS Upgrade                               // 
19 //                                                                        //
20 ////////////////////////////////////////////////////////////////////////////
21
22
23 #include "AliITSUPixelModule.h"
24
25
26 AliITSUPixelModule::AliITSUPixelModule():
27   TObject(),
28   fCharge(0),
29   fModule(0),
30   fCol(0),
31   fRow(0)
32 {
33   //
34   // Default constructor
35   //
36   for(Int_t i=0;i<3;i++)fLabels[i]=-1;
37 }
38 //_______________________________________________
39 AliITSUPixelModule::AliITSUPixelModule( UShort_t mod, UInt_t col, UInt_t row, UInt_t charge, Int_t lab[3]):
40   TObject(),
41   fCharge(charge),
42   fModule(mod),
43   fCol(col),
44   fRow(row)
45 {
46   //
47   // Constructor
48   //
49   for(Int_t i=0;i<3;i++)fLabels[i]=lab[i];
50 }
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];
55 }
56 //_______________________________________________
57 void AliITSUPixelModule::PrintInfo(){
58   //
59   // printout method for debugging
60   // 
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]);
62 }
63
64
65