X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliESDv0Analysis.C;h=ee7406e937c3daa0610f40b3ec69087380008b05;hb=e506ace21abaabf61427d862702ab72770e45790;hp=102b0586b407ba47950616de3a8b39f715ff1d72;hpb=9d0d65bea834087e29dc6e4b7e9748db6e2b0b6d;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliESDv0Analysis.C b/STEER/AliESDv0Analysis.C index 102b0586b40..ee7406e937c 100644 --- a/STEER/AliESDv0Analysis.C +++ b/STEER/AliESDv0Analysis.C @@ -40,10 +40,10 @@ Int_t AliESDv0Analysis(const Char_t *dir=".") { //****** Tentative particle type "concentrations" Double_t c[5]={0.0, 0.0, 1, 0, 1}; + AliPID::SetPriors(c); //******* The loop over events - while (tree->GetEvent(n)) - { + while (tree->GetEvent(n)) { cerr<<"Processing event number : "<ChangeMassHypothesis(3122); Double_t mass=v0->GetEffMass(); - if (mass>1.17) { //check also a LambdaBar hypothesis + if (mass>1.17) { //check also the LambdaBar hypothesis v0->ChangeMassHypothesis(-3122); mass=v0->GetEffMass(); if (mass>1.17) continue; @@ -73,36 +73,24 @@ Int_t AliESDv0Analysis(const Char_t *dir=".") { // Check if the "proton track" is a proton if ((protonTrk->GetStatus()&AliESDtrack::kESDpid)!=0) { Double_t r[10]; protonTrk->GetESDpid(r); - Double_t rcc=0.; - Int_t i; - for (i=0; iGetStatus()&AliESDtrack::kESDpid)!=0) { Double_t r[10]; pionTrk->GetESDpid(r); - Double_t rcc=0.; - Int_t i; - for (i=0; iFill(mass); }