Skip to content

Commit

Permalink
Modify Lnn generator to include Li4
Browse files Browse the repository at this point in the history
  • Loading branch information
mpuccio authored and sawenzel committed Jan 10, 2025
1 parent dd1ded7 commit 9535629
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[GeneratorExternal]
fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_longlived_gaptriggered.C
funcName=generateLongLivedGapTriggered("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun", 1)
funcName=generateLongLivedGapTriggered("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun", 1)

[GeneratorPythia8]
config=${O2_ROOT}/share/Generators/egconfig/pythia8_hi.cfg
config=${O2_ROOT}/share/Generators/egconfig/pythia8_hi.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
int External()
{
std::string path{"o2sim_Kine.root"};
std::vector<int> possiblePDGs = {1010000030, -1010000030};
std::vector<int> possiblePDGs = {1010000030, -1010000030, 1000030040, -1000030040};

int nPossiblePDGs = possiblePDGs.size();

Expand Down Expand Up @@ -50,4 +50,4 @@ int External()
std::cout << possiblePDGs[i] << ": " << std::count(injectedPDGs.begin(), injectedPDGs.end(), possiblePDGs[i]) << "\n";
}
return 0;
}
}
5 changes: 5 additions & 0 deletions MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# PDG N ptMin ptMax yMin yMax
1010000030 10 0.2 10 -1 1
-1010000030 10 0.2 10 -1 1
1000030040 10 0.2 10 -1 1
-1000030040 10 0.2 10 -1 1
3 changes: 0 additions & 3 deletions MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun

This file was deleted.

0 comments on commit 9535629

Please sign in to comment.