Ignore:
Timestamp:
Apr 17, 2009, 12:17:14 PM (15 years ago)
Author:
garnier
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/utils/src/G4EnergyLossMessenger.cc

    r961 r991  
    2525//
    2626//
    27 // $Id: G4EnergyLossMessenger.cc,v 1.37 2009/02/18 14:43:27 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     27// $Id: G4EnergyLossMessenger.cc,v 1.35 2008/10/20 13:27:45 vnivanch Exp $
     28// GEANT4 tag $Name: geant4-09-02 $
    2929//
    3030// -------------------------------------------------------------------
     
    178178  aplCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
    179179
    180   deexCmd = new G4UIcommand("/process/em/deexcitation",this);
    181   deexCmd->SetGuidance("Set deexcitation flag per process and G4Region.");
    182   deexCmd->SetGuidance("  procName  : process name");
    183   deexCmd->SetGuidance("  flag      : flag");
    184   deexCmd->SetGuidance("  regName   : G4Region name");
    185 
    186   G4UIparameter* pName = new G4UIparameter("pName",'s',false);
    187   deexCmd->SetParameter(pName);
    188 
    189   G4UIparameter* flag = new G4UIparameter("flag",'s',false);
    190   deexCmd->SetParameter(flag);
    191 
    192   G4UIparameter* regName = new G4UIparameter("regName",'s',false);
    193   deexCmd->SetParameter(regName);
    194 
    195180  dedxCmd = new G4UIcmdWithAnInteger("/process/eLoss/binsDEDX",this);
    196181  dedxCmd->SetGuidance("Set number of bins for DEDX tables");
     
    274259  delete MinSubSecCmd;
    275260  delete StepFuncCmd;
    276   delete deexCmd;
    277261  delete eLossDirectory;
    278262  delete mscDirectory;
     
    336320  }
    337321
    338   if (command == deexCmd) {
    339     G4String s1 (""), s2(""), s3("");
    340     G4bool b = false;
    341     std::istringstream is(newValue);
    342     is >> s1 >> s2 >> s3;
    343     if(s2 == "true") b = true;
    344     opt->ActivateDeexcitation(s1,b,s3);
    345   }
    346 
    347322  if (command == mscCmd) {
    348323    if(newValue == "Minimal")
Note: See TracChangeset for help on using the changeset viewer.