#include <G4IonBinaryCascadePhysics.hh>
Inheritance diagram for G4IonBinaryCascadePhysics:
Public Member Functions | |
G4IonBinaryCascadePhysics (G4int ver=0) | |
G4IonBinaryCascadePhysics (const G4String &name, G4int ver=0) | |
virtual | ~G4IonBinaryCascadePhysics () |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
Definition at line 58 of file G4IonBinaryCascadePhysics.hh.
G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics | ( | G4int | ver = 0 |
) |
Definition at line 69 of file G4IonBinaryCascadePhysics.cc.
References bIons, G4cout, G4endl, and G4VPhysicsConstructor::SetPhysicsType().
00070 : G4VPhysicsConstructor("IonBinaryCascade"), verbose(ver), wasActivated(false) 00071 { 00072 fLEDModel = 0; 00073 fLETModel = 0; 00074 fLEAModel = 0; 00075 fTripathi = 0; 00076 fTripathiLight = 0; 00077 fShen = 0; 00078 fIonH = 0; 00079 emax = 20.*GeV; 00080 emaxLHEP = 1.*TeV; 00081 eminBIC = 0.*MeV; 00082 SetPhysicsType(bIons); 00083 if(verbose > 1) G4cout << "### G4IonBinaryCascadePhysics" << G4endl; 00084 }
Definition at line 86 of file G4IonBinaryCascadePhysics.cc.
References bIons, G4cout, G4endl, and G4VPhysicsConstructor::SetPhysicsType().
00088 : G4VPhysicsConstructor(name), verbose(ver), wasActivated(false) 00089 { 00090 fLEDModel = 0; 00091 fLETModel = 0; 00092 fLEAModel = 0; 00093 fTripathi = 0; 00094 fTripathiLight = 0; 00095 fShen = 0; 00096 fIonH = 0; 00097 emax = 20.*GeV; 00098 emaxLHEP = 1.*TeV; 00099 eminBIC = 0.*MeV; 00100 SetPhysicsType(bIons); 00101 if(verbose > 1) G4cout << "### G4IonBinaryCascadePhysics" << G4endl; 00102 }
G4IonBinaryCascadePhysics::~G4IonBinaryCascadePhysics | ( | ) | [virtual] |
Definition at line 104 of file G4IonBinaryCascadePhysics.cc.
References CLHEP::detail::n.
00105 { 00106 if(wasActivated) { 00107 delete fTripathi; 00108 delete fTripathiLight; 00109 delete fShen; 00110 delete fIonH; 00111 delete fLEDModel; 00112 delete fLETModel; 00113 delete fLEAModel; 00114 G4int i; 00115 G4int n = p_list.size(); 00116 for(i=0; i<n; i++) {delete p_list[i];} 00117 n = model_list.size(); 00118 for(i=0; i<n; i++) {delete model_list[i];} 00119 } 00120 }
void G4IonBinaryCascadePhysics::ConstructParticle | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 178 of file G4IonBinaryCascadePhysics.cc.
References G4IonConstructor::ConstructParticle().
00179 { 00180 // Construct light ions 00181 G4IonConstructor pConstructor; 00182 pConstructor.ConstructParticle(); 00183 }
void G4IonBinaryCascadePhysics::ConstructProcess | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 122 of file G4IonBinaryCascadePhysics.cc.
References G4Alpha::Alpha(), G4Deuteron::Deuteron(), G4GenericIon::GenericIon(), G4He3::He3(), and G4Triton::Triton().
00123 { 00124 if(wasActivated) { return; } 00125 wasActivated = true; 00126 00127 G4BinaryLightIonReaction* fBC= new G4BinaryLightIonReaction(); 00128 model_list.push_back(fBC); 00129 fShen = new G4IonsShenCrossSection; 00130 //fTripathi = new G4TripathiCrossSection; 00131 //fTripathiLight = new G4TripathiLightCrossSection; 00132 fIonH = new G4IonProtonCrossSection; 00133 00134 fLEDModel = new G4LEDeuteronInelastic(); 00135 fLETModel = new G4LETritonInelastic(); 00136 fLEAModel = new G4LEAlphaInelastic(); 00137 00138 AddProcess("dInelastic", G4Deuteron::Deuteron(), fBC, fLEDModel); 00139 AddProcess("tInelastic",G4Triton::Triton(), fBC, fLETModel); 00140 AddProcess("He3Inelastic",G4He3::He3(), fBC, 0); 00141 AddProcess("alphaInelastic", G4Alpha::Alpha(), fBC, fLEAModel); 00142 AddProcess("ionInelastic",G4GenericIon::GenericIon(), fBC, 0); 00143 00144 }