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

#include <G4Vee2hadrons.hh>

+ Inheritance diagram for G4Vee2hadrons:

Public Member Functions

 G4Vee2hadrons (G4eeCrossSections *cr, G4double vlowEnergy, G4double vhighEnergy, G4double vdelta)
 
virtual ~G4Vee2hadrons ()
 
virtual G4double PeakEnergy () const =0
 
virtual G4double ComputeCrossSection (G4double) const =0
 
G4PhysicsVectorPhysicsVector () const
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, G4double, const G4ThreeVector &)=0
 
G4double LowEnergy () const
 
G4double HighEnergy () const
 
G4Vee2hadronsoperator= (const G4Vee2hadrons &right)=delete
 
 G4Vee2hadrons (const G4Vee2hadrons &)=delete
 

Protected Attributes

G4eeCrossSectionscross
 

Detailed Description

Definition at line 62 of file G4Vee2hadrons.hh.

Constructor & Destructor Documentation

◆ G4Vee2hadrons() [1/2]

G4Vee2hadrons::G4Vee2hadrons ( G4eeCrossSections cr,
G4double  vlowEnergy,
G4double  vhighEnergy,
G4double  vdelta 
)
inlineexplicit

Definition at line 67 of file G4Vee2hadrons.hh.

70 : cross(cr)
71 {
72 lowEnergy = vlowEnergy;
73 highEnergy = vhighEnergy;
74 delta = vdelta;
75 };
G4eeCrossSections * cross

◆ ~G4Vee2hadrons()

virtual G4Vee2hadrons::~G4Vee2hadrons ( )
inlinevirtual

Definition at line 77 of file G4Vee2hadrons.hh.

77{};

◆ G4Vee2hadrons() [2/2]

G4Vee2hadrons::G4Vee2hadrons ( const G4Vee2hadrons )
delete

Member Function Documentation

◆ ComputeCrossSection()

virtual G4double G4Vee2hadrons::ComputeCrossSection ( G4double  ) const
pure virtual

◆ HighEnergy()

G4double G4Vee2hadrons::HighEnergy ( ) const
inline

Definition at line 95 of file G4Vee2hadrons.hh.

95{return highEnergy;};

Referenced by G4eeToHadronsModel::Initialise(), and G4eeTo3PiModel::PeakEnergy().

◆ LowEnergy()

G4double G4Vee2hadrons::LowEnergy ( ) const
inline

Definition at line 93 of file G4Vee2hadrons.hh.

93{return lowEnergy;};

Referenced by G4eeToHadronsModel::Initialise().

◆ operator=()

G4Vee2hadrons & G4Vee2hadrons::operator= ( const G4Vee2hadrons right)
delete

◆ PeakEnergy()

virtual G4double G4Vee2hadrons::PeakEnergy ( ) const
pure virtual

◆ PhysicsVector()

G4PhysicsVector * G4Vee2hadrons::PhysicsVector ( ) const
inline

Definition at line 83 of file G4Vee2hadrons.hh.

84 {
85 G4int nbins = std::max(3, G4int((highEnergy - lowEnergy)/delta) );
86 G4PhysicsVector* pp = new G4PhysicsLinearVector(lowEnergy,highEnergy,nbins);
87 return pp;
88 };
int G4int
Definition: G4Types.hh:85

Referenced by G4eeToHadronsModel::Initialise().

◆ SampleSecondaries()

virtual void G4Vee2hadrons::SampleSecondaries ( std::vector< G4DynamicParticle * > *  ,
G4double  ,
const G4ThreeVector  
)
pure virtual

Member Data Documentation

◆ cross


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