]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Getters declared const (Jan-Fiete)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2006 10:03:22 +0000 (10:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Feb 2006 10:03:22 +0000 (10:03 +0000)
TRD/AliTRDCalPad.h

index 507a6f435161c17a1b224e1fd77a2e66ab33e46b..28b68daa4fecd1cff09f1a283ff5199226132343 100644 (file)
@@ -32,8 +32,8 @@ class AliTRDCalPad : public TNamed {
 
   static inline Int_t               GetDet(Int_t p, Int_t c, Int_t s) { return p+c*kNplan+s*kNplan*kNcham; };
 
-  AliTRDCalROC *GetCalROC(Int_t d) { return fROC[d]; };
-  AliTRDCalROC *GetCalROC(Int_t p, Int_t c, Int_t s)
+  AliTRDCalROC *GetCalROC(Int_t d) const { return fROC[d]; };
+  AliTRDCalROC *GetCalROC(Int_t p, Int_t c, Int_t s) const
                                                { return fROC[GetDet(p,c,s)]; };
   
   void ScaleROCs(AliTRDCalDet* values);