44 GamNucActivated(false), EleNucActivated(false), MuoNucActivated(false),
45 TauNucActivated(false), synchrOn(true), synchrMinGam(227.), gamNucOn(true),
46 eleNucOn(true), muoNucOn(true), tauNucOn(true), photoNucBias(1.)
49 theMessenger->
Add(
this);
54 GamNucActivated(false), EleNucActivated(false), MuoNucActivated(false),
55 TauNucActivated(false), synchrOn(true), synchrMinGam(227.), gamNucOn(true),
56 eleNucOn(true), muoNucOn(true), tauNucOn(true), photoNucBias(1.)
59 theMessenger->
Add(
this);
67 if(synchrOn)
delete synchrad;
73 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
74 else if(newSwitch ==
"on" || newSwitch ==
"ON" || newSwitch ==
"On") synchrOn =
true;
75 else synchrOn =
false;
80 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
81 else if(newSwitch ==
"on" || newSwitch ==
"ON" || newSwitch ==
"On") gamNucOn =
true;
82 else gamNucOn =
false;
87 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
88 else if(newSwitch ==
"on" || newSwitch ==
"ON" || newSwitch ==
"On") eleNucOn =
true;
89 else eleNucOn =
false;
94 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
95 else if(newSwitch ==
"on" || newSwitch ==
"ON" || newSwitch ==
"On") muoNucOn =
true;
96 else muoNucOn =
false;
101 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
102 else if(newSwitch ==
"on" || newSwitch ==
"ON" || newSwitch ==
"On") tauNucOn =
true;
103 else tauNucOn =
false;
108 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
109 else synchrMinGam = newValue;
114 if(wasBuilt)
G4cout<<
"G4QPhotoNuclearPhysics:No, processes are already builded!"<<
G4endl;
115 else photoNucBias = newValue;
145 if (synchrOn) BuildSynchRad();
146 if (gamNucOn) BuildGammaNuclear();
147 if (eleNucOn) BuildElectroNuclear();
148 if (muoNucOn) BuildMuonNuclear();
149 if (tauNucOn) BuildTauNuclear();
152void G4QPhotoNuclearPhysics::BuildGammaNuclear()
154 if(GamNucActivated)
return;
155 GamNucActivated =
true;
160void G4QPhotoNuclearPhysics::BuildElectroNuclear()
162 if(EleNucActivated)
return;
163 EleNucActivated =
true;
173void G4QPhotoNuclearPhysics::BuildMuonNuclear()
175 if(MuoNucActivated)
return;
176 MuoNucActivated =
true;
186void G4QPhotoNuclearPhysics::BuildTauNuclear()
188 if(TauNucActivated)
return;
189 TauNucActivated =
true;
200void G4QPhotoNuclearPhysics::BuildSynchRad()
202 if(SynchRActivated)
return;
203 SynchRActivated =
true;
G4DLLIMPORT std::ostream G4cout
static void ConstructParticle()
static G4Electron * Electron()
static void ConstructParticle()
static G4MuonMinus * MuonMinus()
static G4MuonPlus * MuonPlus()
G4ProcessManager * GetProcessManager() const
G4double GetPDGCharge() const
static G4Positron * Positron()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static void SetPhotNucBias(G4double phnB=1.)
void Add(G4QNeutrinoPhysics *weak)
static G4QMessenger * GetPointer()
void SetGammaNuclearOnOff(G4String &aSwitch)
virtual ~G4QPhotoNuclearPhysics()
void SetMuonNuclearOnOff(G4String &aSwitch)
G4QPhotoNuclearPhysics(G4int verbose=1)
void SetMinGammaSR(G4double newValue)
void SetElPosNuclearOnOff(G4String &aSwitch)
void SetTauNuclearOnOff(G4String &aSwitch)
void SetPhotoNucBias(G4double newValue)
void SetSynchRadOnOff(G4String &aSwitch)
static G4TauMinus * TauMinus()
static G4TauPlus * TauPlus()
G4ParticleTable::G4PTblDicIterator * theParticleIterator