diff --git a/Processes/CONEXSourceCut/CONEXSourceCut.cc b/Processes/CONEXSourceCut/CONEXSourceCut.cc index 1e8d701caea1a22b41636d1e233c807c99a2116d..bde3df5b191290db59bcae0fa9635025bd2313e7 100644 --- a/Processes/CONEXSourceCut/CONEXSourceCut.cc +++ b/Processes/CONEXSourceCut/CONEXSourceCut.cc @@ -135,7 +135,7 @@ CONEXSourceCut::CONEXSourceCut(geometry::Point center, environment::ShowerAxis s // units::si::GrammageType Xcut, units::si::HEPEnergyType primaryEnergy, particles::PDGCode primaryID) - : conex_(ConexDynamicInterface(eSibyll23)) + : conex_{ConexDynamicInterface(eSibyll23)} , center_{center} , showerAxis_{showerAxis} , groundDist_{groundDist} @@ -158,7 +158,14 @@ CONEXSourceCut::CONEXSourceCut(geometry::Point center, environment::ShowerAxis s })} , y_sf_{showerAxis_.GetDirection().cross(x_sf_)} { - // TODO: call initconex + std::string parameterPathName = ""; + + int randomSeeds[3] = {1234, 0, 0}; // will be overwritten later?? + + int nShower = 1; // large to avoid final stats. + int maxDetail = 0; + int particleListMode = 0; + conex_.Init(nShower, randomSeeds, maxDetail, particleListMode, parameterPathName); double eprima = primaryEnergy / 1_GeV;