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();
152 void G4QPhotoNuclearPhysics::BuildGammaNuclear()
154 if(GamNucActivated)
return;
155 GamNucActivated =
true;
160 void G4QPhotoNuclearPhysics::BuildElectroNuclear()
162 if(EleNucActivated)
return;
163 EleNucActivated =
true;
173 void G4QPhotoNuclearPhysics::BuildMuonNuclear()
175 if(MuoNucActivated)
return;
176 MuoNucActivated =
true;
186 void G4QPhotoNuclearPhysics::BuildTauNuclear()
188 if(TauNucActivated)
return;
189 TauNucActivated =
true;
200 void G4QPhotoNuclearPhysics::BuildSynchRad()
202 if(SynchRActivated)
return;
203 SynchRActivated =
true;