Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4Vee2hadrons Class Referenceabstract

#include <G4Vee2hadrons.hh>

Inheritance diagram for G4Vee2hadrons:
Collaboration 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
 

Protected Attributes

G4eeCrossSectionscross
 

Detailed Description

Definition at line 63 of file G4Vee2hadrons.hh.

Constructor & Destructor Documentation

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

Definition at line 68 of file G4Vee2hadrons.hh.

71  : cross(cr)
72  {
73  lowEnergy = vlowEnergy;
74  highEnergy = vhighEnergy;
75  delta = vdelta;
76  };
G4eeCrossSections * cross
virtual G4Vee2hadrons::~G4Vee2hadrons ( )
inlinevirtual

Definition at line 78 of file G4Vee2hadrons.hh.

78 {};

Member Function Documentation

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

Definition at line 96 of file G4Vee2hadrons.hh.

96 {return highEnergy;};

Here is the caller graph for this function:

G4double G4Vee2hadrons::LowEnergy ( ) const
inline

Definition at line 94 of file G4Vee2hadrons.hh.

94 {return lowEnergy;};
virtual G4double G4Vee2hadrons::PeakEnergy ( ) const
pure virtual
G4PhysicsVector* G4Vee2hadrons::PhysicsVector ( ) const
inline

Definition at line 84 of file G4Vee2hadrons.hh.

85  {
86  G4int nbins = std::max(3, G4int((highEnergy - lowEnergy)/delta) );
87  G4PhysicsVector* pp = new G4PhysicsLinearVector(lowEnergy,highEnergy,nbins);
88  return pp;
89  };
int G4int
Definition: G4Types.hh:78
T max(const T t1, const T t2)
brief Return the largest of the two arguments

Here is the call graph for this function:

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

Member Data Documentation

G4eeCrossSections* G4Vee2hadrons::cross
protected

Definition at line 111 of file G4Vee2hadrons.hh.


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