1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.2 2005/11/03 13:09:19 hristov
19 Removing meaningless const declarations (linuxicc)
21 Revision 1.1 2005/10/11 12:31:50 masera
22 Preprocessor classes for SPD (Paul Nilsson)
26 ///////////////////////////////////////////////////////////////////////////
27 // AliITSChannelSPD implementation by P. Nilsson 2005
28 // AUTHOR/CONTACT: Paul.Nilsson@cern.ch
30 // Objects of this class are stored in TObjArrays and should be
31 // interpreted as "bad" channels, i.e. either noisy or dead channels
32 // depending on where they are stored.
34 // A channel has the structure:
36 // Int_t fColumn: Column in the SPD module
37 // Int_t fRow: Row in the SPD module
39 // The class is used by the AliITSPreprocessorSPD class to store noisy
40 // and dead channels in the calibration database for the SPD.
42 // A channel can be compared with other channels (the equality operator
43 // is defined). This is e.g. useful for the clustering algorithm. A noisy
44 // channel should not be used in the clustering
45 ///////////////////////////////////////////////////////////////////////////
47 #include "AliITSChannelSPD.h"
49 ClassImp(AliITSChannelSPD)
51 //__________________________________________________________________________
52 AliITSChannelSPD::AliITSChannelSPD(void) :
56 // Default constructor
60 //__________________________________________________________________________
61 AliITSChannelSPD::AliITSChannelSPD(const AliITSChannelSPD &ch) :
69 //__________________________________________________________________________
70 AliITSChannelSPD& AliITSChannelSPD::operator=(const AliITSChannelSPD &ch)
72 // Assignment operator
74 // Guard against self-assignment
77 // Copy the data members
84 //__________________________________________________________________________
85 Bool_t AliITSChannelSPD::operator==(const AliITSChannelSPD &channel) const
88 // For comparisons between AliITSChannelSPD objects
90 return ( ((fColumn == channel.fColumn) && (fRow == channel.fRow)) );
93 //__________________________________________________________________________
94 AliITSChannelSPD::AliITSChannelSPD(Int_t column, Int_t row):
97 // Constructor for already existing channel