Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes
G4BertiniElectroNuclearBuilder Class Reference

#include <G4BertiniElectroNuclearBuilder.hh>

Public Member Functions

 G4BertiniElectroNuclearBuilder ()
 
virtual ~G4BertiniElectroNuclearBuilder ()
 
virtual void Build ()
 

Protected Attributes

G4PhotoNuclearProcessthePhotoNuclearProcess
 
G4ElectronNuclearProcesstheElectronNuclearProcess
 
G4PositronNuclearProcessthePositronNuclearProcess
 
G4ElectroVDNuclearModeltheElectroReaction
 
G4CascadeInterfacetheGammaReaction
 
G4TheoFSGeneratortheModel
 
G4GeneratorPrecompoundInterfacetheCascade
 
G4QGSModel< G4GammaParticipants > * theStringModel
 
G4QGSMFragmentationtheFragmentation
 
G4ExcitedStringDecaytheStringDecay
 
G4bool wasActivated
 

Detailed Description

Definition at line 49 of file G4BertiniElectroNuclearBuilder.hh.

Constructor & Destructor Documentation

G4BertiniElectroNuclearBuilder::G4BertiniElectroNuclearBuilder ( )

Definition at line 54 of file G4BertiniElectroNuclearBuilder.cc.

54  :
59  wasActivated(false)
60 {
61 }
G4GeneratorPrecompoundInterface * theCascade
G4ElectronNuclearProcess * theElectronNuclearProcess
G4PositronNuclearProcess * thePositronNuclearProcess
G4QGSModel< G4GammaParticipants > * theStringModel
G4BertiniElectroNuclearBuilder::~G4BertiniElectroNuclearBuilder ( )
virtual

Definition at line 63 of file G4BertiniElectroNuclearBuilder.cc.

References theCascade, theElectronNuclearProcess, theElectroReaction, theFragmentation, theGammaReaction, theModel, thePhotoNuclearProcess, thePositronNuclearProcess, theStringDecay, theStringModel, and wasActivated.

64 {
65  if(wasActivated) {
66  delete theFragmentation;
67  delete theStringDecay;
68  delete theStringModel;
69  delete thePhotoNuclearProcess;
72  delete theElectroReaction;
73  delete theGammaReaction;
74  delete theModel;
75  delete theCascade;
76  }
77 }
G4GeneratorPrecompoundInterface * theCascade
G4ElectronNuclearProcess * theElectronNuclearProcess
G4PositronNuclearProcess * thePositronNuclearProcess
G4QGSModel< G4GammaParticipants > * theStringModel

Member Function Documentation

void G4BertiniElectroNuclearBuilder::Build ( )
virtual

Definition at line 79 of file G4BertiniElectroNuclearBuilder.cc.

References G4ProcessManager::AddDiscreteProcess(), G4Electron::Electron(), G4Gamma::Gamma(), G4ParticleDefinition::GetProcessManager(), python.hepunit::GeV, G4Positron::Positron(), G4HadronicProcess::RegisterMe(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetTransport(), python.hepunit::TeV, theCascade, theElectronNuclearProcess, theElectroReaction, theFragmentation, theGammaReaction, theModel, thePhotoNuclearProcess, thePositronNuclearProcess, theStringDecay, theStringModel, and wasActivated.

80 {
81  if(wasActivated) return;
82  wasActivated=true;
83 
87  // theElectroReaction = new G4ElectroNuclearReaction;
90 
92 
96 
98 
101 
102  G4ProcessManager * aProcMan = 0;
103 
104  aProcMan = G4Gamma::Gamma()->GetProcessManager();
108  theModel->SetMaxEnergy(100*TeV);
111 
112  aProcMan = G4Electron::Electron()->GetProcessManager();
115 
116  aProcMan = G4Positron::Positron()->GetProcessManager();
119 }
G4GeneratorPrecompoundInterface * theCascade
void SetFragmentationModel(G4VStringFragmentation *aModel)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4Positron * Positron()
Definition: G4Positron.cc:94
G4ElectronNuclearProcess * theElectronNuclearProcess
void SetMaxEnergy(const G4double anEnergy)
static G4Electron * Electron()
Definition: G4Electron.cc:94
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4PositronNuclearProcess * thePositronNuclearProcess
G4QGSModel< G4GammaParticipants > * theStringModel

Field Documentation

G4GeneratorPrecompoundInterface* G4BertiniElectroNuclearBuilder::theCascade
protected

Definition at line 66 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4ElectronNuclearProcess* G4BertiniElectroNuclearBuilder::theElectronNuclearProcess
protected

Definition at line 60 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4ElectroVDNuclearModel* G4BertiniElectroNuclearBuilder::theElectroReaction
protected

Definition at line 62 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4QGSMFragmentation* G4BertiniElectroNuclearBuilder::theFragmentation
protected

Definition at line 68 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4CascadeInterface* G4BertiniElectroNuclearBuilder::theGammaReaction
protected

Definition at line 63 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4TheoFSGenerator* G4BertiniElectroNuclearBuilder::theModel
protected

Definition at line 65 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4PhotoNuclearProcess* G4BertiniElectroNuclearBuilder::thePhotoNuclearProcess
protected

Definition at line 59 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4PositronNuclearProcess* G4BertiniElectroNuclearBuilder::thePositronNuclearProcess
protected

Definition at line 61 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4ExcitedStringDecay* G4BertiniElectroNuclearBuilder::theStringDecay
protected

Definition at line 69 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4QGSModel< G4GammaParticipants >* G4BertiniElectroNuclearBuilder::theStringModel
protected

Definition at line 67 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().

G4bool G4BertiniElectroNuclearBuilder::wasActivated
protected

Definition at line 70 of file G4BertiniElectroNuclearBuilder.hh.

Referenced by Build(), and ~G4BertiniElectroNuclearBuilder().


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