]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/UPGRADE/AliITSUPixelModule.h
Added version tailored for pp (AliTrackletTaskMultipp) with additional
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUPixelModule.h
CommitLineData
0ac80088 1#ifndef ALIITSUPIXELMODULE_H
2#define ALIITSUPIXELMODULE_H
3
4
5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8
9////////////////////////////////////////////////
10// ITS Cluster Finder Module Container //
11// Used in the ClusterFinder to keep //
12// clusters in one module before storing //
13// them in treeR //
14////////////////////////////////////////////////
15
16#include <TObject.h>
17
18class AliITSUPixelModule :public TObject {
19
20 public :
21
22 AliITSUPixelModule();
23 AliITSUPixelModule( UShort_t module, UInt_t col, UInt_t row, UInt_t charge, Int_t lab[3]);
24
25 virtual ~AliITSUPixelModule(){;}
26
27 void SetPixelCoord( UInt_t col, UInt_t row) {fCol = col ; fRow = row; }
28 void SetLabels(Int_t lab[3]);
29 void SetCharge(UInt_t charge) {fCharge = charge;}
30
31 UShort_t GetModule() const {return fModule; }
32 UInt_t GetCol() const {return fCol; }
33 UInt_t GetRow() const {return fRow; }
34 UInt_t GetCharge() const {return fCharge;}
35 Int_t GetLabels(Int_t i) const {return fLabels[i];}
36 void PrintInfo();
37
38 protected:
39 UInt_t fCharge;
40 UShort_t fModule;
41 UInt_t fCol;
42 UInt_t fRow;
43 Int_t fLabels[3];
44
45
46 AliITSUPixelModule(const AliITSUPixelModule &p); // copy constructor
47 AliITSUPixelModule& operator=(const AliITSUPixelModule &p); // assignment operator
48
49
50 ClassDef(AliITSUPixelModule,0)
51
52 };
53#endif
54