small bug fixed
authorfnoferin <fnoferin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2013 08:45:01 +0000 (08:45 +0000)
committerfnoferin <fnoferin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2013 08:45:01 +0000 (08:45 +0000)
PWGPP/pid/AliAnalysisTaskK0sBayes.cxx
PWGPP/pid/AliAnalysisTaskLambdaBayes.cxx
PWGPP/pid/AliAnalysisTaskPhiBayes.cxx

index 78262f8..9326834 100644 (file)
@@ -702,7 +702,7 @@ void AliAnalysisTaskK0sBayes::Analyze(AliAODEvent* aodEvent)
            Float_t distIP = fHchannelTOFdistr->GetBinContent(channel);
            
            // generate random time
-           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+00;
+           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+01;
            Double_t times[10];
            KpTrack->GetIntegratedTimes(times);
            nSigmaTOF = TMath::Abs(timeRandom - times[2])/PIDResponse->GetTOFResponse().GetExpectedSigma(KpTrack->P(), times[3], AliPID::kPion);
index 75917eb..3b6004a 100644 (file)
@@ -718,7 +718,7 @@ void AliAnalysisTaskLambdaBayes::Analyze(AliAODEvent* aodEvent)
            Float_t distIP = fHchannelTOFdistr->GetBinContent(channel);
            
            // generate random time
-           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+00;
+           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+01;
            Double_t times[10];
            KpTrack->GetIntegratedTimes(times);
            nSigmaTOF = TMath::Abs(timeRandom - times[4])/PIDResponse->GetTOFResponse().GetExpectedSigma(KpTrack->P(), times[3], AliPID::kProton);
index 9d53ce2..163ed46 100644 (file)
@@ -681,7 +681,7 @@ void AliAnalysisTaskPhiBayes::Analyze(AliAODEvent* aodEvent)
            Float_t distIP = fHchannelTOFdistr->GetBinContent(channel);
            
            // generate random time
-           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+00;
+           Float_t timeRandom = fHmismTOF->GetRandom() + distIP*3.35655419905265973e+01;
            Double_t times[10];
            KpTrack->GetIntegratedTimes(times);
            nSigmaTOF = TMath::Abs(timeRandom - times[3])/PIDResponse->GetTOFResponse().GetExpectedSigma(KpTrack->P(), times[3], AliPID::kKaon);