]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing warnings (alpha)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Feb 2004 10:20:03 +0000 (10:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Feb 2004 10:20:03 +0000 (10:20 +0000)
15 files changed:
EMCAL/AliEMCALDigitizer.cxx
EMCAL/AliEMCALDigitizer.h
EMCAL/AliEMCALGeometry.cxx
EMCAL/AliEMCALGeometry.h
EMCAL/AliEMCALGetter.cxx
EMCAL/AliEMCALGetter.h
EMCAL/AliEMCALHadronCorrection.h
EMCAL/AliEMCALHadronCorrectionv0.cxx
EMCAL/AliEMCALHadronCorrectionv0.h
EMCAL/AliEMCALHadronCorrectionv1.cxx
EMCAL/AliEMCALHadronCorrectionv1.h
EMCAL/AliEMCALJetMicroDst.cxx
EMCAL/AliEMCALJetMicroDst.h
EMCAL/AliEMCALTowerRecPoint.cxx
EMCAL/AliEMCALTowerRecPoint.h

index 88d0e215d3a19c06c43bc2243964a4e6c54496bf..2c4e6ca72902cc71c95d4a531117c52b6479113d 100644 (file)
@@ -99,7 +99,7 @@ ClassImp(AliEMCALDigitizer)
 }
 
 //____________________________________________________________________________ 
-AliEMCALDigitizer::AliEMCALDigitizer(const TString alirunFileName, const TString eventFolderName):
+AliEMCALDigitizer::AliEMCALDigitizer(TString alirunFileName, TString eventFolderName):
   AliDigitizer("EMCAL"+AliConfig::fgkDigitizerTaskName, alirunFileName),
   fInputFileNames(0), fEventNames(0), fEventFolderName(eventFolderName)
 {
@@ -158,7 +158,7 @@ AliEMCALDigitizer::AliEMCALDigitizer(AliRunDigitizer * rd):
 }
 
 //____________________________________________________________________________
-void AliEMCALDigitizer::Digitize(const Int_t event) 
+void AliEMCALDigitizer::Digitize(Int_t event) 
 { 
 
   // Makes the digitization of the collected summable digits
@@ -467,7 +467,7 @@ void AliEMCALDigitizer::InitParameters()
 }
 
 //__________________________________________________________________
-void AliEMCALDigitizer::MixWith(const TString alirunFileName, const TString eventFolderName)
+void AliEMCALDigitizer::MixWith(TString alirunFileName, TString eventFolderName)
 {
   // Allows to produce digits by superimposing background and signal event.
   // It is assumed, that headers file with SIGNAL events is opened in 
index fb9043491138a0d8363e5efe4d938770437d5058..6ddf1d85bf733470afab688f05ba52ea014b2876 100644 (file)
@@ -31,29 +31,29 @@ class AliEMCALDigitizer: public AliDigitizer {
 
 public:
   AliEMCALDigitizer() ;          // ctor
-  AliEMCALDigitizer(const TString alirunFileNameFile, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;  
+  AliEMCALDigitizer(TString alirunFileNameFile, TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;  
   AliEMCALDigitizer(const AliEMCALDigitizer & dtizer) ;
   AliEMCALDigitizer(AliRunDigitizer * manager) ;
   virtual ~AliEMCALDigitizer() ;       
 
-  void    Digitize(const Int_t event);          // Make Digits from SDigits stored in fSDigits
+  void    Digitize(Int_t event);          // Make Digits from SDigits stored in fSDigits
   void    Exec(Option_t *option);               // Supervising method
 
-  const Float_t GetDigitThreshold() const { return fDigitThreshold;}
-  const Float_t GetPedestal()       const { return fPedestal; }
-  const Float_t GetPinNoise()       const { return fPinNoise;}
-  const Float_t GetSlope()          const { return fSlope; }
-  const Float_t GetTimeResolution() const { return fTimeResolution ; }
-  const Float_t GetECAchannel()     const { return fADCchannelEC ; }
-  const Float_t GetECApedestal()    const { return fADCpedestalEC ; }
+  Float_t GetDigitThreshold() const { return fDigitThreshold;}
+  Float_t GetPedestal()       const { return fPedestal; }
+  Float_t GetPinNoise()       const { return fPinNoise;}
+  Float_t GetSlope()          const { return fSlope; }
+  Float_t GetTimeResolution() const { return fTimeResolution ; }
+  Float_t GetECAchannel()     const { return fADCchannelEC ; }
+  Float_t GetECApedestal()    const { return fADCpedestalEC ; }
 
   void    SetDigitThreshold(Float_t EMCThreshold)  {fDigitThreshold = EMCThreshold;}
   void    SetPinNoise(Float_t PinNoise )         {fPinNoise = PinNoise;}
 
   //General
-  const Int_t   GetDigitsInRun()  const { return fDigitsInRun; } 
-  void  MixWith(const TString alirunFileName, 
-               const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; // Add another one file to mix
+  Int_t   GetDigitsInRun()  const { return fDigitsInRun; } 
+  void  MixWith(TString alirunFileName, 
+               TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ; // Add another one file to mix
   void  Print()const ;
  
   AliEMCALDigitizer & operator = (const AliEMCALDigitizer & /*rvalue*/)  {
index 9324905b2a98d3dac9ce8f5a7362ce2da040e4ac..ac73d8ad78189afa3639b97bd9051ec599928225 100644 (file)
@@ -50,7 +50,7 @@ AliEMCALGeometry::~AliEMCALGeometry(void){
 }
 
 //______________________________________________________________________
-const Bool_t AliEMCALGeometry::AreInSameTower(Int_t id1, Int_t id2) const {
+Bool_t AliEMCALGeometry::AreInSameTower(Int_t id1, Int_t id2) const {
   // Find out whether two hits are in the same tower
   Int_t idmax = TMath::Max(id1, id2) ; 
   Int_t idmin = TMath::Min(id1, id2) ;
@@ -321,7 +321,7 @@ void AliEMCALGeometry::PosInAlice(const Int_t *relid, Float_t &theta, Float_t &p
 }
 
 //______________________________________________________________________
-void AliEMCALGeometry::PosInAlice(const Int_t absid, Float_t &theta, Float_t &phi) const 
+void AliEMCALGeometry::PosInAlice(Int_t absid, Float_t &theta, Float_t &phi) const 
 {
   // Converts the relative numbering into the local EMCAL-module (x, z)
   // coordinates
@@ -386,7 +386,7 @@ void AliEMCALGeometry::XYZFromIndex(const Int_t *relid,Float_t &x,Float_t &y, Fl
 } 
 
 //______________________________________________________________________
-void AliEMCALGeometry::XYZFromIndex(const Int_t absid,  TVector3 &v) const {
+void AliEMCALGeometry::XYZFromIndex(Int_t absid,  TVector3 &v) const {
     // given the tower relative number it returns the X, Y and Z
     // of the tower.
     
index 1da47ae90cdfb45835f2d220c5ce286a5d358197..c1891fe026349865db40c3433f630da86871e2f0 100644 (file)
@@ -44,7 +44,7 @@ public:
     return *(GetInstance()) ; 
   };
 
-  const Bool_t AreInSameTower(Int_t id1, Int_t id2) const ;  
+  Bool_t AreInSameTower(Int_t id1, Int_t id2) const ;  
   virtual void GetGlobal(const AliRecPoint *, TVector3 &, TMatrix &) const {}
   virtual void GetGlobal(const AliRecPoint *, TVector3 &) const {}
   virtual Bool_t Impact(const TParticle *) const {return kTRUE;}
@@ -52,30 +52,30 @@ public:
   Bool_t  IsInitialized(void) const { return fgInit ; }
        // Return EMCA geometrical parameters
   // geometry
-  const Float_t GetAlFrontThickness() const { return fAlFrontThick;}
-  const Float_t GetArm1PhiMin() const { return fArm1PhiMin ; }
-  const Float_t GetArm1PhiMax() const { return fArm1PhiMax ; }
-  const Float_t GetArm1EtaMin() const { return fArm1EtaMin;}
-  const Float_t GetArm1EtaMax() const { return fArm1EtaMax;}
-  const Float_t GetIPDistance() const { return fIPDistance;}   
-  const Float_t GetIP2ECASection() const { return ( GetIPDistance() + GetAlFrontThickness() + GetGap2Active() ) ; }   
-  const Float_t GetEnvelop(Int_t index) const { return fEnvelop[index] ; }  
-  const Float_t GetShellThickness() const { return fShellThickness ; }
-  const Float_t GetZLength() const { return fZLength ; } 
-  const Float_t GetGap2Active() const {return  fGap2Active ; }
-  const Float_t GetDeltaEta() const {return (fArm1EtaMax-fArm1EtaMin)/
+  Float_t GetAlFrontThickness() const { return fAlFrontThick;}
+  Float_t GetArm1PhiMin() const { return fArm1PhiMin ; }
+  Float_t GetArm1PhiMax() const { return fArm1PhiMax ; }
+  Float_t GetArm1EtaMin() const { return fArm1EtaMin;}
+  Float_t GetArm1EtaMax() const { return fArm1EtaMax;}
+  Float_t GetIPDistance() const { return fIPDistance;}   
+  Float_t GetIP2ECASection() const { return ( GetIPDistance() + GetAlFrontThickness() + GetGap2Active() ) ; }   
+  Float_t GetEnvelop(Int_t index) const { return fEnvelop[index] ; }  
+  Float_t GetShellThickness() const { return fShellThickness ; }
+  Float_t GetZLength() const { return fZLength ; } 
+  Float_t GetGap2Active() const {return  fGap2Active ; }
+  Float_t GetDeltaEta() const {return (fArm1EtaMax-fArm1EtaMin)/
                                       ((Float_t)fNZ);}
-  const Float_t GetDeltaPhi() const {return (fArm1PhiMax-fArm1PhiMin)/
+  Float_t GetDeltaPhi() const {return (fArm1PhiMax-fArm1PhiMin)/
                                       ((Float_t)fNPhi);}
-  const Int_t   GetNECLayers() const {return fNECLayers ;}
-  const Int_t   GetNZ() const {return fNZ ;}
-  const Int_t   GetNEta() const {return fNZ ;}
-  const Int_t   GetNPhi() const {return fNPhi ;}
-  const Int_t   GetNTowers() const {return fNPhi * fNZ ;}
-  const Float_t GetECPbRadThick()const {return fECPbRadThickness;}
-  const Float_t GetECScintThick() const {return fECScintThick;}
-  const Float_t GetSampling() const {return fSampling ; } 
-  const Bool_t IsInECA(Int_t index) const { if ( (index > 0 && (index <= GetNZ() * GetNPhi()))) return kTRUE; else return kFALSE ;}
+  Int_t   GetNECLayers() const {return fNECLayers ;}
+  Int_t   GetNZ() const {return fNZ ;}
+  Int_t   GetNEta() const {return fNZ ;}
+  Int_t   GetNPhi() const {return fNPhi ;}
+  Int_t   GetNTowers() const {return fNPhi * fNZ ;}
+  Float_t GetECPbRadThick()const {return fECPbRadThickness;}
+  Float_t GetECScintThick() const {return fECScintThick;}
+  Float_t GetSampling() const {return fSampling ; } 
+  Bool_t IsInECA(Int_t index) const { if ( (index > 0 && (index <= GetNZ() * GetNPhi()))) return kTRUE; else return kFALSE ;}
  
   Float_t AngleFromEta(Float_t eta){ // returns theta in radians for a given pseudorapidity
     return 2.0*TMath::ATan(TMath::Exp(-eta));
@@ -91,14 +91,14 @@ public:
   void EtaPhiFromIndex(Int_t index,Float_t &eta,Float_t &phi) const;
        // returns x, y, and z (cm) on the inner surface of a given EMCAL Cell specified by relid.
   void XYZFromIndex(const Int_t *relid,Float_t &x,Float_t &y, Float_t &z) const;
-  void XYZFromIndex(const Int_t absid, TVector3 &v) const;
+  void XYZFromIndex(Int_t absid, TVector3 &v) const;
        // for a given eta and phi in the EMCAL it returns the tower index.
   Int_t TowerIndexFromEtaPhi(Float_t eta,Float_t phi) const;
        // for a given eta and phi in the EMCAL it returns the pretower index.
   Int_t PreTowerIndexFromEtaPhi(Float_t eta,Float_t phi) const;
        // Returns theta and phi (degree) for a given EMCAL cell indicated by relid or absid
   void PosInAlice(const Int_t *relid, Float_t &theta, Float_t &phi) const ;
-  void PosInAlice(const Int_t absid, Float_t &theta, Float_t &phi) const ;
+  void PosInAlice(Int_t absid, Float_t &theta, Float_t &phi) const ;
   Bool_t AbsToRelNumbering(Int_t AbsId, Int_t *relid) const;
   void SetNZ(Int_t nz) { fNZ= nz ; printf("SetNZ: Number of modules in Z set to %d", fNZ) ; }
   void SetNPhi(Int_t nphi) { fNPhi= nphi ; printf("SetNPhi: Number of modules in Phi set to %d", fNPhi) ; }
index 7458ea79ff58854c4d233e228c307fe479996d5c..d4e99bba1f51d76d37bc31b39a05d847a3c0dc19 100644 (file)
@@ -207,7 +207,7 @@ TClonesArray * AliEMCALGetter::RecParticles() const
   return rv ; 
 }
 //____________________________________________________________________________ 
-void AliEMCALGetter::Event(const Int_t event, const char* opt) 
+void AliEMCALGetter::Event(Int_t event, const char* opt) 
 {
   // Reads the content of all Tree's S, D and R
 
@@ -557,7 +557,7 @@ AliEMCALSDigitizer * AliEMCALGetter::SDigitizer()
 }
 
 //____________________________________________________________________________ 
-TParticle * AliEMCALGetter::Secondary(const TParticle* p, const Int_t index) const
+TParticle * AliEMCALGetter::Secondary(const TParticle* p, Int_t index) const
 {
   // Return first (index=1) or second (index=2) secondary particle of primary particle p 
 
@@ -576,7 +576,7 @@ TParticle * AliEMCALGetter::Secondary(const TParticle* p, const Int_t index) con
 }
 
 //____________________________________________________________________________ 
-void AliEMCALGetter::Track(const Int_t itrack) 
+void AliEMCALGetter::Track(Int_t itrack) 
 {
   // Read the first entry of EMCAL branch in hit tree gAlice->TreeH()
  
index 8aa5ed86f30444bd0c722be23a63931737e17ac8..5810fafa9a0e906d37078b61f36544bb43aec21e 100644 (file)
@@ -71,8 +71,8 @@ class AliEMCALGetter : public TObject {
   static void Print() ; 
   
 //   //=========== General information about run ==============
-  Bool_t IsLoaded(const TString tree) const { return fLoadingStatus.Contains(tree) ; } 
-  void   SetLoaded(const TString tree) { fLoadingStatus += tree ; } 
+  Bool_t IsLoaded(TString tree) const { return fLoadingStatus.Contains(tree) ; } 
+  void   SetLoaded(TString tree) { fLoadingStatus += tree ; } 
 
   Int_t  MaxEvent() const ; 
   Int_t  EventNumber() const ; 
@@ -85,8 +85,8 @@ class AliEMCALGetter : public TObject {
   AliEMCALGeometry * EMCALGeometry() const ; 
   
 //   //========== Methods to read something from file ==========
-  void   Event(const Int_t event, const char * opt = "HSDRP") ;    
-  void   Track(const Int_t itrack) ;
+  void   Event(Int_t event, const char * opt = "HSDRP") ;    
+  void   Track(Int_t itrack) ;
   
 //   //-----------------now getter's data--------------------------------------
 // //  AliEMCALCalibrationDB * CalibrationDB(){return  fcdb; }
@@ -97,17 +97,17 @@ class AliEMCALGetter : public TObject {
   TClonesArray *    Primaries(void)  ;
   TParticle * Primary(Int_t index) const ;
   Int_t       NPrimaries()const { return fNPrimaries; }
-  TParticle * Secondary(const TParticle * p, const Int_t index=1) const ;  
+  TParticle * Secondary(const TParticle * p, Int_t index=1) const ;  
   
 //   //=========== Hits =================
 //   TTree *               TreeH(TString filename="") ; 
   TClonesArray *  Hits(void) const  ; 
-  AliEMCALHit *    Hit(const Int_t index) const { return dynamic_cast<AliEMCALHit*>(Hits()->At(index) );}
+  AliEMCALHit *    Hit(Int_t index) const { return dynamic_cast<AliEMCALHit*>(Hits()->At(index) );}
   TTree *         TreeH() const ; 
   
   //=========== SDigits ==============
   TClonesArray *      SDigits() const ;  
-  AliEMCALDigit *      SDigit(const Int_t index) const { return static_cast<AliEMCALDigit *>(SDigits()->At(index)) ;} 
+  AliEMCALDigit *      SDigit(Int_t index) const { return static_cast<AliEMCALDigit *>(SDigits()->At(index)) ;} 
   TTree *             TreeS() const ; 
   AliEMCALSDigitizer * SDigitizer() ;  
 
@@ -120,7 +120,7 @@ class AliEMCALGetter : public TObject {
   
   //========== Digits ================
   TClonesArray * Digits() const ;
-  AliEMCALDigit * Digit(const Int_t index) const { return static_cast<AliEMCALDigit *>(Digits()->At(index)) ;} 
+  AliEMCALDigit * Digit(Int_t index) const { return static_cast<AliEMCALDigit *>(Digits()->At(index)) ;} 
   TTree *        TreeD() const ; 
   AliEMCALDigitizer * Digitizer() ;
   TString             GetDigitsFileName() const { return EmcalLoader()->GetDigitsFileName() ; }  
@@ -133,7 +133,7 @@ class AliEMCALGetter : public TObject {
   
   //========== RecPoints =============
   TObjArray *             ECARecPoints() const;
-  AliEMCALTowerRecPoint * ECARecPoint(const Int_t index) const{ return static_cast<AliEMCALTowerRecPoint *>(ECARecPoints()->At(index)) ;}    
+  AliEMCALTowerRecPoint * ECARecPoint(Int_t index) const{ return static_cast<AliEMCALTowerRecPoint *>(ECARecPoints()->At(index)) ;}    
   TTree *                 TreeR() const ;
   AliEMCALClusterizer *   Clusterizer()  ;
   TString                 GetRecPointsFileName() const { return EmcalLoader()->GetRecPointsFileName() ; } 
@@ -146,7 +146,7 @@ class AliEMCALGetter : public TObject {
 
   //========== TrackSegments   TClonesArray * TrackSegments(const char * name = 0) { 
   TClonesArray *           TrackSegments() const ;
-  AliEMCALTrackSegment *  TrackSegments(const Int_t index) const { return static_cast<AliEMCALTrackSegment *>(TrackSegments()->At(index)) ;} 
+  AliEMCALTrackSegment *  TrackSegments(Int_t index) const { return static_cast<AliEMCALTrackSegment *>(TrackSegments()->At(index)) ;} 
   TTree *               TreeT() const ;
   AliEMCALTrackSegmentMaker * TrackSegmentMaker() ;
   TString               GetTracksFileName() const { return EmcalLoader()->GetTracksFileName() ; } 
@@ -159,7 +159,7 @@ class AliEMCALGetter : public TObject {
   //========== RecParticles ===========
 
   TClonesArray *         RecParticles() const ;
-  AliEMCALRecParticle *   RecPaticles(const Int_t index) const { return static_cast<AliEMCALRecParticle *>(RecParticles()->At(index)) ;} 
+  AliEMCALRecParticle *   RecPaticles(Int_t index) const { return static_cast<AliEMCALRecParticle *>(RecParticles()->At(index)) ;} 
   TTree *               TreeP() const ;
   AliEMCALPID * PID() ;
   TString               GetRecParticlesFileName() const { return EmcalLoader()->GetRecParticlesFileName() ; } 
index 22c4c0d2a6071c8aaeb65e44ed407f4c7a3119e7..c8f580895c75bd64676eef1a7a7d6d041b3aad95 100644 (file)
@@ -19,7 +19,7 @@ class AliEMCALHadronCorrection : public TNamed {
   virtual ~AliEMCALHadronCorrection() {} 
 
   // Add for particle
-  virtual Double_t GetEnergy(const Double_t pmom,const Double_t eta,const Int_t gid)=0; 
+  virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid)=0; 
 
   ClassDef(AliEMCALHadronCorrection,1) // Hadron correction for EMC (abstract class)
 };
index 6571b1c5ab07f3e86e5925a98fb4a4cf98da3b82..39cfbd2ef6eed4184037c9892f8305044bc1ed6d 100644 (file)
@@ -52,7 +52,7 @@ AliEMCALHadronCorrectionv0::Instance()
 }
 
 Double_t 
-AliEMCALHadronCorrectionv0::GetEnergy(const Double_t pmom,const Double_t eta,const Int_t /*gid*/)
+AliEMCALHadronCorrectionv0::GetEnergy(Double_t pmom, Double_t eta, Int_t /*gid*/)
 {
   Int_t iEta=0; // index 
   Double_t etaw = TMath::Abs(eta);
index 8e8c518233059aa1afe33b50056f23dc72643edc..2e0ff272e2e273383f4469579d698bd950eb5548 100644 (file)
@@ -20,8 +20,8 @@ class AliEMCALHadronCorrectionv0: public AliEMCALHadronCorrection {
 
   public:
   static  AliEMCALHadronCorrectionv0* Instance();
-  virtual Double_t GetEnergy(const Double_t pmom,const Double_t eta,const Int_t gid); 
-  Double_t GetEnergy(const Double_t pmom, const Double_t eta) 
+  virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid); 
+  Double_t GetEnergy(Double_t pmom, Double_t eta) 
   {return GetEnergy(pmom,eta,7);}
 
   virtual ~AliEMCALHadronCorrectionv0() {}
index d796fd335e4ac34e0db2f090082e8961142a7860..067c17a0369f3b9b3311d294415ea907a27dfbda 100755 (executable)
@@ -110,7 +110,7 @@ AliEMCALHadronCorrectionv1::Instance()
 }
 
 Double_t 
-AliEMCALHadronCorrectionv1::GetEnergy(const Double_t pmom,const Double_t eta,const Int_t /*gid*/)
+AliEMCALHadronCorrectionv1::GetEnergy(Double_t pmom, Double_t eta, Int_t /*gid*/)
 {
   Double_t etai = TMath::Abs(eta); 
   Double_t value =  fPar[5]*pmom*pmom*pmom+ fPar[0]*pmom*pmom+fPar[1]*pmom +fPar[2]*pmom*etai +fPar[3]*etai + fPar[4];
index 1eea00a85a010aa82d66e242b2d149f0da2048c4..1f46623ac10a8fcf95c9658905ca1af38addc794 100755 (executable)
@@ -17,8 +17,8 @@ class AliEMCALGeometry;
 class AliEMCALHadronCorrectionv1: public AliEMCALHadronCorrection {
  public:
     static  AliEMCALHadronCorrectionv1* Instance();
-    virtual Double_t GetEnergy(const Double_t pmom,const Double_t eta,const Int_t gid); 
-    Double_t GetEnergy(const Double_t pmom, const Double_t eta) 
+    virtual Double_t GetEnergy(Double_t pmom, Double_t eta, Int_t gid); 
+    Double_t GetEnergy(Double_t pmom, Double_t eta) 
        {return GetEnergy(pmom,eta,7);}
     
     void SetGeometry(TString name, Double_t fs = 1.); 
index 40e5da8e9f6ac36f3939be3d38f07f02e6ce2648..4c6470683880fdf8553761915a601ae48a456a8b 100644 (file)
@@ -159,7 +159,7 @@ Bool_t AliEMCALJetMicroDst::Open(const char *fname)
   }
 }
 
-const Char_t* AliEMCALJetMicroDst::DefineName(const Int_t mode)
+const Char_t* AliEMCALJetMicroDst::DefineName(Int_t mode)
 {
        //DefineName member
   static TString dir, name;
index 49642b73755b1385274fe6390ea2a6108940f1a7..e15ef17dc023a9569f7e29ed8626a9c57af85dea 100644 (file)
@@ -44,9 +44,9 @@ class AliEMCALJetMicroDst: public TNamed {
   
   void    FillJetsControl(); // 18-jan-2003
 
-  Bool_t  Open(const Int_t mode=1) {return Open(DefineName(mode));}  // *MENU* 
+  Bool_t  Open(Int_t mode=1) {return Open(DefineName(mode));}  // *MENU* 
   Bool_t  Open(const char  *fname);                                  // *MENU* 
-  const Char_t* DefineName(const Int_t mode=1);                      // *MENU*
+  const Char_t* DefineName(Int_t mode=1);                      // *MENU*
   Bool_t  Initialize(TFile *file);
   void    Print(Option_t* option="") const;                          // *MENU* 
   Int_t   GetEntry(Int_t entry);
index 83d8ad8991ffa99a69ef3e28749963078d0c920c..d8465493fa8596a382005eb9f361d404e372ef37 100644 (file)
@@ -580,7 +580,7 @@ Float_t AliEMCALTowerRecPoint::GetMaximalEnergy(void) const
 }
 
 //____________________________________________________________________________
-Int_t AliEMCALTowerRecPoint::GetMultiplicityAtLevel(const Float_t H) const
+Int_t AliEMCALTowerRecPoint::GetMultiplicityAtLevel(Float_t H) const
 {
   // Calculates the multiplicity of digits with energy larger than H*energy 
   
index 04999b57b549fb008cb9b6c71837ce7b51b7a5ea..fccb47c58c9b867404cd4b7292e5153445be23a4 100644 (file)
@@ -48,7 +48,7 @@ public:
   Float_t     GetMaximalEnergy(void) const ;                       // get the highest energy in the cluster
   Int_t       GetMaximumMultiplicity() const {return fMaxDigit ;}  // gets the maximum number of digits allowed
   Int_t       GetMultiplicity(void) const { return fMulDigit ; }   // gets the number of digits making this recpoint
-  Int_t       GetMultiplicityAtLevel(const Float_t level) const ;  // computes multiplicity of digits with 
+  Int_t       GetMultiplicityAtLevel(Float_t level) const ;  // computes multiplicity of digits with 
                                                                    // energy above relative level
   virtual Int_t GetNumberOfLocalMax(AliEMCALDigit **  maxAt, Float_t * maxAtEnergy,
                                     Float_t locMaxCut,TClonesArray * digits ) const ;