Geant4  10.02.p03
G4VHighEnergyGenerator Class Referenceabstract

#include <G4VHighEnergyGenerator.hh>

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

Private Member Functions

 G4VHighEnergyGenerator (const G4VHighEnergyGenerator &right)
 
const G4VHighEnergyGeneratoroperator= (const G4VHighEnergyGenerator &right)
 
int operator== (const G4VHighEnergyGenerator &right) const
 
int operator!= (const G4VHighEnergyGenerator &right) const
 

Private Attributes

std::pair< G4double, G4doubleepCheckLevels
 
G4String theGeneratorModelName
 

Detailed Description

Definition at line 47 of file G4VHighEnergyGenerator.hh.

Constructor & Destructor Documentation

◆ G4VHighEnergyGenerator() [1/2]

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

Definition at line 35 of file G4VHighEnergyGenerator.cc.

37 {
38  theGeneratorModelName=modelName;
39 }
std::pair< G4double, G4double > epCheckLevels
#define DBL_MAX
Definition: templates.hh:83

◆ ~G4VHighEnergyGenerator()

G4VHighEnergyGenerator::~G4VHighEnergyGenerator ( )
virtual

Definition at line 42 of file G4VHighEnergyGenerator.cc.

43 {
44 }

◆ G4VHighEnergyGenerator() [2/2]

G4VHighEnergyGenerator::G4VHighEnergyGenerator ( const G4VHighEnergyGenerator right)
private

Member Function Documentation

◆ GetEnergyMomentumCheckLevels()

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

Definition at line 46 of file G4VHighEnergyGenerator.cc.

47 {
48  return epCheckLevels;
49 }
std::pair< G4double, G4double > epCheckLevels
Here is the caller graph for this function:

◆ GetModelName()

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:

◆ GetProjectileNucleus()

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
virtual G4String GetModelName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWoundedNucleus()

virtual G4V3DNucleus* G4VHighEnergyGenerator::GetWoundedNucleus ( ) const
pure virtual

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

Here is the caller graph for this function:

◆ ModelDescription()

void G4VHighEnergyGenerator::ModelDescription ( std::ostream &  outFile) const
virtual

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

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:

◆ operator!=()

int G4VHighEnergyGenerator::operator!= ( const G4VHighEnergyGenerator right) const
private

◆ operator=()

const G4VHighEnergyGenerator& G4VHighEnergyGenerator::operator= ( const G4VHighEnergyGenerator right)
private

◆ operator==()

int G4VHighEnergyGenerator::operator== ( const G4VHighEnergyGenerator right) const
private

◆ Scatter()

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

Implemented in G4VPartonStringModel.

Here is the caller graph for this function:

◆ SetEnergyMomentumCheckLevels()

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 }
std::pair< G4double, G4double > epCheckLevels
Here is the caller graph for this function:

Member Data Documentation

◆ epCheckLevels

std::pair<G4double, G4double> G4VHighEnergyGenerator::epCheckLevels
private

Definition at line 70 of file G4VHighEnergyGenerator.hh.

◆ theGeneratorModelName

G4String G4VHighEnergyGenerator::theGeneratorModelName
private

Definition at line 73 of file G4VHighEnergyGenerator.hh.


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