]>
Commit | Line | Data |
---|---|---|
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 | ||
18 | class AliITSUPixelModule :public TObject { | |
19 | ||
20 | public : | |
21 | ||
9b615954 | 22 | enum {kMaxLab=12}; // maximum number of MC labels associated to the cluster |
0ac80088 | 23 | AliITSUPixelModule(); |
9b615954 | 24 | AliITSUPixelModule( UShort_t module, UInt_t col, UInt_t row, UInt_t charge, Int_t lab[kMaxLab]); |
0ac80088 | 25 | |
26 | virtual ~AliITSUPixelModule(){;} | |
27 | ||
28 | void SetPixelCoord( UInt_t col, UInt_t row) {fCol = col ; fRow = row; } | |
9b615954 | 29 | |
30 | void SetLabels(Int_t lab[kMaxLab]); | |
0ac80088 | 31 | void SetCharge(UInt_t charge) {fCharge = charge;} |
32 | ||
33 | UShort_t GetModule() const {return fModule; } | |
34 | UInt_t GetCol() const {return fCol; } | |
35 | UInt_t GetRow() const {return fRow; } | |
36 | UInt_t GetCharge() const {return fCharge;} | |
9b615954 | 37 | Int_t GetLabel(Int_t i) const {return fLabels[i];} |
0ac80088 | 38 | void PrintInfo(); |
39 | ||
40 | protected: | |
41 | UInt_t fCharge; | |
42 | UShort_t fModule; | |
43 | UInt_t fCol; | |
44 | UInt_t fRow; | |
9b615954 | 45 | Int_t fLabels[kMaxLab]; |
0ac80088 | 46 | |
47 | ||
48 | AliITSUPixelModule(const AliITSUPixelModule &p); // copy constructor | |
49 | AliITSUPixelModule& operator=(const AliITSUPixelModule &p); // assignment operator | |
50 | ||
51 | ||
52 | ClassDef(AliITSUPixelModule,0) | |
53 | ||
54 | }; | |
55 | #endif | |
56 |