Changeset 1337 for trunk/examples/extended/electromagnetic/TestEm14/include
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm14/include
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm14/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.3 2006/06/29 16:44:56 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.3 2006/06/29 16:44:58 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.3 2006/06/29 16:45:00 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.3 2006/06/29 16:45:02 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.4 2007/11/13 12:13:32 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.4 2007/11/13 12:13:32 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PhysListEmLivermore.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmLivermore.hh,v 1.4 2009/11/19 10:36:37 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PhysListEmPenelope.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmPenelope.hh,v 1.4 2009/11/19 10:36:37 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PhysListEmStandard.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysListEmStandard.hh,v 1.3 2006/06/29 16:45:14 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: PhysicsList.hh,v 1.3 2006/06/29 16:45:16 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.3 2006/06/29 16:45:18 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.3 2006/06/29 16:45:20 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm14/include/RunAction.hh
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: RunAction.hh,v 1. 4 2006/09/06 09:56:06maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: RunAction.hh,v 1.5 2010/04/05 18:02:39 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 34 34 35 35 #include "G4UserRunAction.hh" 36 #include "ProcessesCount.hh"37 36 #include "globals.hh" 37 #include <map> 38 38 39 39 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 56 56 void EndOfRunAction(const G4Run*); 57 57 58 void CountProcesses(G4String); 58 void CountProcesses(G4String procName) 59 {procCounter[procName]++;}; 59 60 void SumTrack (G4double track) 60 {totalCount++; sumTrack += track; sumTrack2 += track*track;};61 {totalCount++; sumTrack += track; sumTrack2 += track*track;}; 61 62 void SumeTransf (G4double energy) 62 {eTransfer += energy;};63 {eTransfer += energy;}; 63 64 64 65 private: 65 DetectorConstruction* detector; 66 PrimaryGeneratorAction* primary; 67 ProcessesCount* ProcCounter; 68 HistoManager* histoManager; 66 DetectorConstruction* detector; 67 PrimaryGeneratorAction* primary; 68 HistoManager* histoManager; 69 69 70 std::map<G4String,G4int> procCounter; 70 71 G4int totalCount; //all processes counter 71 72 G4double sumTrack; //sum of trackLength -
trunk/examples/extended/electromagnetic/TestEm14/include/SteppingAction.hh
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: SteppingAction.hh,v 1. 4 2006/09/06 09:56:06maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: SteppingAction.hh,v 1.5 2010/04/02 13:22:02 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 39 39 class RunAction; 40 40 class HistoManager; 41 class SteppingMessenger;42 41 43 42 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 51 50 void UserSteppingAction(const G4Step*); 52 51 53 void SetMaxEdepForPlot(G4double value) {fract = value;};54 55 52 private: 56 53 PrimaryGeneratorAction* primary; 57 54 RunAction* runAction; 58 55 HistoManager* histoManager; 59 SteppingMessenger* stepMessenger;60 61 G4double fract; //max edep for plotting final state62 56 }; 63 57 -
trunk/examples/extended/electromagnetic/TestEm14/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.3 2006/06/29 16:45:31 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // This class manages the verbose outputs in G4SteppingManager.
Note: See TracChangeset
for help on using the changeset viewer.