Changeset 1347 for trunk/source/processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecaymessenger.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecaymessenger.cc
r1340 r1347 123 123 icmCmd->SetParameterName("applyICM",true); 124 124 icmCmd->SetDefaultValue(true); 125 icmCmd->AvailableForStates(G4State_PreInit);125 //icmCmd->AvailableForStates(G4State_PreInit); 126 126 // 127 127 // Command contols whether ARM will be applied or not … … 131 131 armCmd->SetParameterName("applyARM",true); 132 132 armCmd->SetDefaultValue(true); 133 armCmd->AvailableForStates(G4State_PreInit);133 //armCmd->AvailableForStates(G4State_PreInit); 134 134 // 135 135 // Command to set the h-l thresold for isomer production … … 140 140 // hlthCmd->SetRange("hlThreshold>0."); 141 141 hlthCmd->SetUnitCategory("Time"); 142 hlthCmd->AvailableForStates(G4State_PreInit);142 // hlthCmd->AvailableForStates(G4State_PreInit); 143 143 // 144 144 // Command to define the incident particle source time profile. … … 209 209 SetNucleusLimits(nucleuslimitsCmd->GetNewNucleusLimitsValue(newValues));} 210 210 else if (command==analoguemcCmd) { 211 G4int vl; 212 const char* t = newValues; 213 std::istringstream is(t); 214 is >> vl; 215 theRadioactiveDecayContainer->SetAnalogueMonteCarlo(vl!=0);} 211 theRadioactiveDecayContainer->SetAnalogueMonteCarlo(analoguemcCmd->GetNewBoolValue(newValues));} 216 212 else if (command==fbetaCmd) { 217 G4int vl; 218 const char* t = newValues; 219 std::istringstream is(t); 220 is >> vl; 221 theRadioactiveDecayContainer->SetFBeta(vl!=0);} 213 theRadioactiveDecayContainer->SetFBeta(fbetaCmd->GetNewBoolValue(newValues));} 222 214 else if (command==avolumeCmd) {theRadioactiveDecayContainer-> 223 215 SelectAVolume(newValues);} … … 229 221 DeselectAllVolumes();} 230 222 else if (command==brbiasCmd) { 231 G4int vl; 232 const char* t = newValues; 233 std::istringstream is(t); 234 is >> vl; 235 theRadioactiveDecayContainer->SetBRBias(vl!=0);} 223 theRadioactiveDecayContainer->SetBRBias(brbiasCmd->GetNewBoolValue(newValues));} 236 224 else if (command==sourcetimeprofileCmd) {theRadioactiveDecayContainer-> 237 225 SetSourceTimeProfile(newValues);}
Note: See TracChangeset
for help on using the changeset viewer.