Skip to content

Commit 2eb7908

Browse files
jesgumjesgum
andauthored
Add empty external generator and adjust ini files (#1603)
Co-authored-by: jesgum <je8022ka-s@student.lu.se>
1 parent d9e1665 commit 2eb7908

File tree

6 files changed

+51
-0
lines changed

6 files changed

+51
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Diamond]
22
width[2]=6.0
33

4+
[GeneratorExternal]
5+
fileName=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+
funcName=generator_pythia8_ALICE3()
7+
48
[GeneratorPythia8]
59
config=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_ArAr.cfg
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Diamond]
22
width[2]=6.0
33

4+
[GeneratorExternal]
5+
fileName=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+
funcName=generator_pythia8_ALICE3()
7+
48
[GeneratorPythia8]
59
config=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_KrKr.cfg
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Diamond]
22
width[2]=6.0
33

4+
[GeneratorExternal]
5+
fileName=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+
funcName=generator_pythia8_ALICE3()
7+
48
[GeneratorPythia8]
59
config=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_OO.cfg
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Diamond]
22
width[2]=6.0
33

4+
[GeneratorExternal]
5+
fileName=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+
funcName=generator_pythia8_ALICE3()
7+
48
[GeneratorPythia8]
59
config=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_PbPb.cfg
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[Diamond]
22
width[2]=6.0
33

4+
[GeneratorExternal]
5+
fileName=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C
6+
funcName=generator_pythia8_ALICE3()
7+
48
[GeneratorPythia8]
59
config=${O2DPG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_XeXe.cfg
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
#if !defined(__CLING__) || defined(__ROOTCLING__)
3+
#include "Pythia8/Pythia.h"
4+
#include "FairGenerator.h"
5+
#include "FairPrimaryGenerator.h"
6+
#include "Generators/GeneratorPythia8.h"
7+
#include "TRandom3.h"
8+
#include "TParticlePDG.h"
9+
#include "TDatabasePDG.h"
10+
#include "TMath.h"
11+
#include <cmath>
12+
using namespace Pythia8;
13+
#endif
14+
15+
// Default pythia8 minimum bias generator
16+
// Please do not change
17+
18+
class GeneratorPythia8ALICE3 : public o2::eventgen::GeneratorPythia8
19+
{
20+
public:
21+
/// Constructor
22+
GeneratorPythia8ALICE3() {}
23+
24+
/// Destructor
25+
~GeneratorPythia8ALICE3() = default;
26+
};
27+
28+
FairGenerator *generator_pythia8_ALICE3()
29+
{
30+
return new GeneratorPythia8ALICE3();
31+
}

0 commit comments

Comments
 (0)