Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( )
virtual

Definition at line 55 of file G4AntiBarionBuilder.cc.

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

Member Function Documentation

void G4AntiBarionBuilder::Build ( )

Definition at line 67 of file G4AntiBarionBuilder.cc.

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

Here is the call graph for this function:

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: