Skip to content

Commit

Permalink
Merge pull request #3 from eic/marrbnl-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
marrbnl authored Dec 17, 2024
2 parents 75eb658 + 8e71066 commit 39eb33a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ cd ../../
```
git clone https://gitlab.com/eic/D0Gen.git --branch <D0Gen_version> --single-branch
cd D0Gen
g++ main41_D0.cc -o main41_D0 `pythia8-config --cxxflags --libs --hepmc3`
g++ main41_D0_from_piK.cc -o main41_D0_from_piK `pythia8-config --cxxflags --libs --hepmc3`
```

For example:
<D0Gen_version> = pythia8.306-1.0 corresponds to <pythia_version> = pythia8306
<D0Gen_version> = pythia8.306-1.1 corresponds to <pythia_version> = pythia8306

## Usage

1) Execute D0 generator
```
./main41_D0
./main41_D0_from_piK
```
The code will generate four HepMC files, each containing events with a D0. The code will stop when the desired number of D0s produced (D0count) is reached. You can modify the value of D0count in the code to change the number of events you want to generate.
The code will generate 10 HepMC files, each containing events with a D0 that decay into pion and kaon within the ePIC acceptance of |eta| < 3.5. The code will stop when the desired number of D0s produced (Total_Count) is reached. You can modify the value of Total_Count in the code to change the number of events you want to generate.

2) Take the generated outputs and run [afterburner](https://github.com/eic/afterburner) with the right setting for example
```
abconv -p ip6_hidiv_275x18 hepmc_D01.dat
abconv -p ip6_hidiv_100x10 hepmc_D01.dat
```

0 comments on commit 39eb33a

Please sign in to comment.