Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCLXXProtonBuilder Class Reference

#include <G4INCLXXProtonBuilder.hh>

Inheritance diagram for G4INCLXXProtonBuilder:
Collaboration diagram for G4INCLXXProtonBuilder:

Public Member Functions

 G4INCLXXProtonBuilder ()
 
virtual ~G4INCLXXProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 

Detailed Description

Builder for proton processes using the INCL++ intra-nuclear cascade model.

By default the INCL++ is used for projectile energies 0 - 3 GeV.

The builder uses INCL++ cascade model with G4ExcitationHandler de-excitation. This is implemented in interface G4INCLXXInterface.

See Also
G4INCLXXInterface
G4INCLXXNeutronBuilder
G4INCLXXPiKBuilder

Definition at line 54 of file G4INCLXXProtonBuilder.hh.

Constructor & Destructor Documentation

G4INCLXXProtonBuilder::G4INCLXXProtonBuilder ( )

Definition at line 37 of file G4INCLXXProtonBuilder.cc.

38 {
39  thePreCompoundMin = 0;
40  thePreCompoundMax = 2*MeV;
41  theMin = 1.0*MeV;
42  theMax = 3.0*GeV;
45  thePreCompoundModel = static_cast<G4VPreCompoundModel*>(p);
46  if(!thePreCompoundModel) { thePreCompoundModel = new G4PreCompoundModel(); }
47  theModel = new G4INCLXXInterface(thePreCompoundModel);
48 }
const char * p
Definition: xmltok.h:285
INCL++ intra-nuclear cascade.
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
static constexpr double MeV
Definition: G4SIunits.hh:214

Here is the call graph for this function:

G4INCLXXProtonBuilder::~G4INCLXXProtonBuilder ( )
virtual

Definition at line 51 of file G4INCLXXProtonBuilder.cc.

52 {
53  //delete theModel;
54 }

Member Function Documentation

void G4INCLXXProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Build elastic process.

No elastic process is built.

Implements G4VProtonBuilder.

Definition at line 57 of file G4INCLXXProtonBuilder.cc.

58 {
59 }
void G4INCLXXProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Build inelastic process.

Implements G4VProtonBuilder.

Definition at line 62 of file G4INCLXXProtonBuilder.cc.

63 {
64  thePreCompoundModel->SetMinEnergy(thePreCompoundMin);
65  thePreCompoundModel->SetMaxEnergy(thePreCompoundMax);
66  aP->RegisterMe(thePreCompoundModel);
67  theModel->SetMinEnergy(theMin);
68  theModel->SetMaxEnergy(theMax);
69  aP->RegisterMe(theModel);
71 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4Proton * Proton()
Definition: G4Proton.cc:93
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4INCLXXProtonBuilder::SetMaxEnergy ( G4double  aM)
inline

Set the maximum energy limit for the model.

Definition at line 81 of file G4INCLXXProtonBuilder.hh.

81 {theMax = aM;}
void G4INCLXXProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Set the minimum energy limit for the model.

Definition at line 76 of file G4INCLXXProtonBuilder.hh.

76 {theMin = aM;}

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