Removing some (but not all!) annoying warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jan 2012 15:50:37 +0000 (15:50 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jan 2012 15:50:37 +0000 (15:50 +0000)
PWGPP/ITS/AliAlignmentDataFilterITS.cxx
PWGPP/ITS/AliAlignmentDataFilterITS.h
PWGPP/TPC/AliPerformanceDCA.cxx
PWGPP/TPC/AliPerformanceDCA.h
PWGPP/TPC/AliPerformanceDEdx.cxx
PWGPP/TPC/AliPerformanceDEdx.h
PWGPP/TPC/AliPerformanceObject.cxx
PWGPP/TPC/AliPerformanceObject.h
PWGPP/TPC/AliPerformanceTPC.cxx
PWGPP/TPC/AliPerformanceTPC.h
PWGPP/TRD/AliTRDcheckESD.cxx

index a0ea26d..8044544 100644 (file)
@@ -977,10 +977,10 @@ const AliITSRecoParam *AliAlignmentDataFilterITS::GetRecoParam() const
   } else return NULL;
 }
 //--------------------------------------------------------------------------------
-Int_t AliAlignmentDataFilterITS::WriteTrackPointsInIdealGeom(Char_t *fin, 
-                                                            Char_t *fout,
-                                                            Char_t *fmis,
-                                                            Char_t *fgeo,
+Int_t AliAlignmentDataFilterITS::WriteTrackPointsInIdealGeom(const Char_t *fin, 
+                                                            const Char_t *fout,
+                                                            const Char_t *fmis,
+                                                            const Char_t *fgeo,
                                                             Bool_t prn)
 {
   //
index 7ae0272..33d3703 100644 (file)
@@ -42,10 +42,10 @@ class AliAlignmentDataFilterITS : public AliAnalysisTaskSE
   void SetDownsamplelowpt(Bool_t set=kTRUE) {fDownsamplelowpt=set;}
   void SetGeometryFileName(TString name="geometry.root") {fGeometryFileName=name;}
   void SetITSRecoParam(AliITSRecoParam *rp) {fITSRecoParam=rp;}
-  static Int_t WriteTrackPointsInIdealGeom(Char_t *fin="AliTrackPoints.root", 
-                                          Char_t *fout="AliTrackPoints_IdGeom.root",
-                                          Char_t *fmis="Run0_999999999_v3_s0.root",
-                                          Char_t *fgeo="geometry.root",
+  static Int_t WriteTrackPointsInIdealGeom(const Char_t *fin="AliTrackPoints.root", 
+                                          const Char_t *fout="AliTrackPoints_IdGeom.root",
+                                          const Char_t *fmis="Run0_999999999_v3_s0.root",
+                                          const Char_t *fgeo="geometry.root",
                                           Bool_t prn=0);
 
  private:
index ab21bdd..5cf710f 100644 (file)
@@ -77,7 +77,7 @@ AliPerformanceDCA::AliPerformanceDCA():
 }
 
 //_____________________________________________________________________________
-AliPerformanceDCA::AliPerformanceDCA(Char_t* name="AliPerformanceDCA", Char_t* title="AliPerformanceDCA",Int_t analysisMode=0, Bool_t hptGenerator=kFALSE):
+AliPerformanceDCA::AliPerformanceDCA(const Char_t* name="AliPerformanceDCA", const Char_t* title="AliPerformanceDCA",Int_t analysisMode=0, Bool_t hptGenerator=kFALSE):
   AliPerformanceObject(name,title),
 
   // DCA histograms
index 8217e50..aa503bc 100644 (file)
@@ -28,7 +28,7 @@ class TNamed;
 class AliPerformanceDCA : public AliPerformanceObject {
 public :
   AliPerformanceDCA(); 
-  AliPerformanceDCA(Char_t* name, Char_t* title, Int_t analysisMode, Bool_t hptGenerator);
+  AliPerformanceDCA(const Char_t* name, const Char_t* title, Int_t analysisMode, Bool_t hptGenerator);
   ~AliPerformanceDCA();
 
   // Init data members
index 4c1d7e9..032e2c1 100644 (file)
@@ -87,7 +87,7 @@ AliPerformanceDEdx::AliPerformanceDEdx():
 }
 
 //_____________________________________________________________________________
-AliPerformanceDEdx::AliPerformanceDEdx(Char_t* name="AliPerformanceDEdx", Char_t* title="AliPerformanceDEdx",Int_t analysisMode=0, Bool_t hptGenerator=kFALSE):
+AliPerformanceDEdx::AliPerformanceDEdx(const Char_t* name="AliPerformanceDEdx", const Char_t* title="AliPerformanceDEdx",Int_t analysisMode=0, Bool_t hptGenerator=kFALSE):
   AliPerformanceObject(name,title),
 
   // dEdx 
index 9db759a..b029e1d 100644 (file)
@@ -29,7 +29,7 @@ class AliMCInfoCuts;
 class AliPerformanceDEdx : public AliPerformanceObject {
 public :
   AliPerformanceDEdx(); 
-  AliPerformanceDEdx(Char_t* name, Char_t* title, Int_t analysisMode, Bool_t hptGenerator);
+  AliPerformanceDEdx(const Char_t* name, const Char_t* title, Int_t analysisMode, Bool_t hptGenerator);
   ~AliPerformanceDEdx();
 
   // Init data members
index dc13d9f..8a0ce98 100644 (file)
@@ -80,7 +80,7 @@ AliPerformanceObject::~AliPerformanceObject(){
 }
 
 //_____________________________________________________________________________
-void AliPerformanceObject::PrintHisto(Bool_t logz, Char_t * outFileName) {
+void AliPerformanceObject::PrintHisto(Bool_t logz, const Char_t * outFileName) {
   // draw all histograms from the folder 
   // and store them in the output *.ps file
  
index 7a16f7b..b840ab1 100644 (file)
@@ -71,7 +71,7 @@ public :
   Bool_t IsHptGenerator() const {return fHptGenerator;}\r
 \r
   // draw all histograms from the folder\r
-  void PrintHisto(Bool_t logz = kTRUE, Char_t * outFileName = "PerformanceQAHisto.ps"); \r
+  void PrintHisto(Bool_t logz = kTRUE, const Char_t * outFileName = "PerformanceQAHisto.ps"); \r
 \r
   // create log axis \r
   Double_t *CreateLogAxis(Int_t nbins, Double_t xmin, Double_t xmax); \r
index 7047532..c3983ed 100644 (file)
@@ -99,7 +99,7 @@ AliPerformanceTPC::AliPerformanceTPC():
 */
 
 //_____________________________________________________________________________
-AliPerformanceTPC::AliPerformanceTPC(Char_t* name, Char_t* title,Int_t analysisMode,Bool_t hptGenerator, Int_t run, Bool_t highMult):
+AliPerformanceTPC::AliPerformanceTPC(const Char_t* name, const Char_t* title,Int_t analysisMode,Bool_t hptGenerator, Int_t run, Bool_t highMult):
   AliPerformanceObject(name,title,run,highMult),
   fTPCClustHisto(0),
   fTPCEventHisto(0),
index 8a3f94e..50d734b 100644 (file)
@@ -31,7 +31,7 @@ class AliRecInfoCuts;
 class AliPerformanceTPC : public AliPerformanceObject {
 public :
   //AliPerformanceTPC(); 
-  AliPerformanceTPC(Char_t* name="AliPerformanceTPC", Char_t* title="AliPerformanceTPC",Int_t analysisMode=0,Bool_t hptGenerator=kFALSE, Int_t run=-1, Bool_t highMult = kFALSE);
+  AliPerformanceTPC(const Char_t* name="AliPerformanceTPC", const Char_t* title="AliPerformanceTPC",Int_t analysisMode=0,Bool_t hptGenerator=kFALSE, Int_t run=-1, Bool_t highMult = kFALSE);
 
   virtual ~AliPerformanceTPC();
 
index 42701d5..50e5f14 100644 (file)
@@ -2069,17 +2069,12 @@ TH1F* AliTRDcheckESD::EfficiencyTRD(TH3* tpc3D, TH3* trd3D, Bool_t useAcceptance
 }
 
 //__________________________________________________________________________________________________
-void AliTRDcheckESD::PlotCentSummaryFromCF(Double_t* trendValues, const Char_t* triggerName, Bool_t useIsolatedBC, Bool_t cutTOFbc) {
+void AliTRDcheckESD::PlotCentSummaryFromCF(Double_t* /*trendValues*/, const Char_t* /*triggerName*/, Bool_t /*useIsolatedBC*/, Bool_t /*cutTOFbc*/) {
   //
   // Make the centrality summary figure from the CF container 
   // 
   if(!fMatchingPtCF) return;
   AliCFContainer* cf = 0x0;    
-  triggerName = triggerName;
-  useIsolatedBC = useIsolatedBC;
-  cutTOFbc = cutTOFbc;
-  
-  trendValues = trendValues;
   
   TLatex* lat=new TLatex();
   lat->SetTextSize(0.06);
@@ -2259,15 +2254,12 @@ void AliTRDcheckESD::PlotCentSummaryFromCF(Double_t* trendValues, const Char_t*
 
 
 //_________________________________________________________________
-void AliTRDcheckESD::PlotTrackingSummaryFromCF(Double_t* trendValues, const Char_t* triggerName, Bool_t useIsolatedBC, Bool_t cutTOFbc) {
+void AliTRDcheckESD::PlotTrackingSummaryFromCF(Double_t* trendValues, const Char_t* /*triggerName*/, Bool_t /*useIsolatedBC*/, Bool_t /*cutTOFbc*/) {
   //
   //  Plot tracking summary
   //
   if(!fMatchingPhiEtaCF || !fMatchingPtCF || !fCentralityCF || !fBunchCrossingsCF) return;
   AliCFContainer* cf = 0x0;  
-  triggerName = triggerName;
-  useIsolatedBC = useIsolatedBC;
-  cutTOFbc = cutTOFbc;
   
   TLatex *lat=new TLatex();
   lat->SetTextSize(0.06);
@@ -2625,16 +2617,13 @@ void AliTRDcheckESD::PlotTrackingSummaryFromCF(Double_t* trendValues, const Char
 
 
 //_________________________________________________________________
-void AliTRDcheckESD::PlotPidSummaryFromCF(Double_t* trendValues, const Char_t* triggerName, Bool_t useIsolatedBC, Bool_t cutTOFbc) {
+void AliTRDcheckESD::PlotPidSummaryFromCF(Double_t* trendValues, const Char_t* /*triggerName*/, Bool_t /*useIsolatedBC*/, Bool_t /*cutTOFbc*/) {
   //
   // Centrality summary
   //
   if(!fQtotCF || !fPulseHeightCF || !fCentralityCF) return;
   
   AliCFContainer* cf = 0x0;
-  triggerName = triggerName;
-  useIsolatedBC = useIsolatedBC;
-  cutTOFbc = cutTOFbc;  
   
   TLatex *lat=new TLatex();
   lat->SetTextSize(0.07);
@@ -2751,12 +2740,10 @@ void AliTRDcheckESD::PlotPidSummaryFromCF(Double_t* trendValues, const Char_t* t
 
 
 //_________________________________________________________________
-Bool_t AliTRDcheckESD::PlotCentSummary(Double_t* trendValues) {
+Bool_t AliTRDcheckESD::PlotCentSummary(Double_t* /*trendValues*/) {
 
   Bool_t isGoodForSaving=kFALSE;
   
-  trendValues = trendValues;
-  
   TLatex* lat=new TLatex();
   lat->SetTextSize(0.06);
   lat->SetTextColor(2);