G4IonINCLXXPhysics Class Reference

#include <G4IonINCLXXPhysics.hh>

Inheritance diagram for G4IonINCLXXPhysics:

G4VPhysicsConstructor

Public Member Functions

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

Detailed Description

Definition at line 59 of file G4IonINCLXXPhysics.hh.


Constructor & Destructor Documentation

G4IonINCLXXPhysics::G4IonINCLXXPhysics ( G4int  ver = 0  ) 

Definition at line 66 of file G4IonINCLXXPhysics.cc.

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

00066                                                 :
00067   G4VPhysicsConstructor("IonINCLXX"),
00068   fINCLXXIons(NULL),
00069   fTripathi(NULL),
00070   fTripathiLight(NULL),
00071   fShen(NULL),
00072   fLEDModel(NULL),
00073   fLETModel(NULL),
00074   fLEAModel(NULL),
00075   verbose(ver), wasActivated(false)
00076 {
00077   // INCLXX light ion maximum energy is 3.0 GeV/nucleon
00078   emax_d     = 2 * 3.0 * GeV;
00079   emax_t     = 3 * 3.0 * GeV;
00080   emax_he3   = 3 * 3.0 * GeV;
00081   emax_alpha = 4 * 3.0 * GeV;
00082   emax       = 16 * 3.0 * GeV;
00083   emaxLHEP   = 1.*TeV;
00084   emin       = 0.*MeV;
00085   SetPhysicsType(bIons);
00086   if(verbose > 1) G4cout << "### G4IonINCLXXPhysics" << G4endl;
00087 }

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

Definition at line 89 of file G4IonINCLXXPhysics.cc.

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

00091   :  G4VPhysicsConstructor(name),
00092   fINCLXXIons(NULL),
00093   fTripathi(NULL),
00094   fTripathiLight(NULL),
00095   fShen(NULL),
00096   fLEDModel(NULL),
00097   fLETModel(NULL),
00098   fLEAModel(NULL),
00099   verbose(ver), wasActivated(false)
00100 {
00101   // INCLXX light ion maximum energy is 3.0 GeV/nucleon
00102   emax_d     = 2 * 3.0 * GeV;
00103   emax_t     = 3 * 3.0 * GeV;
00104   emax_he3   = 3 * 3.0 * GeV;
00105   emax_alpha = 4 * 3.0 * GeV;
00106   emax       = 16 * 3.0 * GeV;
00107   emaxLHEP   = 1.*TeV;
00108   emin       = 0.*MeV;
00109   SetPhysicsType(bIons);
00110   if(verbose > 1) G4cout << "### G4IonINCLXXPhysics" << G4endl;
00111 }

G4IonINCLXXPhysics::~G4IonINCLXXPhysics (  )  [virtual]

Definition at line 113 of file G4IonINCLXXPhysics.cc.

References CLHEP::detail::n.

00114 {
00115   if(wasActivated) {
00116     delete fTripathi;
00117     delete fTripathiLight;
00118     delete fShen;
00119     delete fLEDModel;
00120     delete fLETModel;
00121     delete fLEAModel;
00122     G4int i;
00123     G4int n = p_list.size();
00124     for(i=0; i<n; i++) {delete p_list[i];}
00125     delete fINCLXXIons;
00126   }
00127 }


Member Function Documentation

void G4IonINCLXXPhysics::ConstructParticle (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 182 of file G4IonINCLXXPhysics.cc.

References G4IonConstructor::ConstructParticle().

00183 {
00184   //  Construct light ions
00185   G4IonConstructor pConstructor;
00186   pConstructor.ConstructParticle();  
00187 }

void G4IonINCLXXPhysics::ConstructProcess (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 129 of file G4IonINCLXXPhysics.cc.

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

00130 {
00131   if(wasActivated) return;
00132   wasActivated = true;
00133 
00134   fINCLXXIons= new G4INCLXXInterface();
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(), fINCLXXIons, fLEDModel, emax_d);
00144   AddProcess("tInelastic",G4Triton::Triton(),  fINCLXXIons, fLETModel, emax_t);
00145   AddProcess("He3Inelastic",G4He3::He3(),  fINCLXXIons, 0, emax_he3);
00146   AddProcess("alphaInelastic", G4Alpha::Alpha(),  fINCLXXIons, fLEAModel, emax_alpha);
00147   AddProcess("ionInelastic",G4GenericIon::GenericIon(),  fINCLXXIons, 0, emax);
00148 }


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