Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GeoModelDev
GeoModel
Merge requests
!13
Add Pythia generator action
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Pythia generator action
amadio/GeoModel:pythia-generator
into
master
Overview
15
Commits
1
Pipelines
4
Changes
6
Merged
Guilherme Amadio
requested to merge
amadio/GeoModel:pythia-generator
into
master
4 years ago
Overview
15
Commits
1
Pipelines
4
Changes
6
Expand
This adds a new command line option that allows to use Pythia to generate events on the fly.
Edited
4 years ago
by
Marilena Bandieramonte
0
0
Merge request reports
Compare
master
version 4
a9621de2
4 years ago
version 3
93569fd2
4 years ago
version 2
82900026
4 years ago
version 1
516ba4ec
4 years ago
master (base)
and
latest version
latest version
a9621de2
1 commit,
4 years ago
version 4
a9621de2
1 commit,
4 years ago
version 3
93569fd2
1 commit,
4 years ago
version 2
82900026
1 commit,
4 years ago
version 1
516ba4ec
1 commit,
4 years ago
6 files
+
220
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
FullSimLight/include/PythiaPrimaryGeneratorAction.hh
0 → 100644
+
26
−
0
Options
#ifndef PythiaPrimaryGeneratorAction_h
#define PythiaPrimaryGeneratorAction_h 1
#if USE_PYTHIA
#include
<Pythia8/Pythia.h>
#include
<G4VUserPrimaryGeneratorAction.hh>
class
G4Event
;
bool
use_pythia
();
void
set_pythia_config
(
const
char
*
);
class
PythiaPrimaryGeneratorAction
final
:
public
G4VUserPrimaryGeneratorAction
{
public:
PythiaPrimaryGeneratorAction
();
void
GeneratePrimaries
(
G4Event
*
)
override
;
private:
Pythia8
::
Pythia
pythia
;
};
#endif
#endif
Loading