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

#include <G4BertiniPionBuilder.hh>

+ Inheritance diagram for G4BertiniPionBuilder:

Public Member Functions

 G4BertiniPionBuilder ()
 
virtual ~G4BertiniPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()
 
virtual ~G4VPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *aP)=0
 

Detailed Description

Definition at line 54 of file G4BertiniPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniPionBuilder()

G4BertiniPionBuilder::G4BertiniPionBuilder ( )

Definition at line 46 of file G4BertiniPionBuilder.cc.

48 {
49 thePiData = new G4PiNuclearCrossSection;
50 theMin = 0*GeV;
51 theMax = 9.9*GeV;
52 theModel = new G4CascadeInterface;
53 theModel->SetMinEnergy(theMin);
54 theModel->SetMaxEnergy(theMax);
55 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4BertiniPionBuilder()

G4BertiniPionBuilder::~G4BertiniPionBuilder ( )
virtual

Definition at line 57 of file G4BertiniPionBuilder.cc.

58{
59}

Member Function Documentation

◆ Build() [1/3]

void G4BertiniPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 77 of file G4BertiniPionBuilder.cc.

78{}

◆ Build() [2/3]

void G4BertiniPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 69 of file G4BertiniPionBuilder.cc.

71 {
72 aP->RegisterMe(theModel);
73 theModel->SetMinEnergy(theMin);
74 theModel->SetMaxEnergy(theMax);
75 }
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/3]

void G4BertiniPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 61 of file G4BertiniPionBuilder.cc.

63 {
64 aP->RegisterMe(theModel);
65 theModel->SetMinEnergy(theMin);
66 theModel->SetMaxEnergy(theMax);
67 }

◆ SetMaxEnergy()

void G4BertiniPionBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 66 of file G4BertiniPionBuilder.hh.

66{theMax = aM;}

◆ SetMinEnergy()

void G4BertiniPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 65 of file G4BertiniPionBuilder.hh.

65{theMin = aM;}

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