]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFProb.cxx
Suppression of some warnings
[u/mrichter/AliRoot.git] / TOF / AliTOFProb.cxx
index 50b6de47410330ee4d281c5cdeeffdbfce34f10a..8cb621213746b45aa9b3f6afb25ef5ebb9992bcd 100644 (file)
@@ -56,8 +56,8 @@
 #include "AliTOFProb.h"
 
 #include <stdlib.h>
-#include <iostream.h>
-#include <fstream.h>
+#include <Riostream.h>
+#include <Riostream.h>
 
 ClassImp(AliTOFProb)
 
@@ -131,7 +131,7 @@ void AliTOFProb::Init()
 
 
 //____________________________________________________________________________
-void AliTOFProb::Exec(const Option_t *dummyOpt
+void AliTOFProb::Exec(const Option_t * /*dummyOpt*/
 { 
   //
   // Performs Prob for TOF detector
@@ -160,7 +160,9 @@ void AliTOFProb::Exec(const Option_t *dummyOpt)
     fNtuple->GetEvent(i);
     //Int_t event=(Int_t)(fNtuple->GetLeaf("event")->GetValue());
     Int_t pdgcode=(Int_t)(fNtuple->GetLeaf("ipart")->GetValue());
-    Float_t mass=fNtuple->GetLeaf("mext")->GetValue(0);
+    // unused for the time being in the context of probabilities
+    // probably it will be included in AliESD approach
+    //Float_t mass=fNtuple->GetLeaf("mext")->GetValue(0);
     Int_t matc=(Int_t)(fNtuple->GetLeaf("matc")->GetValue(0));
     Int_t imam=(Int_t)(fNtuple->GetLeaf("imam")->GetValue(0));
     Float_t time=fNtuple->GetLeaf("text")->GetValue(0); // [ns]
@@ -260,7 +262,7 @@ void AliTOFProb::Exec(const Option_t *dummyOpt)
 
 
 //__________________________________________________________________
-Bool_t AliTOFProb::operator==( AliTOFProb const & tofrec)const
+Bool_t AliTOFProb::operator==( AliTOFProb const & /*tofrec*/)const
 {
   // dummy version of Equal operator.
   // requested by coding conventions