Skip to content

Commit 83b6820

Browse files
Merge pull request #16 from icecube/SN_issue
Fix SN simulation: Compilation errors and model paths
2 parents 9982240 + af0eb85 commit 83b6820

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

simulations/supernova/include/OMSimSNParticleGenerators.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "G4VUserPrimaryGeneratorAction.hh"
1010
#include "OMSimPrimaryGeneratorMessenger.hh"
1111
#include "OMSimSNTools.hh"
12+
#include "G4RandomTools.hh"
1213

1314
#include <globals.hh>
1415
#include <vector>
@@ -109,6 +110,4 @@ private:
109110
};
110111

111112

112-
#endif
113-
114113

simulations/supernova/src/OMSimSNTools.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
std::pair<std::string, std::string> OMSimSNTools::getFileNames(int p_value)
2323
{
24-
const std::string basePath = "../supernova/models/";
24+
const std::string basePath = "../simulations/supernova/models/";
2525

2626
const std::map<int, std::pair<std::string, std::string>> fileMap = {
2727
{0, {basePath + "Flux_Nu_Heavy_ls220.cfg", basePath + "Flux_Nubar_Heavy_ls220.cfg"}}, // 27 solar masses type II model
@@ -347,4 +347,4 @@ DistributionSampler::~DistributionSampler()
347347
delete m_interpolator;
348348
m_interpolator = nullptr;
349349
}
350-
};
350+
};

0 commit comments

Comments
 (0)