Skip to content
Snippets Groups Projects
Commit 85b3dc2f authored by Morfouace's avatar Morfouace
Browse files

Updatting Scone analysis

parent 6b8e2c27
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ void Analysis::TreatEvent(){ ...@@ -86,7 +86,7 @@ void Analysis::TreatEvent(){
} }
//if(Time_max>50) m_DetectedNeutron++; //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(){ ...@@ -125,8 +125,8 @@ void Analysis::End(){
cout << "DetectedNeutron: " << endl; cout << "DetectedNeutron: " << endl;
ofstream ofile; ofstream ofile;
//ofile.open("macro/eff_scone_natGd25um.txt"); ofile.open("macro/eff_scone_natGd25um.txt");
ofile.open("macro/eff_scone_menate.txt"); //ofile.open("macro/eff_scone_menate.txt");
for(int i=0; i< vDetectedNeutron.size(); i++){ for(int i=0; i< vDetectedNeutron.size(); i++){
cout << "* " << vE_init[i] << " / " << vDetectedNeutron[i]/1e5*100 << endl; cout << "* " << vE_init[i] << " / " << vDetectedNeutron[i]/1e5*100 << endl;
//ofile << vE_init[i] << " " << vDetectedNeutron[i]/vDetectedNeutron[0]*99.3 << endl; //ofile << vE_init[i] << " " << vDetectedNeutron[i]/vDetectedNeutron[0]*99.3 << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment