Bug fix in GetBadPChannelsList and GetNBadChannelsList
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Aug 2007 09:33:49 +0000 (09:33 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Aug 2007 09:33:49 +0000 (09:33 +0000)
ITS/AliITSCalibrationSSD.h

index 08572c2..a359a71 100644 (file)
@@ -46,8 +46,8 @@ class AliITSCalibrationSSD : public AliITSCalibration {
     Float_t GetGainN(Int_t n) {return fGain->GetGainN(n); }
     void SetGain( AliITSGainSSD* gain) {fGain=gain;}
 
-    TArrayI GetBadPChannelsList() { fBadChannels->GetBadPChannelsList(); }
-    TArrayI GetBadNChannelsList() { fBadChannels->GetBadNChannelsList(); }
+    TArrayI GetBadPChannelsList() { return fBadChannels->GetBadPChannelsList(); } const
+    TArrayI GetBadNChannelsList() { return fBadChannels->GetBadNChannelsList(); } const
     void SetBadChannels( AliITSBadChannelsSSD* badchannels) {fBadChannels=badchannels;}
 
     void SetNoisePThreshold(Int_t threshold) { fNoisePThreshold = threshold;}