Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VHighEnergyGenerator Class Referenceabstract

#include <G4VHighEnergyGenerator.hh>

Inheritance diagram for G4VHighEnergyGenerator:

Public Member Functions

 G4VHighEnergyGenerator (const G4String &modelName="High Energy Generator")
 
virtual ~G4VHighEnergyGenerator ()
 
virtual G4V3DNucleusGetWoundedNucleus () const =0
 
virtual G4V3DNucleusGetProjectileNucleus () const
 
virtual G4KineticTrackVectorScatter (const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary)=0
 
std::pair< G4double, G4doubleGetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double AbsoluteLevel)
 
virtual void ModelDescription (std::ostream &) const
 
virtual G4String GetModelName () const
 

Detailed Description

Definition at line 47 of file G4VHighEnergyGenerator.hh.

Constructor & Destructor Documentation

G4VHighEnergyGenerator::G4VHighEnergyGenerator ( const G4String modelName = "High Energy Generator")

Definition at line 35 of file G4VHighEnergyGenerator.cc.

36 : epCheckLevels(DBL_MAX,DBL_MAX)
37 {
38  theGeneratorModelName=modelName;
39 }
#define DBL_MAX
Definition: templates.hh:83
G4VHighEnergyGenerator::~G4VHighEnergyGenerator ( )
virtual

Definition at line 42 of file G4VHighEnergyGenerator.cc.

43 {
44 }

Member Function Documentation

std::pair< G4double, G4double > G4VHighEnergyGenerator::GetEnergyMomentumCheckLevels ( ) const

Definition at line 46 of file G4VHighEnergyGenerator.cc.

47 {
48  return epCheckLevels;
49 }

Here is the caller graph for this function:

G4String G4VHighEnergyGenerator::GetModelName ( ) const
virtual

Definition at line 63 of file G4VHighEnergyGenerator.cc.

64 {
65  return theGeneratorModelName;
66 }

Here is the caller graph for this function:

G4V3DNucleus * G4VHighEnergyGenerator::GetProjectileNucleus ( ) const
virtual

Reimplemented in G4FTFModel, G4VPartonStringModel, G4QGSModel< ParticipantType >, G4QGSModel< G4GammaParticipants >, and G4QGSModel< G4QGSParticipants >.

Definition at line 68 of file G4VHighEnergyGenerator.cc.

69 { // Uzhi Nov. 2012
71  ed << "The used HighEnergyGenerator "<<GetModelName()<<" cannot manage with a residual projectile nucleus" << G4endl;
72  G4Exception("G4VHighEnergyGenerator::GetProjectileNucleus ", "G4had_mod_man",
73  FatalException, ed);
74  return 0;
75 } // Uzhi Nov. 2012
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
virtual G4String GetModelName() const
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

Here is the caller graph for this function:

virtual G4V3DNucleus* G4VHighEnergyGenerator::GetWoundedNucleus ( ) const
pure virtual
void G4VHighEnergyGenerator::ModelDescription ( std::ostream &  outFile) const
virtual

Reimplemented in G4FTFModel, G4VPartonStringModel, G4QGSModel< ParticipantType >, G4QGSModel< G4GammaParticipants >, and G4QGSModel< G4QGSParticipants >.

Definition at line 58 of file G4VHighEnergyGenerator.cc.

59 {
60  outFile << " Parton-string models description not written yet \n";
61 }

Here is the caller graph for this function:

virtual G4KineticTrackVector* G4VHighEnergyGenerator::Scatter ( const G4Nucleus theNucleus,
const G4DynamicParticle thePrimary 
)
pure virtual

Implemented in G4VPartonStringModel.

Here is the caller graph for this function:

void G4VHighEnergyGenerator::SetEnergyMomentumCheckLevels ( G4double  relativeLevel,
G4double  AbsoluteLevel 
)

Definition at line 51 of file G4VHighEnergyGenerator.cc.

53 {
54  epCheckLevels.first=relativeLevel;
55  epCheckLevels.second=absoluteLevel;
56 }

Here is the caller graph for this function:


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