~ryan-bayes/maus/1432

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/Globals.cc

  • Committer: Ryan Bayes
  • Date: 2015-03-17 16:18:02 UTC
  • mfrom: (809.1.12 merge)
  • Revision ID: ryan.bayes@glasgow.ac.uk-20150317161802-q1me1dnw3ivxh4ft
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "src/common_cpp/Utils/Globals.hh"
22
22
#include "src/common_cpp/Utils/VersionNumber.hh"
23
23
#include "src/legacy/Interface/STLUtils.hh"
 
24
#include "Geant4/G4PVPlacement.hh"
24
25
 
25
26
namespace MAUS {
26
27
 
90
91
    return GetInstance()->_recon_mods;
91
92
}
92
93
 
 
94
GeometryNavigator* Globals::GetMCGeometryNavigator() {
 
95
    return GetInstance()->_mc_geometry_navigator;
 
96
}
 
97
 
93
98
std::string Globals::GetVersionNumberString() {
94
99
    std::string version = STLUtils::ToString(MAUS_VERSION_NUMBER_X)+"."+
95
100
                          STLUtils::ToString(MAUS_VERSION_NUMBER_Y)+"."+