Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/radioactive_decay/src/G4RadioactiveDecaymessenger.cc

    r819 r1315  
    116116  brbiasCmd->SetParameterName("BRBias",true);
    117117  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);
    119141  //
    120142  // Command to define the incident particle source time profile.
     
    174196  delete allvolumesCmd;
    175197  delete deallvolumesCmd;
     198  delete icmCmd;
     199  delete armCmd;
     200  delete hlthCmd;
    176201}
    177202////////////////////////////////////////////////////////////////////////////////
     
    215240  else if (command==verboseCmd) {theRadioactiveDecayContainer->
    216241                                       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));}
    217248}
    218249
Note: See TracChangeset for help on using the changeset viewer.