From 85b3dc2f60764e852429935e039aa5d09aab5356 Mon Sep 17 00:00:00 2001 From: Morfouace <pierre.morfouace@gmail.com> Date: Mon, 27 Apr 2020 11:08:25 +0200 Subject: [PATCH] Updatting Scone analysis --- Projects/Scone/Analysis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/Scone/Analysis.cxx b/Projects/Scone/Analysis.cxx index 13ad7cc3d..6001665bb 100644 --- a/Projects/Scone/Analysis.cxx +++ b/Projects/Scone/Analysis.cxx @@ -86,7 +86,7 @@ void Analysis::TreatEvent(){ } //if(Time_max>50) m_DetectedNeutron++; - if(Time_max>50 && E_sum>1) m_DetectedNeutron++; + if(Time_max>40 && E_sum>0.2) m_DetectedNeutron++; } //////////////////////////////////////////////////////////////////////////////// @@ -125,8 +125,8 @@ void Analysis::End(){ cout << "DetectedNeutron: " << endl; ofstream ofile; - //ofile.open("macro/eff_scone_natGd25um.txt"); - ofile.open("macro/eff_scone_menate.txt"); + ofile.open("macro/eff_scone_natGd25um.txt"); + //ofile.open("macro/eff_scone_menate.txt"); for(int i=0; i< vDetectedNeutron.size(); i++){ cout << "* " << vE_init[i] << " / " << vDetectedNeutron[i]/1e5*100 << endl; //ofile << vE_init[i] << " " << vDetectedNeutron[i]/vDetectedNeutron[0]*99.3 << endl; -- GitLab