]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFProb.cxx
Removing non-existing AliRICHReconOld class from the list
[u/mrichter/AliRoot.git] / TOF / AliTOFProb.cxx
index 50b6de47410330ee4d281c5cdeeffdbfce34f10a..c6d987c57035cab6a6e0639de3a9df75d358de2c 100644 (file)
 #include "TLeaf.h"
 
 #include "AliConst.h"
-#include "AliTOFConstants.h"
 #include "AliTOFProb.h"
 
 #include <stdlib.h>
-#include <iostream.h>
-#include <fstream.h>
+#include <Riostream.h>
+#include <Riostream.h>
 
 ClassImp(AliTOFProb)
 
@@ -131,7 +130,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 +159,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 +261,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