Changeset 1342 for trunk/examples/extended/electromagnetic/TestEm8/include
- Timestamp:
- Nov 5, 2010, 4:08:39 PM (15 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm8/include
- Files:
-
- 2 edited
-
PhysicsList.hh (modified) (4 diffs)
-
PhysicsListMessenger.hh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm8/include/PhysicsList.hh
r1337 r1342 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysicsList.hh,v 1.5 2010/09/08 09:12:10 vnivanch Exp $ 27 // GEANT4 tag $Name: examples-V09-03-09 $ 26 28 // 27 // $Id: PhysicsList.hh,v 1.4 2010/04/13 08:12:23 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 //--------------------------------------------------------------------------- 29 30 // 30 // ....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......31 // ClassName: PhysicsList 31 32 // 32 // 14.10.02 (V.Ivanchenko) provide modular list on base of old PhysicsList33 // Description: EM physics with a possibility to add PAI model 33 34 // 34 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 35 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 35 // Author: V.Ivanchenko 01.09.2010 36 // 37 //---------------------------------------------------------------------------- 38 // 36 39 37 40 #ifndef PhysicsList_h … … 51 54 { 52 55 public: 56 53 57 PhysicsList(); 54 58 virtual ~PhysicsList(); … … 60 64 void SetCutForElectron(G4double); 61 65 void SetCutForPositron(G4double); 66 void SetCutForProton(G4double); 62 67 63 68 void AddPhysicsList(const G4String& name); 64 69 void ConstructProcess(); 65 70 66 void AddStepMax(); 67 //StepMax* GetStepMaxProcess() {return stepMaxProcess;}; 71 void AddStepMax(); 68 72 69 73 private: … … 78 82 G4double cutForElectron; 79 83 G4double cutForPositron; 84 G4double cutForProton; 80 85 81 86 G4VPhysicsConstructor* emPhysicsList; -
trunk/examples/extended/electromagnetic/TestEm8/include/PhysicsListMessenger.hh
r1337 r1342 25 25 // 26 26 // 27 // $Id: PhysicsListMessenger.hh,v 1. 2 2006/06/29 16:59:49 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: PhysicsListMessenger.hh,v 1.3 2010/09/08 09:12:10 vnivanch Exp $ 28 // GEANT4 tag $Name: examples-V09-03-09 $ 29 29 // 30 //--------------------------------------------------------------------------- 31 // 32 // ClassName: PhysicsListMessenger 33 // 34 // Description: EM physics with a possibility to add PAI model 35 // 36 // Author: V.Ivanchenko 01.09.2010 37 // 38 //---------------------------------------------------------------------------- 30 39 // 31 40 … … 42 51 class G4UIcmdWithADoubleAndUnit; 43 52 class G4UIcmdWithAString; 53 class G4UIcmdWithAnInteger; 44 54 45 55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 47 57 class PhysicsListMessenger: public G4UImessenger 48 58 { 49 public:59 public: 50 60 51 PhysicsListMessenger(PhysicsList* );52 ~PhysicsListMessenger();61 PhysicsListMessenger(PhysicsList* ); 62 virtual ~PhysicsListMessenger(); 53 63 54 void SetNewValue(G4UIcommand*, G4String);64 void SetNewValue(G4UIcommand*, G4String); 55 65 56 private:66 private: 57 67 58 PhysicsList* pPhysicsList;68 PhysicsList* pPhysicsList; 59 69 60 G4UIcmdWithADoubleAndUnit* gammaCutCmd; 61 G4UIcmdWithADoubleAndUnit* electCutCmd; 62 G4UIcmdWithADoubleAndUnit* protoCutCmd; 63 G4UIcmdWithADoubleAndUnit* allCutCmd; 64 G4UIcmdWithAString* pListCmd; 70 G4UIcmdWithADoubleAndUnit* eCmd; 71 G4UIcmdWithAnInteger* ebCmd; 72 G4UIcmdWithAnInteger* cbCmd; 73 G4UIcmdWithAString* pListCmd; 65 74 66 75 };
Note:
See TracChangeset
for help on using the changeset viewer.
