]>
Commit | Line | Data |
---|---|---|
26911512 | 1 | #ifndef FLUGGNAVIGATOR_H |
2 | #define FLUGGNAVIGATOR_H 1 | |
3 | ||
4 | //To have access to the private data members, let's play a dirty trick | |
5 | #define private protected | |
6 | #include "G4Navigator.hh" | |
7 | #undef private | |
8 | ||
9 | ||
10 | class FluggNavigator : public G4Navigator | |
11 | { | |
12 | public: | |
13 | ||
0edf14e7 | 14 | friend std::ostream& operator << (std::ostream &os, const FluggNavigator &n); |
26911512 | 15 | |
16 | FluggNavigator(); | |
17 | // Constructor - initialisers and setup. | |
18 | ||
19 | virtual ~FluggNavigator() {} | |
20 | // Destructor. No actions. | |
21 | ||
22 | // flugg member function: reinitialization of navigator history with | |
23 | // secondary particle history banked on fluka side | |
24 | void UpdateNavigatorHistory(const G4NavigationHistory* newNavHistory); | |
25 | ||
26 | }; | |
27 | ||
28 | #endif |