Skip to content
Snippets Groups Projects
Commit 0cdf1a13 authored by Kong Tu's avatar Kong Tu
Browse files

simple analysis - adding cluster energy calibration

parent 597f9a1c
No related branches found
No related tags found
No related merge requests found
...@@ -180,7 +180,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name) ...@@ -180,7 +180,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name)
maxEnergy *= 1.045; //4% energy calibration. maxEnergy *= 1.045; //4% energy calibration.
h_energy_calibration_REC->Fill( maxEnergy / scatMC.E() ); h_energy_calibration_REC->Fill( maxEnergy / scatMC.E() );
if(fabs(xpos)<100. || fabs(ypos)<100.) continue; //100mm square hole. if(fabs(xpos)<100. && fabs(ypos)<100.) continue; //100mm square hole.
double res= (scatMC.E()-maxEnergy)/scatMC.E(); double res= (scatMC.E()-maxEnergy)/scatMC.E();
h_energy_res->Fill(scatMC.E(), res); h_energy_res->Fill(scatMC.E(), res);
h_energy_REC->Fill(maxEnergy); h_energy_REC->Fill(maxEnergy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment