From 2da53b34e914990635d1c6bddd0a1d5b99b30062 Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot <mouginot.baptiste@gmail.com> Date: Thu, 17 Jul 2014 13:24:44 +0000 Subject: [PATCH] small simplification git-svn-id: svn+ssh://svn.in2p3.fr/class@354 0e7d625b-0364-4367-a6be-d5be4a48d228 --- source/branches/CLASSV3/Model/XS/XSM_MLP.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/branches/CLASSV3/Model/XS/XSM_MLP.cxx b/source/branches/CLASSV3/Model/XS/XSM_MLP.cxx index 99ce5afe8..e8a6a1f36 100644 --- a/source/branches/CLASSV3/Model/XS/XSM_MLP.cxx +++ b/source/branches/CLASSV3/Model/XS/XSM_MLP.cxx @@ -259,7 +259,7 @@ TTree* XSM_MLP::CreateTMVAInputTree(IsotopicVector isotopicvector,int TimeStep) IsotopicVector IVAccordingToUserInfoFile = isotopicvector.GetThisComposition(IVInputTMVA); - double Ntot = IVAccordingToUserInfoFile.GetTotalMass()*1e6/IVAccordingToUserInfoFile.MeanMolar()*6.02214129e23; + double Ntot = IVAccordingToUserInfoFile.GetSumOfAll(); IVAccordingToUserInfoFile = IVAccordingToUserInfoFile/Ntot; -- GitLab