From: hristov Date: Tue, 11 Dec 2012 21:17:23 +0000 (+0000) Subject: Removing some meaningless const (coverity) X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=5e765cb3ad4d73bd8f108f0ceddc711aa3b14028 Removing some meaningless const (coverity) --- diff --git a/PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h b/PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h index 6d4c230560c..40572d42b3d 100644 --- a/PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h +++ b/PWGUD/DIFFRACTIVE/example/AliCDMesonBaseStripped.h @@ -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(); }; diff --git a/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.cxx b/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.cxx index 8bcfbed69a2..12bf8bb2386 100644 --- a/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.cxx +++ b/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.cxx @@ -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 diff --git a/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.h b/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.h index 6a68320303c..45345d010c1 100644 --- a/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.h +++ b/PWGUD/DIFFRACTIVE/example/AliCDMesonUtilsStripped.h @@ -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 //---------