Fix in the histogram for the mathing efficiency in TOF (thanks to Chiara and Annalisa).
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 May 2009 08:41:38 +0000 (08:41 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 May 2009 08:41:38 +0000 (08:41 +0000)
STEER/AliGlobalQADataMaker.cxx

index 6b808f2..13144c3 100644 (file)
@@ -222,7 +222,8 @@ void AliGlobalQADataMaker::MakeESDs(AliESDEvent * event) {
         if (TMath::Abs(y)<0.9) {
           GetESDsData(kTrk2)->Fill(p);
           if (track->IsOn(AliESDtrack::kITSrefit)) GetESDsData(kTrk3)->Fill(p);
-          if (track->IsOn(AliESDtrack::kTOFout)) GetESDsData(kTrk4)->Fill(p);
+         //if (track->IsOn(AliESDtrack::kTOFout)) GetESDsData(kTrk4)->Fill(p);
+          if (track->GetTOFsignal()>0) GetESDsData(kTrk4)->Fill(p);
        }
       }
     }