Ignore:
Timestamp:
Nov 5, 2010, 4:08:39 PM (14 years ago)
Author:
garnier
Message:

update ti head

Location:
trunk/examples/extended/electromagnetic/TestEm7/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/electromagnetic/TestEm7/include/RunAction.hh

    r1337 r1342  
    2424// ********************************************************************
    2525//
    26 // $Id: RunAction.hh,v 1.14 2008/08/22 18:30:27 vnivanch Exp $
    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 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3838class DetectorConstruction;
    3939class PhysicsList;
     40class HistoManager;
    4041class PrimaryGeneratorAction;
     42
    4143class G4Run;
    42 class Histo;
    4344
    4445//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    4748{
    4849public:
    49   RunAction(DetectorConstruction*, PhysicsList*,
     50  RunAction(DetectorConstruction*, PhysicsList*, HistoManager*,
    5051            PrimaryGeneratorAction*);
    5152  virtual ~RunAction();
     
    5657  void FillTallyEdep(G4int n, G4double e)  {tallyEdep[n] += e;};
    5758  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);
    6459   
    6560  void AddProjRange (G4double x)
     
    7166  DetectorConstruction*   detector;
    7267  PhysicsList*            physics;
     68  HistoManager*           histoManager;
    7369  PrimaryGeneratorAction* kinematic;
    7470  G4double*               tallyEdep;   
    75   G4double                binLength;
    76   G4double                offsetX;
    77   G4double                length;
    7871  G4double                projRange, projRange2;
    7972  G4double                edeptot, eniel;
    8073  G4int                   nPrimarySteps;
    8174  G4int                   nRange;
    82 
    83   Histo*                  histo;
    8475};
    8576
  • trunk/examples/extended/electromagnetic/TestEm7/include/SteppingAction.hh

    r1337 r1342  
    2424// ********************************************************************
    2525//
    26 // $Id: SteppingAction.hh,v 1.2 2006/06/29 16:58:05 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: SteppingAction.hh,v 1.3 2010/09/17 18:45:43 maire Exp $
     27// GEANT4 tag $Name: examples-V09-03-09 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3636
    3737class DetectorConstruction;
     38class HistoManager;
    3839class RunAction;
    3940
     
    4344{
    4445  public:
    45     SteppingAction(DetectorConstruction*,RunAction*);
     46    SteppingAction(DetectorConstruction*, HistoManager*, RunAction*);
    4647   ~SteppingAction();
    4748
     
    5051  private:
    5152    DetectorConstruction* detector;
     53    HistoManager*         histoManager;   
    5254    RunAction*            runAction;
    5355};
  • trunk/examples/extended/electromagnetic/TestEm7/include/TrackingAction.hh

    r1337 r1342  
    2424// ********************************************************************
    2525//
    26 // $Id: TrackingAction.hh,v 1.2 2006/06/29 16:58:09 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: TrackingAction.hh,v 1.3 2010/09/17 18:45:43 maire Exp $
     27// GEANT4 tag $Name: examples-V09-03-09 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3636#include "globals.hh"
    3737
     38class DetectorConstruction;
     39class HistoManager;
    3840class RunAction;
    3941
     
    4345
    4446  public: 
    45     TrackingAction(RunAction*);
     47    TrackingAction(DetectorConstruction*, HistoManager*, RunAction*);
    4648   ~TrackingAction() {};
    4749   
     
    4951   
    5052  private:
    51     RunAction* runAction;   
     53    DetectorConstruction* detector;
     54    HistoManager*         histoManager;     
     55    RunAction*            runAction;   
    5256};
    5357
Note: See TracChangeset for help on using the changeset viewer.