/[PAMELA software]/PamG4/include/SteppingAction.hh
ViewVC logotype

Annotation of /PamG4/include/SteppingAction.hh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 13 16:20:39 2005 UTC (18 years, 11 months ago) by cafagna
Branch point for: start, MAIN
Initial revision

1 cafagna 1.1
2     #ifndef SteppingAction_h
3     #define SteppingAction_h 1
4    
5     #include "G4UserSteppingAction.hh"
6     #include "globals.hh"
7    
8     class RunAction;
9     class DetectorConstruction;
10    
11     class SteppingAction : public G4UserSteppingAction
12     {
13     public:
14     SteppingAction(DetectorConstruction* myDC , RunAction* myRU);
15     virtual ~SteppingAction();
16    
17     virtual void UserSteppingAction(const G4Step*);
18     private:
19     G4bool drawFlag;
20     DetectorConstruction* myDetector;
21     RunAction* runAction;
22     // RunAction::Edep[90];
23     public:
24     inline void SetDrawFlag(G4bool val)
25     { drawFlag = val; };
26     };
27    
28     #endif
29    
30    
31     // 2005 by G.I.Vasilyev
32    

  ViewVC Help
Powered by ViewVC 1.1.23