#include <G4QNeutrinoPhysics.hh>
Inheritance diagram for G4QNeutrinoPhysics:
Public Member Functions | |
G4QNeutrinoPhysics (G4int verbose=1) | |
G4QNeutrinoPhysics (const G4String &name) | |
virtual | ~G4QNeutrinoPhysics () |
void | ConstructParticle () |
void | ConstructProcess () |
G4String | GetNuElNuclearOnOff () |
G4String | GetNuMuNuclearOnOff () |
G4String | GetNuTauNuclearOnOff () |
void | SetNuElNuclearOnOff (G4String &aState) |
void | SetNuMuNuclearOnOff (G4String &aState) |
void | SetNuTauNuclearOnOff (G4String &aState) |
void | SetNuNuclearBias (G4double newValue) |
Definition at line 58 of file G4QNeutrinoPhysics.hh.
G4QNeutrinoPhysics::G4QNeutrinoPhysics | ( | G4int | verbose = 1 |
) |
Definition at line 41 of file G4QNeutrinoPhysics.cc.
References G4QMessenger::Add(), and G4QMessenger::GetPointer().
00041 : 00042 G4VPhysicsConstructor("CHIPS neutrino-nuclear"), wasBuilt(false), nuEleActivated(false), 00043 nuMuoActivated(false), nuTauActivated(false), nuEleOn(false), 00044 nuMuoOn(false), nuTauOn(false), nuNucBias(1.), inelastic(0) 00045 { 00046 theMessenger = G4QMessenger::GetPointer(); 00047 theMessenger->Add(this); 00048 }
G4QNeutrinoPhysics::G4QNeutrinoPhysics | ( | const G4String & | name | ) |
Definition at line 50 of file G4QNeutrinoPhysics.cc.
References G4QMessenger::Add(), and G4QMessenger::GetPointer().
00050 : 00051 G4VPhysicsConstructor(name), wasBuilt(false), nuEleActivated(false), 00052 nuMuoActivated(false), nuTauActivated(false), nuEleOn(false), 00053 nuMuoOn(false), nuTauOn(false), nuNucBias(1.), inelastic(0) 00054 { 00055 theMessenger = G4QMessenger::GetPointer(); 00056 theMessenger->Add(this); 00057 }
G4QNeutrinoPhysics::~G4QNeutrinoPhysics | ( | ) | [virtual] |
void G4QNeutrinoPhysics::ConstructParticle | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 64 of file G4QNeutrinoPhysics.cc.
References G4AntiNeutrinoE::AntiNeutrinoE(), G4AntiNeutrinoMu::AntiNeutrinoMu(), G4AntiNeutrinoTau::AntiNeutrinoTau(), G4NeutrinoE::NeutrinoE(), G4NeutrinoMu::NeutrinoMu(), and G4NeutrinoTau::NeutrinoTau().
00065 { 00066 G4NeutrinoE::NeutrinoE(); 00067 G4AntiNeutrinoE::AntiNeutrinoE(); 00068 G4NeutrinoMu::NeutrinoMu(); 00069 G4AntiNeutrinoMu::AntiNeutrinoMu(); 00070 G4NeutrinoTau::NeutrinoTau(); 00071 G4AntiNeutrinoTau::AntiNeutrinoTau(); 00072 }
void G4QNeutrinoPhysics::ConstructProcess | ( | ) | [virtual] |
Implements G4VPhysicsConstructor.
Definition at line 101 of file G4QNeutrinoPhysics.cc.
References G4cout, G4endl, and G4QInelastic::SetWeakNucBias().
00102 { 00103 if(wasBuilt) return; 00104 if(nuEleOn || nuMuoOn || nuTauOn) 00105 { 00106 wasBuilt = true; 00107 G4cout<<"Builded=>G4QNeutrinoPhysics: "<<nuEleOn<<", "<<nuMuoOn<<", "<<nuTauOn<<G4endl; 00108 inelastic = new G4QInelastic("neutrinoNuclear"); 00109 inelastic->SetWeakNucBias(nuNucBias); // enough only once (static) 00110 if (nuEleOn) BuildNuEleNuclear(); 00111 if (nuMuoOn) BuildNuMuoNuclear(); 00112 if (nuTauOn) BuildNuTauNuclear(); 00113 } 00114 }
G4String G4QNeutrinoPhysics::GetNuElNuclearOnOff | ( | ) | [inline] |
G4String G4QNeutrinoPhysics::GetNuMuNuclearOnOff | ( | ) | [inline] |
G4String G4QNeutrinoPhysics::GetNuTauNuclearOnOff | ( | ) | [inline] |
void G4QNeutrinoPhysics::SetNuElNuclearOnOff | ( | G4String & | aState | ) |
Definition at line 74 of file G4QNeutrinoPhysics.cc.
References G4cout, and G4endl.
Referenced by G4QMessenger::SetNewValue().
00075 { 00076 if(wasBuilt) G4cout<<"G4QNeutrinoPhysics:No, processes are already builded!"<<G4endl; 00077 else if(newSwitch == "on" || newSwitch == "ON" || newSwitch == "On") nuEleOn = true; 00078 else nuEleOn = false; 00079 }
void G4QNeutrinoPhysics::SetNuMuNuclearOnOff | ( | G4String & | aState | ) |
Definition at line 81 of file G4QNeutrinoPhysics.cc.
References G4cout, and G4endl.
Referenced by G4QMessenger::SetNewValue().
00082 { 00083 if(wasBuilt) G4cout<<"G4QNeutrinoPhysics:No, processes are already builded!"<<G4endl; 00084 else if(newSwitch == "on" || newSwitch == "ON" || newSwitch == "On") nuMuoOn = true; 00085 else nuMuoOn = false; 00086 }
void G4QNeutrinoPhysics::SetNuNuclearBias | ( | G4double | newValue | ) |
Definition at line 95 of file G4QNeutrinoPhysics.cc.
References G4cout, and G4endl.
Referenced by G4QMessenger::SetNewValue().
00096 { 00097 if(wasBuilt) G4cout<<"G4QNeutrinoPhysics:No, processes are already builded!"<<G4endl; 00098 else nuNucBias = newValue; 00099 }
void G4QNeutrinoPhysics::SetNuTauNuclearOnOff | ( | G4String & | aState | ) |
Definition at line 88 of file G4QNeutrinoPhysics.cc.
References G4cout, and G4endl.
Referenced by G4QMessenger::SetNewValue().
00089 { 00090 if(wasBuilt) G4cout<<"G4QNeutrinoPhysics:No, processes are already builded!"<<G4endl; 00091 else if(newSwitch == "on" || newSwitch == "ON" || newSwitch == "On") nuTauOn = true; 00092 else nuTauOn = false; 00093 }