summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2012-04-05 11:10:20 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commite3d007e7ed5aefcc719bb65c4e83ba6138cd356d (patch)
treefea3f2c6870f0baba6ac745d0f15f523e24769d1
parent5e112ce82998864437606b58bf75edefb6cc1387 (diff)
downloadchroma-e3d007e7ed5aefcc719bb65c4e83ba6138cd356d.tar.gz
chroma-e3d007e7ed5aefcc719bb65c4e83ba6138cd356d.tar.bz2
chroma-e3d007e7ed5aefcc719bb65c4e83ba6138cd356d.zip
Minor patches to include directories for GEANT4.9.5.
-rw-r--r--src/G4chroma.cc5
-rw-r--r--src/G4chroma.hh6
-rw-r--r--src/mute.cc2
3 files changed, 6 insertions, 7 deletions
diff --git a/src/G4chroma.cc b/src/G4chroma.cc
index c0817a1..f58a122 100644
--- a/src/G4chroma.cc
+++ b/src/G4chroma.cc
@@ -1,6 +1,6 @@
#include "G4chroma.hh"
-#include <geant4/G4OpticalPhysics.hh>
-#include <geant4/G4EmPenelopePhysics.hh>
+#include <G4OpticalPhysics.hh>
+#include <G4EmPenelopePhysics.hh>
ChromaPhysicsList::ChromaPhysicsList(): G4VModularPhysicsList()
{
@@ -12,7 +12,6 @@ ChromaPhysicsList::ChromaPhysicsList(): G4VModularPhysicsList()
// Optical Physics
G4OpticalPhysics* opticalPhysics = new G4OpticalPhysics();
RegisterPhysics( opticalPhysics );
- opticalPhysics->SetTrackSecondariesFirst(false);
}
ChromaPhysicsList::~ChromaPhysicsList()
diff --git a/src/G4chroma.hh b/src/G4chroma.hh
index 4f085aa..cb6c062 100644
--- a/src/G4chroma.hh
+++ b/src/G4chroma.hh
@@ -1,7 +1,7 @@
#ifndef __G4chroma_hh__
#define __G4chroma_hh__
-#include <geant4/G4VModularPhysicsList.hh>
+#include <G4VModularPhysicsList.hh>
class ChromaPhysicsList: public G4VModularPhysicsList
{
public:
@@ -10,9 +10,9 @@ public:
virtual void SetCuts();
};
-#include <geant4/G4UserTrackingAction.hh>
+#include <G4UserTrackingAction.hh>
#include <vector>
-#include <geant4/G4ThreeVector.hh>
+#include <G4ThreeVector.hh>
class PhotonTrackingAction : public G4UserTrackingAction
{
diff --git a/src/mute.cc b/src/mute.cc
index e13814f..bd8abac 100644
--- a/src/mute.cc
+++ b/src/mute.cc
@@ -1,4 +1,4 @@
-#include <geant4/G4ios.hh>
+#include <G4ios.hh>
class discard_streambuf : public std::streambuf {
public: