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

#include <G4LEPPionBuilder.hh>

+ Inheritance diagram for G4LEPPionBuilder:

Public Member Functions

 G4LEPPionBuilder ()
 
virtual ~G4LEPPionBuilder ()
 
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 52 of file G4LEPPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4LEPPionBuilder()

G4LEPPionBuilder::G4LEPPionBuilder ( )

Definition at line 50 of file G4LEPPionBuilder.cc.

51 :
52 theLEPionPlusModel(0), theLEPionMinusModel(0)
53{
54 theMin = 0;
55 theMax = 55*GeV;
56}

◆ ~G4LEPPionBuilder()

G4LEPPionBuilder::~G4LEPPionBuilder ( )
virtual

Definition at line 58 of file G4LEPPionBuilder.cc.

60{
61 delete theLEPionPlusModel;
62}

Member Function Documentation

◆ Build() [1/3]

void G4LEPPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 64 of file G4LEPPionBuilder.cc.

66{
67 G4cout << "Info - G4LEPPionBuilder::Build() not adding elastic" << G4endl;
68}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

◆ Build() [2/3]

void G4LEPPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 79 of file G4LEPPionBuilder.cc.

81{
82 theLEPionMinusModel = new G4LEPionMinusInelastic();
83 theLEPionMinusModel->SetMinEnergy(theMin);
84 theLEPionMinusModel->SetMaxEnergy(theMax);
85 aP->RegisterMe(theLEPionMinusModel);
86}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/3]

void G4LEPPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 70 of file G4LEPPionBuilder.cc.

72{
73 theLEPionPlusModel = new G4LEPionPlusInelastic();
74 theLEPionPlusModel->SetMinEnergy(theMin);
75 theLEPionPlusModel->SetMaxEnergy(theMax);
76 aP->RegisterMe(theLEPionPlusModel);
77}

◆ SetMaxEnergy()

void G4LEPPionBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 67 of file G4LEPPionBuilder.hh.

68 {
69 theMax=aM;
70 }

◆ SetMinEnergy()

void G4LEPPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 63 of file G4LEPPionBuilder.hh.

64 {
65 theMin=aM;
66 }

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