Changeset 1315 for trunk/source/processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecaymessenger.cc
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecaymessenger.cc
r819 r1315 116 116 brbiasCmd->SetParameterName("BRBias",true); 117 117 brbiasCmd->SetDefaultValue(true); 118 118 // 119 // Command contols whether ICM will be applied or not 120 // 121 icmCmd = new G4UIcmdWithABool ("/grdm/applyICM",this); 122 icmCmd->SetGuidance("True: ICM is applied; false: no"); 123 icmCmd->SetParameterName("applyICM",true); 124 icmCmd->SetDefaultValue(true); 125 // 126 // Command contols whether ARM will be applied or not 127 // 128 armCmd = new G4UIcmdWithABool ("/grdm/applyARM",this); 129 armCmd->SetGuidance("True: ARM is applied; false: no"); 130 armCmd->SetParameterName("applyARM",true); 131 armCmd->SetDefaultValue(true); 132 // 133 // Command to set the h-l thresold for isomer production 134 // 135 hlthCmd = new G4UIcmdWithADoubleAndUnit("/grdm/hlThreshold",this); 136 hlthCmd->SetGuidance("Set the h-l threshold for isomer production"); 137 hlthCmd->SetParameterName("hlThreshold",false); 138 hlthCmd->SetRange("hlThreshold>0."); 139 hlthCmd->SetUnitCategory("Time"); 140 hlthCmd->AvailableForStates(G4State_PreInit,G4State_Idle); 119 141 // 120 142 // Command to define the incident particle source time profile. … … 174 196 delete allvolumesCmd; 175 197 delete deallvolumesCmd; 198 delete icmCmd; 199 delete armCmd; 200 delete hlthCmd; 176 201 } 177 202 //////////////////////////////////////////////////////////////////////////////// … … 215 240 else if (command==verboseCmd) {theRadioactiveDecayContainer-> 216 241 SetVerboseLevel(verboseCmd->GetNewIntValue(newValues));} 242 else if (command==icmCmd ) {theRadioactiveDecayContainer-> 243 SetICM(icmCmd->GetNewBoolValue(newValues));} 244 else if (command==armCmd ) {theRadioactiveDecayContainer-> 245 SetARM(armCmd->GetNewBoolValue(newValues));} 246 else if (command==hlthCmd ) {theRadioactiveDecayContainer-> 247 SetHLThreshold(hlthCmd->GetNewDoubleValue(newValues));} 217 248 } 218 249
Note: See TracChangeset
for help on using the changeset viewer.