- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/builders/src/G4OpticalPhysicsMessenger.cc
r1203 r1340 55 55 fSetCerenkovMaxBetaChangeCmd(0), 56 56 fSetScintillationYieldFactorCmd(0), 57 fSetScintillationByParticleTypeCmd(0), 57 58 fSetOpticalSurfaceModelCmd(0), 58 59 fSetWLSTimeProfileCmd(0), … … 105 106 fSetScintillationYieldFactorCmd->SetRange("ScintillationYieldFactor>=0"); 106 107 fSetScintillationYieldFactorCmd->AvailableForStates(G4State_Idle,G4State_GeomClosed,G4State_EventProc); 108 109 fSetScintillationByParticleTypeCmd 110 = new G4UIcmdWithABool("/optics_engine/setScintillationByParticleType", this); 111 fSetScintillationByParticleTypeCmd->SetGuidance("Activate/Inactivate scintillation process by particle type"); 112 fSetScintillationByParticleTypeCmd->SetParameterName("ScintillationByParticleTypeActivation", false); 113 fSetScintillationByParticleTypeCmd->AvailableForStates(G4State_Idle,G4State_GeomClosed,G4State_EventProc); 107 114 108 115 fSetOpticalSurfaceModelCmd … … 141 148 delete fSetCerenkovMaxBetaChangeCmd; 142 149 delete fSetScintillationYieldFactorCmd; 150 delete fSetScintillationByParticleTypeCmd; 143 151 delete fSetOpticalSurfaceModelCmd; 144 152 delete fSetWLSTimeProfileCmd; … … 160 168 else if ( newValue == "OpRayleigh" ) fSelectedProcess = fOpticalPhysics-> 161 169 GetOpRayleighProcess(); 170 else if ( newValue == "OpMieHG" ) fSelectedProcess = fOpticalPhysics-> 171 GetOpMieHGProcess(); 162 172 else if ( newValue == "OpBoundary" ) fSelectedProcess = fOpticalPhysics-> 163 173 GetOpBoundaryProcess(); … … 208 218 ->SetScintillationYieldFactor( 209 219 fSetScintillationYieldFactorCmd->GetNewDoubleValue(newValue)); 210 } 220 } 221 else if (command == fSetScintillationByParticleTypeCmd) { 222 fOpticalPhysics 223 ->SetScintillationByParticleType( 224 fSetScintillationByParticleTypeCmd->GetNewBoolValue(newValue)); 225 } 211 226 else if (command == fSetOpticalSurfaceModelCmd) { 212 227 if ( newValue == "glisur" ) {
Note: See TracChangeset
for help on using the changeset viewer.