Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/examples/extended/medical/GammaTherapy/src/DetectorMessenger.cc

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /examples/extended/medical/GammaTherapy/src/DetectorMessenger.cc (Version 11.3.0) and /examples/extended/medical/GammaTherapy/src/DetectorMessenger.cc (Version 10.6)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                         3 // * License and Disclaimer                                           *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th      5 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
  6 // * the Geant4 Collaboration.  It is provided      6 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
  7 // * conditions of the Geant4 Software License      7 // * conditions of the Geant4 Software License,  included in the file *
  8 // * LICENSE and available at  http://cern.ch/      8 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
  9 // * include a list of copyright holders.           9 // * include a list of copyright holders.                             *
 10 // *                                               10 // *                                                                  *
 11 // * Neither the authors of this software syst     11 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     12 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     13 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     14 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file      15 // * use.  Please see the license in the file  LICENSE  and URL above *
 16 // * for the full disclaimer and the limitatio     16 // * for the full disclaimer and the limitation of liability.         *
 17 // *                                               17 // *                                                                  *
 18 // * This  code  implementation is the result      18 // * This  code  implementation is the result of  the  scientific and *
 19 // * technical work of the GEANT4 collaboratio     19 // * technical work of the GEANT4 collaboration.                      *
 20 // * By using,  copying,  modifying or  distri     20 // * By using,  copying,  modifying or  distributing the software (or *
 21 // * any work based  on the software)  you  ag     21 // * any work based  on the software)  you  agree  to acknowledge its *
 22 // * use  in  resulting  scientific  publicati     22 // * use  in  resulting  scientific  publications,  and indicate your *
 23 // * acceptance of all terms of the Geant4 Sof     23 // * acceptance of all terms of the Geant4 Software license.          *
 24 // *******************************************     24 // ********************************************************************
 25 //                                                 25 //
 26 //                                                 26 //
 27 /// \file medical/GammaTherapy/src/DetectorMes     27 /// \file medical/GammaTherapy/src/DetectorMessenger.cc
 28 /// \brief Implementation of the DetectorMesse     28 /// \brief Implementation of the DetectorMessenger class
 29 //                                                 29 //
 30 // -------------------------------------------     30 // -------------------------------------------------------------
 31 //      GEANT4  test  IBREM                        31 //      GEANT4  test  IBREM
 32 //                                                 32 //
 33 // Authors: V.Grichine, V.Ivanchenko               33 // Authors: V.Grichine, V.Ivanchenko
 34 //                                                 34 //
 35 // Modified:                                       35 // Modified:
 36 //                                                 36 //
 37 // 18-02-03 V.Ivanchenko create                    37 // 18-02-03 V.Ivanchenko create
 38 //                                                 38 //
 39 // -------------------------------------------     39 // -------------------------------------------------------------
 40                                                    40 
 41 //....oooOO0OOooo........oooOO0OOooo........oo     41 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 42 //....oooOO0OOooo........oooOO0OOooo........oo     42 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 43                                                    43 
 44 #include "DetectorMessenger.hh"                    44 #include "DetectorMessenger.hh"
 45                                                << 
 46 #include "DetectorConstruction.hh"                 45 #include "DetectorConstruction.hh"
 47                                                <<  46 #include "G4UIdirectory.hh"
 48 #include "G4UIcmdWithABool.hh"                     47 #include "G4UIcmdWithABool.hh"
 49 #include "G4UIcmdWithADoubleAndUnit.hh"        << 
 50 #include "G4UIcmdWithAString.hh"                   48 #include "G4UIcmdWithAString.hh"
 51 #include "G4UIcmdWithAnInteger.hh"                 49 #include "G4UIcmdWithAnInteger.hh"
                                                   >>  50 #include "G4UIcmdWithADoubleAndUnit.hh"
 52 #include "G4UIcmdWithoutParameter.hh"              51 #include "G4UIcmdWithoutParameter.hh"
 53 #include "G4UIdirectory.hh"                    <<  52 
                                                   >>  53 //#include "g4root.hh"
 54                                                    54 
 55 //....oooOO0OOooo........oooOO0OOooo........oo     55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
 56                                                    56 
 57 DetectorMessenger::DetectorMessenger(DetectorC <<  57 DetectorMessenger::DetectorMessenger(DetectorConstruction* h):
                                                   >>  58   fDetector(h)
 58 {                                                  59 {
 59   fDetDir = new G4UIdirectory("/testem/");         60   fDetDir = new G4UIdirectory("/testem/");
 60   fDetDir->SetGuidance("General  commands");       61   fDetDir->SetGuidance("General  commands");
 61   fDetDir1 = new G4UIdirectory("/testem/physic <<  62   fDetDir1= new G4UIdirectory("/testem/physics/");
 62   fDetDir1->SetGuidance(" commands to define p     63   fDetDir1->SetGuidance(" commands to define physics");
 63   fDetDir2 = new G4UIdirectory("/testem/gun/") <<  64   fDetDir2= new G4UIdirectory("/testem/gun/");
 64   fDetDir2->SetGuidance(" commands to define g     65   fDetDir2->SetGuidance(" commands to define gun");
 65                                                    66 
 66   fAbsMaterCmd = new G4UIcmdWithAString("/test <<  67   fAbsMaterCmd = new G4UIcmdWithAString("/testem/target1Material",this);
 67   fAbsMaterCmd->SetGuidance("Select Material o     68   fAbsMaterCmd->SetGuidance("Select Material of the target1.");
 68   fAbsMaterCmd->SetParameterName("Material1",  <<  69   fAbsMaterCmd->SetParameterName("Material1",false);
 69   fAbsMaterCmd->AvailableForStates(G4State_Pre <<  70   fAbsMaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
 70                                                    71 
 71   fWorldMaterCmd = new G4UIcmdWithAString("/te <<  72   fWorldMaterCmd = new G4UIcmdWithAString("/testem/target2Material",this);
 72   fWorldMaterCmd->SetGuidance("Select Material     73   fWorldMaterCmd->SetGuidance("Select Material of the target2.");
 73   fWorldMaterCmd->SetParameterName("Material2" <<  74   fWorldMaterCmd->SetParameterName("Material2",false);
 74   fWorldMaterCmd->AvailableForStates(G4State_P <<  75   fWorldMaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
 75                                                    76 
 76   fAbsThickCmd = new G4UIcmdWithADoubleAndUnit <<  77   fAbsThickCmd = new G4UIcmdWithADoubleAndUnit("/testem/mylarZ",this);
 77   fAbsThickCmd->SetGuidance("Set mylarZ");         78   fAbsThickCmd->SetGuidance("Set mylarZ");
 78   fAbsThickCmd->SetParameterName("mylarZ", fal <<  79   fAbsThickCmd->SetParameterName("mylarZ",false);
 79   fAbsThickCmd->SetUnitCategory("Length");         80   fAbsThickCmd->SetUnitCategory("Length");
 80   fAbsThickCmd->AvailableForStates(G4State_Pre     81   fAbsThickCmd->AvailableForStates(G4State_PreInit);
 81                                                    82 
 82   fAbsGapCmd = new G4UIcmdWithADoubleAndUnit(" <<  83   fAbsGapCmd = new G4UIcmdWithADoubleAndUnit("/testem/delta",this);
 83   fAbsGapCmd->SetGuidance("Set gap between abs     84   fAbsGapCmd->SetGuidance("Set gap between absorbers");
 84   fAbsGapCmd->SetParameterName("delta", false) <<  85   fAbsGapCmd->SetParameterName("delta",false);
 85   fAbsGapCmd->SetUnitCategory("Length");           86   fAbsGapCmd->SetUnitCategory("Length");
 86   fAbsGapCmd->AvailableForStates(G4State_PreIn     87   fAbsGapCmd->AvailableForStates(G4State_PreInit);
 87                                                    88 
 88   fAbsSizYZCmd = new G4UIcmdWithADoubleAndUnit <<  89   fAbsSizYZCmd = new G4UIcmdWithADoubleAndUnit("/testem/target1Z",this);
 89   fAbsSizYZCmd->SetGuidance("Set targeet1Z");      90   fAbsSizYZCmd->SetGuidance("Set targeet1Z");
 90   fAbsSizYZCmd->SetParameterName("target1Z", f <<  91   fAbsSizYZCmd->SetParameterName("target1Z",false);
 91   fAbsSizYZCmd->SetUnitCategory("Length");         92   fAbsSizYZCmd->SetUnitCategory("Length");
 92   fAbsSizYZCmd->AvailableForStates(G4State_Pre     93   fAbsSizYZCmd->AvailableForStates(G4State_PreInit);
 93                                                    94 
 94   fWorldXCmd = new G4UIcmdWithADoubleAndUnit(" <<  95   fWorldXCmd = new G4UIcmdWithADoubleAndUnit("/testem/target2Z",this);
 95   fWorldXCmd->SetGuidance("Set target2Z");         96   fWorldXCmd->SetGuidance("Set target2Z");
 96   fWorldXCmd->SetParameterName("target2Z", fal <<  97   fWorldXCmd->SetParameterName("target2Z",false);
 97   fWorldXCmd->SetUnitCategory("Length");           98   fWorldXCmd->SetUnitCategory("Length");
 98   fWorldXCmd->AvailableForStates(G4State_PreIn     99   fWorldXCmd->AvailableForStates(G4State_PreInit);
 99                                                   100 
100   fXMagFieldCmd = new G4UIcmdWithADoubleAndUni << 101   fXMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/testem/checkShiftZ",this);
101   fXMagFieldCmd->SetGuidance("Define checkShft    102   fXMagFieldCmd->SetGuidance("Define checkShftZ");
102   fXMagFieldCmd->SetParameterName("CheckSZ", f << 103   fXMagFieldCmd->SetParameterName("CheckSZ",false);
103   fXMagFieldCmd->SetUnitCategory("Length");       104   fXMagFieldCmd->SetUnitCategory("Length");
104   fXMagFieldCmd->AvailableForStates(G4State_Pr    105   fXMagFieldCmd->AvailableForStates(G4State_PreInit);
105                                                   106 
106   fYMagFieldCmd = new G4UIcmdWithADoubleAndUni << 107   fYMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/testem/sdZ",this);
107   fYMagFieldCmd->SetGuidance("Define sensitive    108   fYMagFieldCmd->SetGuidance("Define sensitive detector Z");
108   fYMagFieldCmd->SetParameterName("sdZ", false << 109   fYMagFieldCmd->SetParameterName("sdZ",false);
109   fYMagFieldCmd->SetUnitCategory("Length");       110   fYMagFieldCmd->SetUnitCategory("Length");
110   fYMagFieldCmd->AvailableForStates(G4State_Pr    111   fYMagFieldCmd->AvailableForStates(G4State_PreInit);
111                                                   112 
112   fZMagFieldCmd = new G4UIcmdWithADoubleAndUni << 113   fZMagFieldCmd = new G4UIcmdWithADoubleAndUnit("/testem/sdShiftZ",this);
113   fZMagFieldCmd->SetGuidance("Define shift of     114   fZMagFieldCmd->SetGuidance("Define shift of sensitive detector");
114   fZMagFieldCmd->SetParameterName("sdShiftZ",  << 115   fZMagFieldCmd->SetParameterName("sdShiftZ",false);
115   fZMagFieldCmd->SetUnitCategory("Length");       116   fZMagFieldCmd->SetUnitCategory("Length");
116   fZMagFieldCmd->AvailableForStates(G4State_Pr    117   fZMagFieldCmd->AvailableForStates(G4State_PreInit);
117                                                   118 
118   fNumOfAbsCmd = new G4UIcmdWithAnInteger("/te << 119   fNumOfAbsCmd = new G4UIcmdWithAnInteger("/testem/numberDivR",this);
119   fNumOfAbsCmd->SetGuidance("Set number divisi    120   fNumOfAbsCmd->SetGuidance("Set number divisions R");
120   fNumOfAbsCmd->SetParameterName("NR", false); << 121   fNumOfAbsCmd->SetParameterName("NR",false);
121   fNumOfAbsCmd->AvailableForStates(G4State_Pre    122   fNumOfAbsCmd->AvailableForStates(G4State_PreInit);
122                                                   123 
123   fNumOfEvt = new G4UIcmdWithAnInteger("/teste << 124   fNumOfEvt = new G4UIcmdWithAnInteger("/testem/numberDivZ",this);
124   fNumOfEvt->SetGuidance("Set number of divisi    125   fNumOfEvt->SetGuidance("Set number of divisions Z");
125   fNumOfEvt->SetParameterName("NZ", false);    << 126   fNumOfEvt->SetParameterName("NZ",false);
126   fNumOfEvt->AvailableForStates(G4State_PreIni    127   fNumOfEvt->AvailableForStates(G4State_PreInit);
127                                                   128 
128   fVerbCmd = new G4UIcmdWithAnInteger("/testem << 129   fVerbCmd = new G4UIcmdWithAnInteger("/testem/verbose",this);
129   fVerbCmd->SetGuidance("Set verbose for ");      130   fVerbCmd->SetGuidance("Set verbose for ");
130   fVerbCmd->SetParameterName("verb", false);   << 131   fVerbCmd->SetParameterName("verb",false);
131   fVerbCmd->AvailableForStates(G4State_PreInit << 132   fVerbCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
132                                                   133 
133   fIntCmd = new G4UIcmdWithAnInteger("/testem/ << 134   fIntCmd = new G4UIcmdWithAnInteger("/testem/numberDivE",this);
134   fIntCmd->SetGuidance("Set number of division    135   fIntCmd->SetGuidance("Set number of divisions E");
135   fIntCmd->SetParameterName("NZ", false);      << 136   fIntCmd->SetParameterName("NZ",false);
136   fIntCmd->AvailableForStates(G4State_PreInit)    137   fIntCmd->AvailableForStates(G4State_PreInit);
137                                                   138 
138   fDeltaECmd = new G4UIcmdWithADoubleAndUnit(" << 139   fDeltaECmd = new G4UIcmdWithADoubleAndUnit("/testem/maxEnergy",this);
139   fDeltaECmd->SetGuidance("Define scale of sec    140   fDeltaECmd->SetGuidance("Define scale of secondary energy histogram");
140   fDeltaECmd->SetParameterName("DeltaE", false << 141   fDeltaECmd->SetParameterName("DeltaE",false);
141   fDeltaECmd->SetUnitCategory("Energy");          142   fDeltaECmd->SetUnitCategory("Energy");
142   fDeltaECmd->AvailableForStates(G4State_PreIn << 143   fDeltaECmd->AvailableForStates(G4State_PreInit,G4State_Idle);
                                                   >> 144 
143 }                                                 145 }
144                                                   146 
145 //....oooOO0OOooo........oooOO0OOooo........oo    147 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
146                                                   148 
147 DetectorMessenger::~DetectorMessenger()           149 DetectorMessenger::~DetectorMessenger()
148 {                                                 150 {
149   delete fDetDir;                                 151   delete fDetDir;
150   delete fDetDir1;                                152   delete fDetDir1;
151   delete fDetDir2;                                153   delete fDetDir2;
152                                                   154 
153   delete fAbsMaterCmd;                            155   delete fAbsMaterCmd;
154   delete fAbsThickCmd;                            156   delete fAbsThickCmd;
155   delete fAbsGapCmd;                              157   delete fAbsGapCmd;
156   delete fAbsSizYZCmd;                            158   delete fAbsSizYZCmd;
157   delete fWorldMaterCmd;                          159   delete fWorldMaterCmd;
158   delete fWorldXCmd;                              160   delete fWorldXCmd;
159   delete fXMagFieldCmd;                           161   delete fXMagFieldCmd;
160   delete fYMagFieldCmd;                           162   delete fYMagFieldCmd;
161   delete fZMagFieldCmd;                           163   delete fZMagFieldCmd;
162   delete fNumOfAbsCmd;                            164   delete fNumOfAbsCmd;
163   delete fNumOfEvt;                               165   delete fNumOfEvt;
164   delete fVerbCmd;                                166   delete fVerbCmd;
165   delete fIntCmd;                                 167   delete fIntCmd;
166   delete fDeltaECmd;                              168   delete fDeltaECmd;
                                                   >> 169 
167 }                                                 170 }
168                                                   171 
169 //....oooOO0OOooo........oooOO0OOooo........oo    172 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
170                                                   173 
171 void DetectorMessenger::SetNewValue(G4UIcomman << 174 void DetectorMessenger::SetNewValue(G4UIcommand* command,G4String newValue)
172 {                                                 175 {
173   if (command == fAbsMaterCmd) {               << 176 
174     fDetector->SetTarget1Material(newValue);   << 177   if( command == fAbsMaterCmd )
175   }                                            << 178    { fDetector->SetTarget1Material(newValue);}
176                                                << 179 
177   if (command == fWorldMaterCmd) {             << 180   if( command == fWorldMaterCmd )
178     fDetector->SetTarget2Material(newValue);   << 181    { fDetector->SetTarget2Material(newValue);}
179   }                                            << 182 
180                                                << 183   if( command == fAbsThickCmd )
181   if (command == fAbsThickCmd) {               << 184    { fDetector->SetMylarZ(fAbsThickCmd->GetNewDoubleValue(newValue));}
182     fDetector->SetMylarZ(fAbsThickCmd->GetNewD << 185 
183   }                                            << 186   if( command == fAbsGapCmd )
184                                                << 187    { fDetector->SetGap(fAbsGapCmd->GetNewDoubleValue(newValue));}
185   if (command == fAbsGapCmd) {                 << 188 
186     fDetector->SetGap(fAbsGapCmd->GetNewDouble << 189   if( command == fAbsSizYZCmd )
187   }                                            << 190    { fDetector->SetTarget1Z(fAbsSizYZCmd->GetNewDoubleValue(newValue));}
188                                                << 191 
189   if (command == fAbsSizYZCmd) {               << 192   if( command == fWorldXCmd )
190     fDetector->SetTarget1Z(fAbsSizYZCmd->GetNe << 193    { fDetector->SetTarget2Z(fWorldXCmd->GetNewDoubleValue(newValue));}
191   }                                            << 194 
192                                                << 195   if( command == fXMagFieldCmd )
193   if (command == fWorldXCmd) {                 << 196    { fDetector->SetCheckShiftZ(fXMagFieldCmd->GetNewDoubleValue(newValue));}
194     fDetector->SetTarget2Z(fWorldXCmd->GetNewD << 197 
195   }                                            << 198   if( command == fYMagFieldCmd )
196                                                << 199    { G4double x = fYMagFieldCmd->GetNewDoubleValue(newValue);
197   if (command == fXMagFieldCmd) {              << 200      fDetector->SetAbsorberZ(x);
198     fDetector->SetCheckShiftZ(fXMagFieldCmd->G << 201    }
199   }                                            << 202 
200                                                << 203   if( command == fZMagFieldCmd )
201   if (command == fYMagFieldCmd) {              << 204    { fDetector->SetAbsorberShiftZ(fZMagFieldCmd->GetNewDoubleValue(newValue));}
202     G4double x = fYMagFieldCmd->GetNewDoubleVa << 205 
203     fDetector->SetAbsorberZ(x);                << 206   if( command == fNumOfAbsCmd )
204   }                                            << 207    {
205                                                << 208      fDetector->SetNumberDivR(fNumOfAbsCmd->GetNewIntValue(newValue));
206   if (command == fZMagFieldCmd) {              << 209    }
207     fDetector->SetAbsorberShiftZ(fZMagFieldCmd << 210 
208   }                                            << 211   if( command == fNumOfEvt )
209                                                << 212    { fDetector->SetNumberDivZ(fNumOfEvt->GetNewIntValue(newValue));}
210   if (command == fNumOfAbsCmd) {               << 213 
211     fDetector->SetNumberDivR(fNumOfAbsCmd->Get << 214   if( command == fIntCmd )
212   }                                            << 215    { fDetector->SetNumberDivE(fIntCmd->GetNewIntValue(newValue));}
213                                                << 216   if( command == fDeltaECmd )
214   if (command == fNumOfEvt) {                  << 217    { fDetector->SetMaxEnergy(fDeltaECmd->GetNewDoubleValue(newValue));}
215     fDetector->SetNumberDivZ(fNumOfEvt->GetNew << 218 
216   }                                            << 219   if( command == fVerbCmd ){
217                                                << 220      G4int ver = fVerbCmd->GetNewIntValue(newValue);
218   if (command == fIntCmd) {                    << 221      fDetector->SetVerbose(ver);
219     fDetector->SetNumberDivE(fIntCmd->GetNewIn << 222    }
220   }                                            << 223 
221   if (command == fDeltaECmd) {                 << 
222     fDetector->SetMaxEnergy(fDeltaECmd->GetNew << 
223   }                                            << 
224                                                << 
225   if (command == fVerbCmd) {                   << 
226     G4int ver = fVerbCmd->GetNewIntValue(newVa << 
227     fDetector->SetVerbose(ver);                << 
228   }                                            << 
229 }                                                 224 }
230                                                   225 
231 //....oooOO0OOooo........oooOO0OOooo........oo    226 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
232                                                   227