|
Last change
on this file since 288 was 233, checked in by barrand, 19 years ago |
|
|
-
Property svn:eol-style
set to
native
|
|
File size:
425 bytes
|
| Rev | Line | |
|---|
| [233] | 1 | #ifndef G4Lab_SteppingAction_h
|
|---|
| 2 | #define G4Lab_SteppingAction_h
|
|---|
| 3 |
|
|---|
| 4 | #include <G4UserSteppingAction.hh>
|
|---|
| 5 |
|
|---|
| 6 | namespace G4Lab {
|
|---|
| 7 |
|
|---|
| 8 | class SteppingAction : public G4UserSteppingAction {
|
|---|
| 9 | public: //G4UserSteppingAction
|
|---|
| 10 | virtual void UserSteppingAction(const G4Step*);
|
|---|
| 11 | public:
|
|---|
| 12 | SteppingAction();
|
|---|
| 13 | virtual ~SteppingAction();
|
|---|
| 14 | void enable();
|
|---|
| 15 | void disable();
|
|---|
| 16 | protected:
|
|---|
| 17 | void render(const G4Step*);
|
|---|
| 18 | private:
|
|---|
| 19 | bool fEnabled;
|
|---|
| 20 | };
|
|---|
| 21 |
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.