EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4PrimaryGeneratorAction.h>
Public Member Functions | |
PHG4PrimaryGeneratorAction () | |
~PHG4PrimaryGeneratorAction () override | |
void | GeneratePrimaries (G4Event *anEvent) override |
void | SetInEvent (PHG4InEvent *const inevt) |
set top node (from where particle list is retrieved for passing to geant | |
void | Verbosity (const int val) |
Set/Get verbosity. | |
int | Verbosity () const |
Protected Attributes | |
int | verbosity |
Private Attributes | |
PHG4InEvent * | inEvent |
temporary pointer to input event on node tree | |
Definition at line 11 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 11 of file PHG4PrimaryGeneratorAction.h
|
inline |
Definition at line 14 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 14 of file PHG4PrimaryGeneratorAction.h
|
inlineoverride |
Definition at line 20 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4PrimaryGeneratorAction.h
|
override |
Definition at line 30 of file PHG4PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4PrimaryGeneratorAction.cc
References Acts::UnitConstants::cm, exit(), Acts::UnitConstants::GeV, mass, PHWHERE, Acts::VectorHelpers::position(), PHG4UserPrimaryParticleInformation::set_user_barcode(), and v.
|
inline |
set top node (from where particle list is retrieved for passing to geant
Definition at line 27 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4PrimaryGeneratorAction.h
References inEvent.
Referenced by PHG4Reco::process_event().
|
inline |
Set/Get verbosity.
Definition at line 33 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4PrimaryGeneratorAction.h
References verbosity.
|
inline |
Definition at line 34 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4PrimaryGeneratorAction.h
References verbosity.
|
private |
temporary pointer to input event on node tree
Definition at line 41 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4PrimaryGeneratorAction.h
Referenced by SetInEvent().
|
protected |
Definition at line 37 of file PHG4PrimaryGeneratorAction.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4PrimaryGeneratorAction.h
Referenced by Verbosity().