]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing some meaningless const (coverity)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Dec 2012 21:17:23 +0000 (21:17 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Dec 2012 21:17:23 +0000 (21:17 +0000)
PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h
PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.cxx
PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.h

index 6d4c230560c90964dc3cd6700ff9e049095d14ab..40572d42b3d9199b12dc327dacf016adce802b60 100644 (file)
@@ -62,7 +62,7 @@ public:
                kBitTPCC  = (1<<8),
        };
 
-       static Int_t GetGapBin(const TString tag, Int_t gapcg);
+       static Int_t GetGapBin(TString tag, Int_t gapcg);
        static TH1F* GetHistStatsFlow();
 };
 
index 8bcfbed69a2a82ad829b798f313c303f11400b3b..12bf8bb2386ab4c0cc535b108a794e41c41a3dfe 100644 (file)
@@ -225,7 +225,7 @@ Int_t AliCDMesonUtilsStripped::GetTPC(const AliESDEvent * ESDEvent)
 
 //==============================================================================
 //------------------------------------------------------------------------------
-void AliCDMesonUtilsStripped::SPDLoadGeom(const Int_t run)
+void AliCDMesonUtilsStripped::SPDLoadGeom(Int_t run)
 {
        // method to get the gGeomanager
        // it is called at the CreatedOutputObject stage
@@ -259,7 +259,7 @@ void AliCDMesonUtilsStripped::SPDLoadGeom(const Int_t run)
 }
 
 //------------------------------------------------------------------------------
-Bool_t AliCDMesonUtilsStripped::SPDLoc2Glo(const Int_t id, const Double_t *loc,
+Bool_t AliCDMesonUtilsStripped::SPDLoc2Glo(Int_t id, const Double_t *loc,
                                            Double_t *glo)
 {
        //
@@ -279,8 +279,8 @@ Bool_t AliCDMesonUtilsStripped::SPDLoc2Glo(const Int_t id, const Double_t *loc,
 
 
 //------------------------------------------------------------------------------
-Int_t AliCDMesonUtilsStripped::CheckChipEta(const Int_t chipKey,
-                                            const TString scut,
+Int_t AliCDMesonUtilsStripped::CheckChipEta(Int_t chipKey,
+                                            TString scut,
                                             const Double_t vtxPos[])
 {
        //
@@ -355,7 +355,7 @@ Int_t AliCDMesonUtilsStripped::CheckChipEta(const Int_t chipKey,
 
 //------------------------------------------------------------------------------
 void AliCDMesonUtilsStripped::GetNFO(const AliESDEvent *ESDEvent,
-                                     const TString etacut, Int_t ctr[])
+                                     TString etacut, Int_t ctr[])
 {
        //
        // GetNFO
index 6a68320303cad71bccf5cc89968b10508afb916c..45345d010c121caf76cdfa39e06fb71d76d73c08 100644 (file)
@@ -55,7 +55,7 @@ public:
        // gap determination
        static Int_t GetGapConfig(const AliESDEvent *ESDEvent);
 
-       static void SPDLoadGeom(const Int_t run); // only needed for ESDs, not in AODs
+       static void SPDLoadGeom(Int_t run); // only needed for ESDs, not in AODs
 
        // AOD only
        //---------
@@ -73,10 +73,10 @@ private:
        static Int_t GetZDC(const AliESDEvent *ESDEvent); // not used so far
 
        // helpers for the SPD gap determination
-       static Bool_t SPDLoc2Glo(const Int_t id, const Double_t *loc, Double_t *glo);
-       static Int_t CheckChipEta(const Int_t chipKey, const TString scut,
+       static Bool_t SPDLoc2Glo(Int_t id, const Double_t *loc, Double_t *glo);
+       static Int_t CheckChipEta(Int_t chipKey, TString scut,
                                  const Double_t vtxPos[]);
-       static void GetNFO(const AliESDEvent *ESDEvent, const TString etacut,
+       static void GetNFO(const AliESDEvent *ESDEvent, TString etacut,
                           Int_t ctr[]);
        // AOD only
        //---------