From 6eb4198db93cc0cbc8f1d9b6887800a15228d3f7 Mon Sep 17 00:00:00 2001 From: Adrien Matta <matta@lpccaen.in2p3.fr> Date: Wed, 27 May 2020 17:52:03 +0200 Subject: [PATCH] * fixing initialisation of beam excitation energy with default ctor --- NPLib/Physics/NPBeam.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/NPLib/Physics/NPBeam.cxx b/NPLib/Physics/NPBeam.cxx index d9487db7a..e7644c7e4 100644 --- a/NPLib/Physics/NPBeam.cxx +++ b/NPLib/Physics/NPBeam.cxx @@ -50,6 +50,7 @@ using namespace NPL; //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... Beam::Beam(){ + fExcitationEnergy = 0; fEnergy = 0; fSigmaEnergy = -1 ; fMeanX = 0 ; -- GitLab