Trigger board name according to PRR
[u/mrichter/AliRoot.git] / Flugg / WrapUtils.hh
CommitLineData
26911512 1
2// Flugg tag
3
4///////////////////////////////////////////////////////////////////
5//
6// Some utility methods used for several wrapped functions
7//
8///////////////////////////////////////////////////////////////////
9
10#ifndef WrapUtils_hh
11#define WrapUtils_hh 1
12
36c70081 13//#include <iostream.h>
14#include <iomanip>
26911512 15#include "G4NavigationHistory.hh"
16#include "G4ThreeVector.hh"
26911512 17
18//Forward declarations
19
20//StepAndLocation declaration. Used in:
21// - WrapG1.cc
22// - WrapNorml.cc
23G4int StepAndLocation(G4ThreeVector &, const G4ThreeVector &,
24 const G4double &, G4double &, G4double &, G4bool &,
25 G4bool &, const G4int &);
26
27//EqualHistories declaration: true if histories are identical, otherwise false.
28//Used in:
29// - WrapG1.cc
30bool EqualHistories(const G4NavigationHistory*,
31 const G4NavigationHistory*);
32
26d97e06 33// Common print utilities used in FGeometryInit.cc
0edf14e7 34inline std::ostream& setw10(std::ostream& os) { return os << std::setw(10);}
35inline std::ostream& setscientific(std::ostream& os) { return os << std::setiosflags(std::ios::scientific);}
36inline std::ostream& setfixed(std::ostream& os) { return os << std::setiosflags(std::ios::fixed);}
37std::ostream& PrintHeader(std::ostream& os, const char* title);
26d97e06 38G4String ToFlukaString(G4String str);
26911512 39
40#endif