Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (14 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

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

    r1340 r1347  
    123123  icmCmd->SetParameterName("applyICM",true);
    124124  icmCmd->SetDefaultValue(true);
    125   icmCmd->AvailableForStates(G4State_PreInit);
     125  //icmCmd->AvailableForStates(G4State_PreInit);
    126126  //
    127127  // Command contols whether ARM will be applied or not
     
    131131  armCmd->SetParameterName("applyARM",true);
    132132  armCmd->SetDefaultValue(true);
    133   armCmd->AvailableForStates(G4State_PreInit);
     133  //armCmd->AvailableForStates(G4State_PreInit);
    134134  //
    135135  // Command to set the h-l thresold for isomer production
     
    140140  // hlthCmd->SetRange("hlThreshold>0.");
    141141  hlthCmd->SetUnitCategory("Time");
    142   hlthCmd->AvailableForStates(G4State_PreInit);
     142  //  hlthCmd->AvailableForStates(G4State_PreInit);
    143143  //
    144144  // Command to define the incident particle source time profile.
     
    209209                                    SetNucleusLimits(nucleuslimitsCmd->GetNewNucleusLimitsValue(newValues));}
    210210  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));}
    216212  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));}
    222214  else if  (command==avolumeCmd) {theRadioactiveDecayContainer->
    223215                                   SelectAVolume(newValues);}
     
    229221                                   DeselectAllVolumes();}
    230222  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));}
    236224  else if (command==sourcetimeprofileCmd) {theRadioactiveDecayContainer->
    237225                                             SetSourceTimeProfile(newValues);}
Note: See TracChangeset for help on using the changeset viewer.