Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions MC/config/common/ini/pythia8_HeO_536.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Diamond]
width[2]=6.0

[GeneratorExternal]
fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
funcName=generator_pythia8_ALICE3()

[GeneratorPythia8]
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_HeO_536.cfg
9 changes: 9 additions & 0 deletions MC/config/common/ini/pythia8_NeO_536.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Diamond]
width[2]=6.0

[GeneratorExternal]
fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
funcName=generator_pythia8_ALICE3()

[GeneratorPythia8]
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_NeO_536.cfg
9 changes: 9 additions & 0 deletions MC/config/common/ini/pythia8_OHe_536.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Diamond]
width[2]=6.0

[GeneratorExternal]
fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
funcName=generator_pythia8_ALICE3()

[GeneratorPythia8]
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_OHe_536.cfg
9 changes: 9 additions & 0 deletions MC/config/common/ini/pythia8_ONe_536.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Diamond]
width[2]=6.0

[GeneratorExternal]
fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
funcName=generator_pythia8_ALICE3()

[GeneratorPythia8]
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/common/pythia8/generator/pythia8_ONe_536.cfg
24 changes: 24 additions & 0 deletions MC/config/common/ini/tests/pythia8_HeO_536.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
int External() {
std::string path{"o2sim_Kine.root"};

TFile file(path.c_str(), "READ");
if (file.IsZombie()) {
std::cerr << "Cannot open ROOT file " << path << "\n";
return 1;
}

auto tree = (TTree *)file.Get("o2sim");
if (!tree) {
std::cerr << "Cannot find tree o2sim in file " << path << "\n";
return 1;
}
std::vector<o2::MCTrack> *tracks{};
tree->SetBranchAddress("MCTrack", &tracks);

auto nEvents = tree->GetEntries();
if (nEvents == 0) {
std::cerr << "No event of interest\n";
return 1;
}
return 0;
}
24 changes: 24 additions & 0 deletions MC/config/common/ini/tests/pythia8_NeO_536.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
int External() {
std::string path{"o2sim_Kine.root"};

TFile file(path.c_str(), "READ");
if (file.IsZombie()) {
std::cerr << "Cannot open ROOT file " << path << "\n";
return 1;
}

auto tree = (TTree *)file.Get("o2sim");
if (!tree) {
std::cerr << "Cannot find tree o2sim in file " << path << "\n";
return 1;
}
std::vector<o2::MCTrack> *tracks{};
tree->SetBranchAddress("MCTrack", &tracks);

auto nEvents = tree->GetEntries();
if (nEvents == 0) {
std::cerr << "No event of interest\n";
return 1;
}
return 0;
}
24 changes: 24 additions & 0 deletions MC/config/common/ini/tests/pythia8_OHe_536.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
int External() {
std::string path{"o2sim_Kine.root"};

TFile file(path.c_str(), "READ");
if (file.IsZombie()) {
std::cerr << "Cannot open ROOT file " << path << "\n";
return 1;
}

auto tree = (TTree *)file.Get("o2sim");
if (!tree) {
std::cerr << "Cannot find tree o2sim in file " << path << "\n";
return 1;
}
std::vector<o2::MCTrack> *tracks{};
tree->SetBranchAddress("MCTrack", &tracks);

auto nEvents = tree->GetEntries();
if (nEvents == 0) {
std::cerr << "No event of interest\n";
return 1;
}
return 0;
}
24 changes: 24 additions & 0 deletions MC/config/common/ini/tests/pythia8_ONe_536.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
int External() {
std::string path{"o2sim_Kine.root"};

TFile file(path.c_str(), "READ");
if (file.IsZombie()) {
std::cerr << "Cannot open ROOT file " << path << "\n";
return 1;
}

auto tree = (TTree *)file.Get("o2sim");
if (!tree) {
std::cerr << "Cannot find tree o2sim in file " << path << "\n";
return 1;
}
std::vector<o2::MCTrack> *tracks{};
tree->SetBranchAddress("MCTrack", &tracks);

auto nEvents = tree->GetEntries();
if (nEvents == 0) {
std::cerr << "No event of interest\n";
return 1;
}
return 0;
}
16 changes: 16 additions & 0 deletions MC/config/common/pythia8/generator/pythia8_HeO.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### OO beams
Beams:idA = 1000020040 # Alpha
Beams:idB = 1000080160 # Oxygen
Beams:frameType 2 # back-to-back beams of different energies and particles
Beams:eA 2680. # 50% of 5360
Beams:eB 2680. # 50% of 5360

ParticleDecays:limitTau0 = on
ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c

### Save some CPU at init of jobs
### To avoid refitting, add the following lines to your configuration file:
### HeavyIon:SigFitNGen = 0
### HeavyIon:SigFitDefPar = 2.15,18.42,0.33

Random:setSeed = on
16 changes: 16 additions & 0 deletions MC/config/common/pythia8/generator/pythia8_NeO.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### OO beams
Beams:idA = 1000100200 # Neon
Beams:idB = 1000080160 # Oxygen
Beams:frameType 2 # back-to-back beams of different energies and particles
Beams:eA 2680. # 50% of 5360
Beams:eB 2680. # 50% of 5360

ParticleDecays:limitTau0 = on
ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c

### Save some CPU at init of jobs
### To avoid refitting, add the following lines to your configuration file:
### HeavyIon:SigFitNGen = 0
### HeavyIon:SigFitDefPar = 2.15,18.42,0.33

Random:setSeed = on
16 changes: 16 additions & 0 deletions MC/config/common/pythia8/generator/pythia8_OHe.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### OO beams
Beams:idA = 1000080160 # Oxygen
Beams:idB = 1000020040 # Alpha
Beams:frameType 2 # back-to-back beams of different energies and particles
Beams:eA 2680. # 50% of 5360
Beams:eB 2680. # 50% of 5360

ParticleDecays:limitTau0 = on
ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c

### Save some CPU at init of jobs
### To avoid refitting, add the following lines to your configuration file:
### HeavyIon:SigFitNGen = 0
### HeavyIon:SigFitDefPar = 2.15,18.42,0.33

Random:setSeed = on
16 changes: 16 additions & 0 deletions MC/config/common/pythia8/generator/pythia8_ONe.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### OO beams
Beams:idA = 1000080160 # Oxygen
Beams:idB = 1000100200 # Neon
Beams:frameType 2 # back-to-back beams of different energies and particles
Beams:eA 2680. # 50% of 5360
Beams:eB 2680. # 50% of 5360

ParticleDecays:limitTau0 = on
ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c

### Save some CPU at init of jobs
### To avoid refitting, add the following lines to your configuration file:
### HeavyIon:SigFitNGen = 0
### HeavyIon:SigFitDefPar = 2.15,18.42,0.33

Random:setSeed = on