G4IonQMDPhysics Class Reference

#include <G4IonQMDPhysics.hh>

Inheritance diagram for G4IonQMDPhysics:

G4VPhysicsConstructor

Public Member Functions

 G4IonQMDPhysics (G4int verb=0)
 G4IonQMDPhysics (const G4String &name, G4int ver=0)
virtual ~G4IonQMDPhysics ()
virtual void ConstructParticle ()
virtual void ConstructProcess ()

Detailed Description

Definition at line 61 of file G4IonQMDPhysics.hh.


Constructor & Destructor Documentation

G4IonQMDPhysics::G4IonQMDPhysics ( G4int  verb = 0  ) 

Definition at line 71 of file G4IonQMDPhysics.cc.

References bIons, G4cout, G4endl, and G4VPhysicsConstructor::SetPhysicsType().

00072   :  G4VPhysicsConstructor("IonQMD"), verbose(ver), wasActivated(false)
00073 {
00074   fLEDModel = 0;
00075   fLETModel = 0;
00076   fLEAModel = 0;
00077 //  fTripathi = 0;
00078 //  fTripathiLight = 0;
00079 //  fShen = 0;
00080   eminBIC  = 0.*MeV;
00081   eminQMD  = 100.*MeV;
00082   emaxQMD  = 10.*GeV;
00083   emaxLHEP = 1.*TeV;
00084   overlap  = 10*MeV;
00085   SetPhysicsType(bIons);
00086   if(verbose > 1) G4cout << "### G4IonQMDPhysics" << G4endl;
00087 }

G4IonQMDPhysics::G4IonQMDPhysics ( const G4String name,
G4int  ver = 0 
)

Definition at line 89 of file G4IonQMDPhysics.cc.

References bIons, G4cout, G4endl, and G4VPhysicsConstructor::SetPhysicsType().

00091   :  G4VPhysicsConstructor(name), verbose(ver), wasActivated(false)
00092 {
00093   fLEDModel = 0;
00094   fLETModel = 0;
00095   fLEAModel = 0;
00096 //  fTripathi = 0;
00097 //  fTripathiLight = 0;
00098 //  fShen = 0;
00099   eminBIC  = 0.*MeV;
00100   eminQMD  = 100.*MeV;
00101   emaxQMD  = 10.*GeV;
00102   emaxLHEP = 1.*TeV;
00103   overlap  = 10*MeV;
00104   SetPhysicsType(bIons);
00105   if(verbose > 1) G4cout << "### G4IonQMDPhysics" << G4endl;
00106 }

G4IonQMDPhysics::~G4IonQMDPhysics (  )  [virtual]

Definition at line 108 of file G4IonQMDPhysics.cc.

References CLHEP::detail::n.

00109 {
00110   if(wasActivated) {
00111 //    delete fTripathi;
00112 //    delete fTripathiLight;
00113 //    delete fShen;
00114     delete fLEDModel;
00115     delete fLETModel;
00116     delete fLEAModel;
00117     G4int i;
00118     G4int n = p_list.size();
00119     for(i=0; i<n; i++) {delete p_list[i];}
00120     n = model_list.size();
00121     for(i=0; i<n; i++) {delete model_list[i];}
00122   }
00123 }


Member Function Documentation

void G4IonQMDPhysics::ConstructParticle (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 199 of file G4IonQMDPhysics.cc.

References G4IonConstructor::ConstructParticle().

00200 {
00201   //  Construct light ions
00202   G4IonConstructor pConstructor;
00203   pConstructor.ConstructParticle();  
00204 }

void G4IonQMDPhysics::ConstructProcess (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 125 of file G4IonQMDPhysics.cc.

References G4Alpha::Alpha(), G4Deuteron::Deuteron(), G4GenericIon::GenericIon(), G4He3::He3(), and G4Triton::Triton().

00126 {
00127   if(wasActivated) return;
00128   wasActivated = true;
00129 
00130   G4BinaryLightIonReaction* fBC= new G4BinaryLightIonReaction();
00131   model_list.push_back(fBC);
00132   G4QMDReaction* fQMD= new G4QMDReaction();
00133   model_list.push_back(fQMD);
00134   
00135 //  fShen = new G4IonsShenCrossSection;
00136 //  fTripathi = new G4TripathiCrossSection
00137 //    fTripathiLight = new G4TripathiLightCrossSection;
00138 
00139   fLEDModel = new G4LEDeuteronInelastic();
00140   fLETModel = new G4LETritonInelastic();
00141   fLEAModel = new G4LEAlphaInelastic();
00142 
00143   AddProcess("dInelastic", G4Deuteron::Deuteron(), fBC, fQMD, fLEDModel );
00144   AddProcess("tInelastic",G4Triton::Triton(),      fBC, fQMD, fLETModel );
00145   AddProcess("He3Inelastic",G4He3::He3(),          fBC, fQMD, 0 );
00146   AddProcess("alphaInelastic", G4Alpha::Alpha(),   fBC, fQMD, fLEAModel );
00147   AddProcess("ionInelastic",G4GenericIon::GenericIon(), fBC, fQMD, 0);
00148 
00149 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:18 2013 for Geant4 by  doxygen 1.4.7