From 60f036a9d1bcca2800342a412d241c53adce23ca Mon Sep 17 00:00:00 2001 From: adrien-matta <a.matta@surrey.ac.uk> Date: Fri, 22 Jul 2016 18:35:23 -0500 Subject: [PATCH] * fixing THiraPhysics compilation on linux --- NPLib/Detectors/Hira/THiraPhysics.cxx | 2 +- Projects/T40/Analysis.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NPLib/Detectors/Hira/THiraPhysics.cxx b/NPLib/Detectors/Hira/THiraPhysics.cxx index d9e9fb22b..1b468a7dd 100644 --- a/NPLib/Detectors/Hira/THiraPhysics.cxx +++ b/NPLib/Detectors/Hira/THiraPhysics.cxx @@ -826,7 +826,7 @@ vector <TVector2> THiraPhysics::Match_EF_EB(){ // if same detector check energy if(m_PreTreatedData->GetHiraStripXEDetectorNbr(i) == m_PreTreatedData->GetHiraStripYEDetectorNbr(j)){ // Look if energy match - if( abs( (m_PreTreatedData->GetHiraStripXEEnergy(i) - m_PreTreatedData->GetHiraStripYEEnergy(j))/2. ) < m_StripEnergyMatchingNumberOfSigma*m_StripEnergyMatchingSigma){ + if( fabs( (m_PreTreatedData->GetHiraStripXEEnergy(i) - m_PreTreatedData->GetHiraStripYEEnergy(j))/2. ) < m_StripEnergyMatchingNumberOfSigma*m_StripEnergyMatchingSigma){ //Special Option, if the event is between two CsI crystal, it is rejected if(m_Ignore_not_matching_CsI){ bool check_validity=false; diff --git a/Projects/T40/Analysis.cxx b/Projects/T40/Analysis.cxx index f3d951e96..26b2468bf 100644 --- a/Projects/T40/Analysis.cxx +++ b/Projects/T40/Analysis.cxx @@ -8,7 +8,7 @@ /***************************************************************************** * Original Author: Adrien MATTA contact address: a.matta@surrey.ac.uk * * * - * Creation Date : march 2025 * + * Creation Date : march 2015 * * Last update : * *---------------------------------------------------------------------------* * Decription: * -- GitLab