Analysis Software
Documentation for sPHENIX simulation software
|
#include <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, Acts::UnitConstants::GeV, identify, ActsExamples::HepMC3Vertex::inEvent(), mass, PHWHERE, position, PHG4UserPrimaryParticleInformation::set_user_barcode(), and testSigmaEff::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().