#include <G4LHEPAntiBarionBuilder.hh>
Definition at line 54 of file G4LHEPAntiBarionBuilder.hh.
◆ G4LHEPAntiBarionBuilder()
G4LHEPAntiBarionBuilder::G4LHEPAntiBarionBuilder |
( |
| ) |
|
Definition at line 48 of file G4LHEPAntiBarionBuilder.cc.
48 :
49 theAntiProtonInelastic(0), theLEAntiProtonModel(0), theHEAntiProtonModel(0),
50 theAntiNeutronInelastic(0), theLEAntiNeutronModel(0), theHEAntiNeutronModel(0),
51 wasActivated(false)
52{}
◆ ~G4LHEPAntiBarionBuilder()
G4LHEPAntiBarionBuilder::~G4LHEPAntiBarionBuilder |
( |
| ) |
|
|
virtual |
◆ Build()
void G4LHEPAntiBarionBuilder::Build |
( |
| ) |
|
Definition at line 57 of file G4LHEPAntiBarionBuilder.cc.
58{
60 wasActivated = true;
61
62
68 theAntiProtonInelastic->
RegisterMe(theLEAntiProtonModel);
69 theAntiProtonInelastic->
RegisterMe(theHEAntiProtonModel);
71
72
78 theAntiNeutronInelastic->
RegisterMe(theLEAntiNeutronModel);
79 theAntiNeutronInelastic->
RegisterMe(theHEAntiNeutronModel);
81}
static G4AntiNeutron * AntiNeutron()
static G4AntiProton * AntiProton()
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
The documentation for this class was generated from the following files: