Print is const in Root
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Feb 2005 05:12:08 +0000 (05:12 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 Feb 2005 05:12:08 +0000 (05:12 +0000)
RICH/AliRICHParam.cxx
RICH/AliRICHParam.h

index 4145510..c135755 100644 (file)
@@ -36,7 +36,7 @@ Float_t  AliRICHParam::fgSigmaThMean          =1.132; //QDC
 Float_t  AliRICHParam::fgSigmaThSpread        =0.035; //     
 
 //__________________________________________________________________________________________________
-void AliRICHParam::Print(Option_t*)
+void AliRICHParam::Print(Option_t*) const
 {
   AliInfo(Form("Pads in chamber (%3i,%3i) in sector (%2i,%2i)",NpadsX(),NpadsY(),NpadsXsec(),NpadsYsec()));
   AliInfo(Form("Resolve clusters %i sagita %i Radio source %i Aerogel %i TestBeam %i",
index 2fd04f1..a841817 100644 (file)
@@ -35,7 +35,7 @@ public:
                   AliRICHParam():TObject(),fpChambers(0)  {CreateChambers();}
   virtual        ~AliRICHParam()                          {delete fpChambers;}
 //test methodes  
-         void     Print(const Option_t *opt="");                                         //print current parametrization
+         void     Print(Option_t *opt="") const;                                         //print current parametrization
          void     Test()                            {TestSeg();TestTrans();TestResp();}  //test all groups of methodes
          void     TestResp();                                                            //test the response group of methodes
          void     TestSeg();                                                             //test the segmentation group of methodes