-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic implementation of cocktail generation
- Loading branch information
1 parent
a206db4
commit 94cfe33
Showing
5 changed files
with
255 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- doxy | ||
\page refrunSimExamplesHybrid Example Hybrid_cocktail | ||
/doxy --> | ||
|
||
The usage of the Hybrid generator using cocktails is presented in this example. | ||
The syntax of the JSON file shows how the cocktails can be grouped. Each generator will be pulled exactly once in order for each cocktail event generation. | ||
The basic Hybrid Generator mechanisms are shown in the Hybrid and Hybrid_parallel example folders. | ||
The cocktail configuration can not be setup with the template script for now. | ||
|
||
# Files description | ||
|
||
- **runo2sim.sh** → allows to use the hybrid generator example | ||
- **hybridcocktail.json** → example JSON file for the hybrid generator configuration using cocktails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"generators": [ | ||
{ | ||
"cocktail": [ | ||
{ | ||
"name": "pythia8", | ||
"config": { | ||
"config": "$O2_ROOT/share/Generators/egconfig/pythia8_inel.cfg", | ||
"hooksFileName": "", | ||
"hooksFuncName": "", | ||
"includePartonEvent": false, | ||
"particleFilter": "", | ||
"verbose": 0 | ||
} | ||
}, | ||
{ | ||
"name": "external", | ||
"config": { | ||
"fileName": "${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV.C", | ||
"funcName": "GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV()", | ||
"iniFile": "" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"cocktail": [ | ||
{ | ||
"name": "pythia8pp" | ||
}, | ||
{ | ||
"name": "extkinO2", | ||
"config": { | ||
"skipNonTrackable": true, | ||
"continueMode": false, | ||
"roundRobin": false, | ||
"randomize": false, | ||
"rngseed": 0, | ||
"randomphi": false, | ||
"fileName": "${PWD}/evtpool.root" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "pythia8hf", | ||
"config": "" | ||
} | ||
], | ||
"fractions": [ | ||
1, | ||
1, | ||
1 | ||
] | ||
} |
Oops, something went wrong.