Skip to content

Commit

Permalink
fix application of TPC pileup correction for MC
Browse files Browse the repository at this point in the history
  • Loading branch information
jezwilkinson authored and chiarazampolli committed Apr 23, 2021
1 parent 6cffb89 commit c885176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions STEER/STEERBase/AliPIDResponse.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3435,9 +3435,9 @@ Float_t AliPIDResponse::GetTPCsignalTunedOnData(const AliVTrack *t) const
if(kGood){
//TODO maybe introduce different dEdxSources?
Double_t bethe = fTPCResponse.GetExpectedSignal(t, type, AliTPCPIDResponse::kdEdxDefault, UseTPCEtaCorrection(),
UseTPCMultiplicityCorrection());
UseTPCMultiplicityCorrection(), fUseTPCPileupCorrection);
Double_t sigma = fTPCResponse.GetExpectedSigma(t, type, AliTPCPIDResponse::kdEdxDefault, UseTPCEtaCorrection(),
UseTPCMultiplicityCorrection());
UseTPCMultiplicityCorrection(), fUseTPCPileupCorrection);
dedx = gRandom->Gaus(bethe,sigma);
// if(iS == AliPID::ParticleCode(AliPID::kHe3) || iS == AliPID::ParticleCode(AliPID::kAlpha)) dedx *= 5;
}
Expand Down

0 comments on commit c885176

Please sign in to comment.