]> git.uio.no Git - u/mrichter/AliRoot.git/blame - Flugg/FluggNavigator.cxx
Using TMath::Abs instead of fabs
[u/mrichter/AliRoot.git] / Flugg / FluggNavigator.cxx
CommitLineData
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
e73e0522 33#ifdef G4GEOMETRY_DEBUG
34# define G4DEBUG_NAVIGATION 1
35# define G4VERBOSE 1
36#endif
26911512 37
38FluggNavigator::FluggNavigator() :
39 G4Navigator()
40{
e73e0522 41#ifdef G4GEOMETRY_DEBUG
26911512 42 G4cout << "==> Flugg FluggNavigator constructor" << G4endl;
e73e0522 43#endif
44
26911512 45 ResetStackAndState();
e73e0522 46
47#ifdef G4GEOMETRY_DEBUG
26911512 48 G4cout << "<== Flugg FluggNavigator constructor" << G4endl;
e73e0522 49#endif
26911512 50}
51
52void FluggNavigator::UpdateNavigatorHistory(const G4NavigationHistory* newNavHistory)
53{
e73e0522 54#ifdef G4GEOMETRY_DEBUG
26911512 55 cout << "==> Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory
56 << ")" << endl;
57 cout << "\t+fHistory=" << fHistory << ") ..." << G4endl;
e73e0522 58#endif
59
26911512 60 ResetStackAndState();
61 fHistory = *newNavHistory;
62 SetupHierarchy();
e73e0522 63
64#ifdef G4GEOMETRY_DEBUG
26911512 65 cout << "<== Flugg FluggNavigator::UpdateNavigatorHistory(" << newNavHistory
66 << ")" << endl;
e73e0522 67#endif
26911512 68}