Skip to content
Snippets Groups Projects
Commit d574dd2e authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

Merge branch 'NPTool.2.dev' of gitlab.in2p3.fr:np/nptool into NPTool.2.dev

parents cd504e86 1125fc85
No related branches found
No related tags found
No related merge requests found
Pipeline #67476 passed
...@@ -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