Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AntiBarionBuilder Class Reference

#include <G4AntiBarionBuilder.hh>

Public Member Functions

 G4AntiBarionBuilder ()
 
virtual ~G4AntiBarionBuilder ()
 
void Build ()
 
void RegisterMe (G4VAntiBarionBuilder *aB)
 

Detailed Description

Definition at line 47 of file G4AntiBarionBuilder.hh.

Constructor & Destructor Documentation

◆ G4AntiBarionBuilder()

G4AntiBarionBuilder::G4AntiBarionBuilder ( )

◆ ~G4AntiBarionBuilder()

G4AntiBarionBuilder::~G4AntiBarionBuilder ( )
virtual

Definition at line 54 of file G4AntiBarionBuilder.cc.

55 {
56 delete theAntiProtonInelastic;
57 delete theAntiNeutronInelastic;
58 delete theAntiDeuteronInelastic;
59 delete theAntiTritonInelastic;
60 delete theAntiHe3Inelastic;
61 delete theAntiAlphaInelastic;
62}

Member Function Documentation

◆ Build()

void G4AntiBarionBuilder::Build ( )

Definition at line 64 of file G4AntiBarionBuilder.cc.

66{
67 wasActivated = true;
68
69 std::vector<G4VAntiBarionBuilder *>::iterator i;
70 for(i=theModelCollections.begin(); i!=theModelCollections.end(); i++)
71 {
72 (*i)->Build(theAntiProtonInelastic);
73 (*i)->Build(theAntiNeutronInelastic);
74 (*i)->Build(theAntiDeuteronInelastic);
75 (*i)->Build(theAntiTritonInelastic);
76 (*i)->Build(theAntiHe3Inelastic);
77 (*i)->Build(theAntiAlphaInelastic);
78 }
79 G4ProcessManager * theProcMan;
81 theProcMan->AddDiscreteProcess(theAntiProtonInelastic);
82
84 theProcMan->AddDiscreteProcess(theAntiNeutronInelastic);
85
87 theProcMan->AddDiscreteProcess(theAntiDeuteronInelastic);
88
90 theProcMan->AddDiscreteProcess(theAntiTritonInelastic);
91
92 theProcMan = G4AntiHe3::AntiHe3()->GetProcessManager();
93 theProcMan->AddDiscreteProcess(theAntiHe3Inelastic);
94
96 theProcMan->AddDiscreteProcess(theAntiAlphaInelastic);
97}
static G4AntiAlpha * AntiAlpha()
Definition: G4AntiAlpha.cc:89
static G4AntiDeuteron * AntiDeuteron()
static G4AntiHe3 * AntiHe3()
Definition: G4AntiHe3.cc:94
static G4AntiNeutron * AntiNeutron()
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:93
static G4AntiTriton * AntiTriton()
Definition: G4AntiTriton.cc:94
G4ProcessManager * GetProcessManager() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)

Referenced by HadronPhysicsFTF_BIC::ConstructProcess(), HadronPhysicsFTFP_BERT::ConstructProcess(), HadronPhysicsFTFP_BERT_HP::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), and HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess().

◆ RegisterMe()

void G4AntiBarionBuilder::RegisterMe ( G4VAntiBarionBuilder aB)
inline

Definition at line 55 of file G4AntiBarionBuilder.hh.

55{theModelCollections.push_back(aB);}

The documentation for this class was generated from the following files: