10000 Update README.md by marrbnl · Pull Request #3 · eic/HFsim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update README.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024
Merged
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
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