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

#include <G4BinaryPionBuilder.hh>

+ Inheritance diagram for G4BinaryPionBuilder:

Public Member Functions

 G4BinaryPionBuilder ()
 
virtual ~G4BinaryPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
void SetMinEnergy (G4double aM) final override
 
void SetMaxEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()
 
virtual void Build ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMinEnergy (G4double)
 
virtual void SetMaxEnergy (G4double)
 

Detailed Description

Definition at line 50 of file G4BinaryPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4BinaryPionBuilder()

G4BinaryPionBuilder::G4BinaryPionBuilder ( )

Definition at line 47 of file G4BinaryPionBuilder.cc.

49{
50 theMin = 0.0;
51 theMax = 1.5*GeV;
52 theModel = new G4BinaryCascade;
53 theModel->SetMinEnergy(theMin);
54 theModel->SetMaxEnergy(theMax);
55}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4BinaryPionBuilder()

virtual G4BinaryPionBuilder::~G4BinaryPionBuilder ( )
inlinevirtual

Definition at line 54 of file G4BinaryPionBuilder.hh.

54{}

Member Function Documentation

◆ Build() [1/4]

virtual void G4BinaryPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 56 of file G4BinaryPionBuilder.hh.

56{}

◆ Build() [2/4]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [3/4]

void G4BinaryPionBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 57 of file G4BinaryPionBuilder.cc.

59{
60 theModel->SetMinEnergy(theMin);
61 theModel->SetMaxEnergy(theMax);
64 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
66 }
67 aP->RegisterMe(theModel);
68}
const G4ParticleDefinition * GetParticleDefinition() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [4/4]

virtual void G4VPionBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ SetMaxEnergy()

void G4BinaryPionBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 60 of file G4BinaryPionBuilder.hh.

60{theMax = aM;}

◆ SetMinEnergy()

void G4BinaryPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4BinaryPionBuilder.hh.

59{theMin = aM;}

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