1 #ifndef ALIITSCHANNELSPD_H
2 #define ALIITSCHANNELSPD_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ///////////////////////////////////////////////////////////////////////////
10 // AliITSChannelSPD declaration by P. Nilsson 2005
11 // AUTHOR/CONTACT: Paul.Nilsson@cern.ch
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 ///////////////////////////////////////////////////////////////////////////
20 class AliITSChannelSPD: public TObject {
24 AliITSChannelSPD(void); // Default constructor
25 AliITSChannelSPD(Int_t column, Int_t row); // Constructor for already existing "bad" channel
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
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
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)
42 ClassDef(AliITSChannelSPD,1)