]>
Commit | Line | Data |
---|---|---|
3f0e013c | 1 | #ifndef ALIITSCHANNELSPD_H |
2 | #define ALIITSCHANNELSPD_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | /////////////////////////////////////////////////////////////////////////// | |
10 | // AliITSChannelSPD declaration by P. Nilsson 2005 | |
11 | // AUTHOR/CONTACT: Paul.Nilsson@cern.ch | |
12 | // | |
13 | // Objects of this class are stored in a TObjArray and should be | |
14 | // interpreted as "bad" channels, i.e. either noisy or dead channels | |
15 | // depending on where they are stored | |
16 | /////////////////////////////////////////////////////////////////////////// | |
17 | ||
18 | #include <TObject.h> | |
19 | ||
20 | class AliITSChannelSPD: public TObject { | |
21 | ||
22 | public: | |
23 | ||
24 | AliITSChannelSPD(void); // Default constructor | |
eb0b1051 | 25 | AliITSChannelSPD(Int_t column, Int_t row); // Constructor for already existing "bad" channel |
3f0e013c | 26 | AliITSChannelSPD(const AliITSChannelSPD &ch); // Copy constructor |
27 | virtual ~AliITSChannelSPD(void) { }; // Default destructor | |
28 | AliITSChannelSPD& operator=(const AliITSChannelSPD &ch); // Assignment operator | |
29 | Bool_t operator==(const AliITSChannelSPD &channel) const; // Equivalence operator | |
30 | ||
31 | // Getters and setters | |
32 | Int_t GetColumn(void) const { return fColumn; }; // Get column | |
33 | Int_t GetRow(void) const { return fRow; }; // Get row | |
34 | void SetColumn(Int_t c) { fColumn = c; }; // Set column | |
35 | void SetRow(Int_t r) { fRow = r; }; // Set row | |
36 | ||
37 | protected: | |
38 | ||
39 | Int_t fColumn; // SPD column (real range [0,31], but not checked) | |
40 | Int_t fRow; // SPD row (real range [0,255] but not checked) | |
41 | ||
42 | ClassDef(AliITSChannelSPD,1) | |
43 | }; | |
44 | ||
45 | #endif |