Geant4 11.2.2
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 *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void SetMaxEnergy (G4double aM) final override
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

Detailed Description

Definition at line 52 of file G4BertiniPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniPionBuilder()

G4BertiniPionBuilder::G4BertiniPionBuilder ( )

Definition at line 49 of file G4BertiniPionBuilder.cc.

51 {
52 theMin = 0.0;
54 theModel = new G4CascadeInterface;
55 theModel->SetMinEnergy(theMin);
56 theModel->SetMaxEnergy(theMax);
57 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMaxEnergyTransitionFTF_Cascade() const

◆ ~G4BertiniPionBuilder()

virtual G4BertiniPionBuilder::~G4BertiniPionBuilder ( )
inlinevirtual

Definition at line 56 of file G4BertiniPionBuilder.hh.

56{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4BertiniPionBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 58 of file G4BertiniPionBuilder.hh.

58{}

◆ Build() [2/2]

void G4BertiniPionBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 59 of file G4BertiniPionBuilder.cc.

61 {
62 theModel->SetMinEnergy(theMin);
63 theModel->SetMaxEnergy(theMax);
66 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
68 }
69 aP->RegisterMe(theModel);
70 }
const G4ParticleDefinition * GetParticleDefinition() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
static G4PionPlus * Definition()
Definition G4PionPlus.cc:46

◆ SetMaxEnergy()

virtual void G4BertiniPionBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 62 of file G4BertiniPionBuilder.hh.

62{theMax = aM;}

◆ SetMinEnergy()

virtual void G4BertiniPionBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 61 of file G4BertiniPionBuilder.hh.

61{theMin = aM;}

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