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

#include <G4BertiniProtonBuilder.hh>

Inheritance diagram for G4BertiniProtonBuilder:
Collaboration diagram for G4BertiniProtonBuilder:

Public Member Functions

 G4BertiniProtonBuilder ()
 
virtual ~G4BertiniProtonBuilder ()
 
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

Definition at line 52 of file G4BertiniProtonBuilder.hh.

Constructor & Destructor Documentation

G4BertiniProtonBuilder::G4BertiniProtonBuilder ( )

Definition at line 46 of file G4BertiniProtonBuilder.cc.

47 {
48  theMin = 0;
49  theMax=9.9*GeV;
50  theModel = new G4CascadeInterface;
51 }
static constexpr double GeV
Definition: G4SIunits.hh:217
G4BertiniProtonBuilder::~G4BertiniProtonBuilder ( )
virtual

Definition at line 54 of file G4BertiniProtonBuilder.cc.

55 {
56 }

Member Function Documentation

void G4BertiniProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 59 of file G4BertiniProtonBuilder.cc.

60 {
61 }
void G4BertiniProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 64 of file G4BertiniProtonBuilder.cc.

65 {
66  theModel->SetMinEnergy(theMin);
67  theModel->SetMaxEnergy(theMax);
68  aP->RegisterMe(theModel);
69 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4BertiniProtonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 63 of file G4BertiniProtonBuilder.hh.

63 {theMax = aM;}
void G4BertiniProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 62 of file G4BertiniProtonBuilder.hh.

62 {theMin = aM;}

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