]>
Commit | Line | Data |
---|---|---|
26911512 | 1 | // |
2 | // ******************************************************************** | |
3 | // * DISCLAIMER * | |
4 | // * * | |
5 | // * The following disclaimer summarizes all the specific disclaimers * | |
6 | // * of contributors to this software. The specific disclaimers,which * | |
7 | // * govern, are listed with their locations in: * | |
8 | // * http://cern.ch/geant4/license * | |
9 | // * * | |
10 | // * Neither the authors of this software system, nor their employing * | |
11 | // * institutes,nor the agencies providing financial support for this * | |
12 | // * work make any representation or warranty, express or implied, * | |
13 | // * regarding this software system or assume any liability for its * | |
14 | // * use. * | |
15 | // * * | |
16 | // * This code implementation is the intellectual property of the * | |
17 | // * GEANT4 collaboration. * | |
18 | // * By copying, distributing or modifying the Program (or any work * | |
19 | // * based on the Program) you indicate your acceptance of this * | |
20 | // * statement, and all its terms. * | |
21 | // ******************************************************************** | |
22 | // | |
23 | // | |
24 | ||
25 | // GEANT4 tag $ Name: $ | |
26 | // | |
27 | // class FluggNavigator Implementation Paul Kent July 95/96 | |
28 | ||
29 | #include "FluggNavigator.hh" | |
30 | #include "G4ios.hh" | |
31 | #include "g4std/iomanip" | |
32 | ||
33 | #define G4DEBUG_NAVIGATION 1 | |
34 | #define G4VERBOSE 1 | |
35 | ||
36 | FluggNavigator::FluggNavigator() : | |
37 | G4Navigator() | |
38 | { | |
39 | G4cout << "==> Flugg FluggNavigator constructor" << G4endl; | |
40 | G4cout << "\t+fHistory=" << fHistory << ") ..." << G4endl; | |
41 | ResetStackAndState(); | |
42 | G4cout << "<== Flugg FluggNavigator constructor" << G4endl; | |
43 | } | |
44 | ||
45 | void FluggNavigator::UpdateNavigatorHistory(const G4NavigationHistory* newNavHistory) | |
46 | { | |
47 | cout << "==> Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory | |
48 | << ")" << endl; | |
49 | cout << "\t+fHistory=" << fHistory << ") ..." << G4endl; | |
50 | ResetStackAndState(); | |
51 | fHistory = *newNavHistory; | |
52 | SetupHierarchy(); | |
53 | cout << "<== Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory | |
54 | << ")" << endl; | |
55 | } |