Macro to Create pulser run data from an LDC
[u/mrichter/AliRoot.git] / TOF / AliTOFProb.cxx
index 31b0b0e..c6d987c 100644 (file)
@@ -52,7 +52,6 @@
 #include "TLeaf.h"
 
 #include "AliConst.h"
-#include "AliTOFConstants.h"
 #include "AliTOFProb.h"
 
 #include <stdlib.h>
@@ -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