Skip to content

Commit

Permalink
Bug parsing AntiLambda decay codes for generated MC.
Browse files Browse the repository at this point in the history
  • Loading branch information
remitche66 committed Sep 10, 2021
1 parent 5da68c3 commit b6d008c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FlattenForFSRoot/flatten.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,8 @@ map<TString, vector<TString> > GlueXDecayProductMap(int fsCode1, int fsCode2){
tmp = "Photon"; tmp += (pNumber++); names.push_back(tmp); }
if (name.Contains("KShort")){ tmp = "PiPlus"; tmp += (pNumber++); names.push_back(tmp);
tmp = "PiMinus"; tmp += (pNumber++); names.push_back(tmp); }
if (name.Contains("Lambda")){ tmp = "Proton"; tmp += (pNumber++); names.push_back(tmp);
if (name.Contains("Lambda")&&!name.Contains("AntiLambda"))
{ tmp = "Proton"; tmp += (pNumber++); names.push_back(tmp);
tmp = "PiMinus"; tmp += (pNumber++); names.push_back(tmp); }
if (name.Contains("AntiLambda")){ tmp = "AntiProton"; tmp += (pNumber++); names.push_back(tmp);
tmp = "PiPlus"; tmp += (pNumber++); names.push_back(tmp); }
Expand Down

0 comments on commit b6d008c

Please sign in to comment.