Skip to content

Commit

Permalink
Merge pull request #170 from JeffersonLab/flatten_working
Browse files Browse the repository at this point in the history
Bug parsing AntiLambda decay codes for generated MC.
  • Loading branch information
mashephe authored Sep 10, 2021
2 parents 5da68c3 + b6d008c commit 996d5c6
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 996d5c6

Please sign in to comment.