Geant4 10.7.0
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 (G4PionPlusInelasticProcess *aP) final override
 
virtual void Build (G4PionMinusInelasticProcess *aP) final override
 
void SetMinEnergy (G4double aM) final override
 
void SetMaxEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *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 52 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 56 of file G4BinaryPionBuilder.hh.

56{}

Member Function Documentation

◆ Build() [1/6]

virtual void G4BinaryPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 58 of file G4BinaryPionBuilder.hh.

58{}

◆ Build() [2/6]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [3/6]

void G4BinaryPionBuilder::Build ( G4PionMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 66 of file G4BinaryPionBuilder.cc.

68{
69 theModel->SetMinEnergy(theMin);
70 theModel->SetMaxEnergy(theMax);
72 aP->RegisterMe(theModel);
73}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51

◆ Build() [4/6]

virtual void G4VPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [5/6]

void G4BinaryPionBuilder::Build ( G4PionPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 57 of file G4BinaryPionBuilder.cc.

59{
60 theModel->SetMinEnergy(theMin);
61 theModel->SetMaxEnergy(theMax);
63 aP->RegisterMe(theModel);
64}
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [6/6]

virtual void G4VPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ SetMaxEnergy()

void G4BinaryPionBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 63 of file G4BinaryPionBuilder.hh.

63{theMax = aM;}

◆ SetMinEnergy()

void G4BinaryPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 62 of file G4BinaryPionBuilder.hh.

62{theMin = aM;}

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