X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWGHF%2FvertexingHF%2FAliAnalysisTaskSELc2V0bachelorTMVA.cxx;h=03214957fc8d425d4123513a7b219ad342e063cb;hb=6be550587a0cde2d9791cb3db1e607e1a36ed472;hp=c5effcc07ae4389e646ec0d7218ff1bcf53094b0;hpb=86a04b66654e7cd685ac6f2ab7e57defcaf33bfa;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelorTMVA.cxx b/PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelorTMVA.cxx index c5effcc07ae..03214957fc8 100755 --- a/PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelorTMVA.cxx +++ b/PWGHF/vertexingHF/AliAnalysisTaskSELc2V0bachelorTMVA.cxx @@ -1226,13 +1226,13 @@ void AliAnalysisTaskSELc2V0bachelorTMVA::FillLc2pK0Sspectrum(AliAODRecoCascadeHF UInt_t detUsed = fPIDCombined->ComputeProbabilities(bachelor, fPIDResponse, probTPCTOF); AliDebug(2, Form("detUsed (TPCTOF case) = %d", detUsed)); Double_t probProton = -1.; - Double_t probPion = -1.; - Double_t probKaon = -1.; + // Double_t probPion = -1.; + // Double_t probKaon = -1.; if (detUsed == (UInt_t)fPIDCombined->GetDetectorMask() ) { AliDebug(2, Form("We have found the detector mask for TOF + TPC: probProton will be set to %f", probTPCTOF[AliPID::kProton])); probProton = probTPCTOF[AliPID::kProton]; - probPion = probTPCTOF[AliPID::kPion]; - probKaon = probTPCTOF[AliPID::kKaon]; + // probPion = probTPCTOF[AliPID::kPion]; + // probKaon = probTPCTOF[AliPID::kKaon]; } else { // if you don't have both TOF and TPC, try only TPC fPIDCombined->SetDetectorMask(AliPIDResponse::kDetTPC); @@ -1241,8 +1241,8 @@ void AliAnalysisTaskSELc2V0bachelorTMVA::FillLc2pK0Sspectrum(AliAODRecoCascadeHF AliDebug(2,Form(" detUsed (TPC case) = %d", detUsed)); if (detUsed == (UInt_t)fPIDCombined->GetDetectorMask()) { probProton = probTPCTOF[AliPID::kProton]; - probPion = probTPCTOF[AliPID::kPion]; - probKaon = probTPCTOF[AliPID::kKaon]; + // probPion = probTPCTOF[AliPID::kPion]; + // probKaon = probTPCTOF[AliPID::kKaon]; AliDebug(2, Form("TPC only worked: probProton will be set to %f", probTPCTOF[AliPID::kProton])); } else { @@ -1637,9 +1637,9 @@ Int_t AliAnalysisTaskSELc2V0bachelorTMVA::CallKFVertexing(AliAODRecoCascadeHF *c } } - Double_t xn, xp, dca; + Double_t xn=0., xp=0.;//, dca; AliDebug(2, Form("bField = %f, esdv0Daugh1 = %p, esdv0Daugh2 = %p", fBField, esdv0Daugh1, esdv0Daugh2)); - dca = esdv0Daugh1->GetDCA(esdv0Daugh2, fBField, xn, xp); + // dca = esdv0Daugh1->GetDCA(esdv0Daugh2, fBField, xn, xp); AliExternalTrackParam tr1(*esdv0Daugh1); AliExternalTrackParam tr2(*esdv0Daugh2);