- Timestamp:
- Nov 5, 2010, 4:08:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm7/include/RunAction.hh
r1337 r1342 24 24 // ******************************************************************** 25 25 // 26 // $Id: RunAction.hh,v 1.1 4 2008/08/22 18:30:27 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: RunAction.hh,v 1.15 2010/09/17 18:45:43 maire Exp $ 27 // GEANT4 tag $Name: examples-V09-03-09 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 38 38 class DetectorConstruction; 39 39 class PhysicsList; 40 class HistoManager; 40 41 class PrimaryGeneratorAction; 42 41 43 class G4Run; 42 class Histo;43 44 44 45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 47 48 { 48 49 public: 49 RunAction(DetectorConstruction*, PhysicsList*, 50 RunAction(DetectorConstruction*, PhysicsList*, HistoManager*, 50 51 PrimaryGeneratorAction*); 51 52 virtual ~RunAction(); … … 56 57 void FillTallyEdep(G4int n, G4double e) {tallyEdep[n] += e;}; 57 58 void FillEdep(G4double de, G4double eni) {edeptot += de; eniel += eni;}; 58 59 G4double GetBinLength() {return binLength;};60 G4double GetLength() {return length;};61 G4double GetOffsetX() {return offsetX;}62 63 void FillHisto(G4int id, G4double x, G4double weight = 1.0);64 59 65 60 void AddProjRange (G4double x) … … 71 66 DetectorConstruction* detector; 72 67 PhysicsList* physics; 68 HistoManager* histoManager; 73 69 PrimaryGeneratorAction* kinematic; 74 70 G4double* tallyEdep; 75 G4double binLength;76 G4double offsetX;77 G4double length;78 71 G4double projRange, projRange2; 79 72 G4double edeptot, eniel; 80 73 G4int nPrimarySteps; 81 74 G4int nRange; 82 83 Histo* histo;84 75 }; 85 76
Note: See TracChangeset
for help on using the changeset viewer.