]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
effc++ warnings corrected
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 16 Mar 2008 22:43:30 +0000 (22:43 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 16 Mar 2008 22:43:30 +0000 (22:43 +0000)
PWG0/TPC/AliROCClusterAnalysisSelector.cxx
PWG0/TPC/AliTPCClusterHistograms.cxx
PWG0/TPC/AliTPCRawHistograms.cxx
PWG0/base/AliAnalysisTaskESDfilter.cxx
PWG0/dNdEta/AliMultiplicityCorrection.cxx
PWG1/AliESDRecV0Info.h
PWG1/AliRecInfoMaker.cxx
PWG2/FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticleYPt.h

index 4a8f88151971273fa85c57e7e8bbed584ec21459..bd509eea3a213afe4a19a717c43e214935ba9fb1 100644 (file)
@@ -48,6 +48,7 @@ ClassImp(AliROCClusterAnalysisSelector)
 
 AliROCClusterAnalysisSelector::AliROCClusterAnalysisSelector() :
   AliSelectorRL(),
+  fNMaxObjectsToSave(0),
   fObjectsToSave(0)
 {
   //
index 4cdf48d6e0d6eb2a6aabdd2f85c014eba2dfb8c3..4d5d5c9439ec8e60575c8b8769d5e4deff5881b6 100644 (file)
@@ -718,8 +718,8 @@ void AliTPCClusterHistograms::FillTrack(const AliTPCseed* seed) {
       if (IsClusterOnEdge(cluster))
        return;
 
-    Int_t padRow =   cluster->GetRow(); 
-    Float_t qMax =   cluster->GetMax();
+    //    Int_t padRow =   cluster->GetRow(); 
+    //Float_t qMax =   cluster->GetMax();
     Float_t qTot =   cluster->GetQ();    
 
     nClusters++;
index e15289b13e715e1d0a4b2009f445e1eacbebf28e..02b0a85de7e449f91eadc1ca04fa0af02cfdcdb7 100644 (file)
@@ -43,8 +43,11 @@ ClassImp(AliTPCRawHistograms)
 //____________________________________________________________________
 AliTPCRawHistograms::AliTPCRawHistograms() 
   : TNamed(),
+    fTimeStart(0),
+    fTimeStop(0),
     fhDigits(0),
-    fhSignal(0)
+    fhSignal(0),
+    fDigitTree(0)
 {
   // default constructor
 }
@@ -52,9 +55,11 @@ AliTPCRawHistograms::AliTPCRawHistograms()
 //____________________________________________________________________
 AliTPCRawHistograms::AliTPCRawHistograms(Int_t detector, const Char_t* /* comment */, Int_t timeStart, Int_t timeStop)
   : TNamed(),
+    fTimeStart(timeStart),
+    fTimeStop(timeStop),
     fhDigits(0),
-    fhSignal(0),
-    fDigitTree(0)
+    fhSignal(new TH1F("fhSignal", "fhSignal", 200, 0, 2000)),
+    fDigitTree(new TNtuple("fDigitTree", "fDigitTree", "row:pad:time:signal"))
 {
   // constructor 
   
@@ -83,9 +88,6 @@ AliTPCRawHistograms::AliTPCRawHistograms(Int_t detector, const Char_t* /* commen
   SetName(name);
   SetTitle(Form("%s (detector %d)",name.Data(), detector));
 
-  fTimeStart = timeStart;
-  fTimeStop  = timeStop;
-  
   Float_t yRange   = 45;
   Int_t nPadRows   = 96;
   
@@ -99,15 +101,17 @@ AliTPCRawHistograms::AliTPCRawHistograms(Int_t detector, const Char_t* /* commen
   TH1::AddDirectory(kFALSE);
 
   fhDigits = new TH3F("fhDigits", Form("signal distribution;row;pad;time", name.Data()), nPadRows, -0.5, -0.5 + nPadRows, 150, -0.5, 149.5, 100, 0, 1200);
-  fhSignal = new TH1F("fhSignal", "fhSignal", 200, 0, 2000);
-  
-  fDigitTree = new TNtuple("fDigitTree", "fDigitTree", "row:pad:time:signal");
 
   TH1::AddDirectory(oldStatus);
 }
 
 //____________________________________________________________________
-AliTPCRawHistograms::AliTPCRawHistograms(const AliTPCRawHistograms& c) : TNamed(c)
+AliTPCRawHistograms::AliTPCRawHistograms(const AliTPCRawHistograms& c) : TNamed(c),
+    fTimeStart(0),
+    fTimeStop(0),
+    fhDigits(0),
+    fhSignal(0),
+    fDigitTree(0)
 {
   // copy constructor
 
@@ -148,8 +152,8 @@ Long64_t AliTPCRawHistograms::Merge(TCollection* list)
   if (list->IsEmpty())
     return 1;
 
-  TIterator* iter = list->MakeIterator();
-  TObject* obj;
+  //  TIterator* iter = list->MakeIterator();
+  //  TObject* obj;
 
    Int_t count = 0;
 
index 9aa959414d2dff716c726a9f12229732ad0fa7c9..fd7d4e3fbb84166444cc85b08547cb65415282c9 100644 (file)
@@ -161,11 +161,11 @@ void AliAnalysisTaskESDfilter::Exec(Option_t */*option*/)
     Int_t nV0s      = fESD->GetNumberOfV0s();
     Int_t nCascades = fESD->GetNumberOfCascades();
     Int_t nKinks    = fESD->GetNumberOfKinks();
-    Int_t nVertices = nV0s + nCascades + nKinks + 1 /* = prim. vtx*/;
-    Int_t nJets     = 0;
-    Int_t nCaloClus = fESD->GetNumberOfCaloClusters();
-    Int_t nFmdClus  = 0;
-    Int_t nPmdClus  = fESD->GetNumberOfPmdTracks();
+    //    Int_t nVertices = nV0s + nCascades + nKinks + 1 /* = prim. vtx*/;
+    // Int_t nJets     = 0;
+    //Int_t nCaloClus = fESD->GetNumberOfCaloClusters();
+    //Int_t nFmdClus  = 0;
+    //Int_t nPmdClus  = fESD->GetNumberOfPmdTracks();
     
     printf("   NV0=%d  NCASCADES=%d  NKINKS=%d\n", nV0s, nCascades, nKinks);
 
index 8073993b0d5a71418183697687a277c0f5806d9c..31fd28d55393790b6cf4df55c11878d0f4e31cce 100644 (file)
@@ -1281,7 +1281,7 @@ void AliMultiplicityCorrection::DrawHistograms()
 }
 
 //____________________________________________________________________
-void AliMultiplicityCorrection::DrawComparison(const char* name, Int_t inputRange, Bool_t fullPhaseSpace, Bool_t normalizeESD, TH1* mcHist, Bool_t simple)
+void AliMultiplicityCorrection::DrawComparison(const char* name, Int_t inputRange, Bool_t fullPhaseSpace, Bool_t /*normalizeESD*/, TH1* mcHist, Bool_t simple)
 {
   //mcHist->Rebin(2);
 
index 6f3d166830cf71dfbd35ca8ab099e3e7ed54c43b..045de961fdb5d827b1a176c75a76606786e44636 100644 (file)
@@ -69,6 +69,11 @@ protected:
   AliKFParticle* fKFOffRecC;        //  constrained vertex
   AliKFParticle* fKFOffRecCM;       //  constrained vertex+mass
 
+ private:
+  AliESDRecV0Info(const AliESDRecV0Info&); // Not implemented
+  AliESDRecV0Info& operator=(const AliESDRecV0Info&); // Not implemented
+
+
   ClassDef(AliESDRecV0Info,2)   // container for  
 };
 
index 010fe3133b2c35c29191124c8990f0027dc697fd..415f62e92836ccc5272e74d5b15f70c9a3ae8a73 100644 (file)
@@ -800,7 +800,7 @@ Int_t AliRecInfoMaker::TreeGenLoop(Int_t eventNr)
   cerr<<"fNParticles, nParticlesTR, fNextTreeGenEntryToRead: "<<fNParticles<<" "
       <<nParticlesTR<<" "<<fNextTreeGenEntryToRead<<endl;
   TBranch * branch = fTreeCmp->GetBranch("RC");
-  TBranch * branchF = fTreeCmp->GetBranch("F");
+  //  TBranch * branchF = fTreeCmp->GetBranch("F");
   
   branch->SetAddress(&fRecInfo); // set all pointers
   fRecArray = new TObjArray(fNParticles);
index 4ba4f5bb2b22405fae3ce414abf7fc9bc5fa7813..18381b428b88ecec89e9817d0f512cc042d407a4 100644 (file)
@@ -30,7 +30,16 @@ public:
   AliFemtoCutMonitorParticleYPt& operator=(const AliFemtoCutMonitorParticleYPt& aCut);
 
   virtual AliFemtoString Report();
+  virtual void Fill(const AliFemtoEvent* aEvent) {AliFemtoCutMonitor::Fill(aEvent);}
   virtual void Fill(const AliFemtoTrack* aTrack);
+  virtual void Fill(const AliFemtoV0* aV0) {AliFemtoCutMonitor::Fill(aV0);}
+  virtual void Fill(const AliFemtoKink* aKink) {AliFemtoCutMonitor::Fill(aKink);}
+  virtual void Fill(const AliFemtoPair* aPair) {AliFemtoCutMonitor::Fill(aPair);}
+  virtual void Fill(const AliFemtoParticleCollection* aCollection) {AliFemtoCutMonitor::Fill(aCollection);}
+  virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection)
+  {AliFemtoCutMonitor::Fill(aEvent, aCollection);}
+
+
   void Write();
 
   virtual TList *GetOutputList();