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

simple analysis - adding cluster energy calibration

parent 91306b75
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name) ...@@ -103,6 +103,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name)
//energy clus //energy clus
TH2D* h_emClus_position_REC = new TH2D("h_emClus_position_REC",";x (cm);y (cm)",400,-800,800,400,-800,800); TH2D* h_emClus_position_REC = new TH2D("h_emClus_position_REC",";x (cm);y (cm)",400,-800,800,400,-800,800);
TH2D* h_emHits_position_REC = new TH2D("h_emHits_position_REC",";x (cm);y (cm)",400,-800,800,400,-800,800); TH2D* h_emHits_position_REC = new TH2D("h_emHits_position_REC",";x (cm);y (cm)",400,-800,800,400,-800,800);
TH2D* h_emHits_position_2_REC = new TH2D("h_emHits_position_2_REC",";x (cm);y (cm)",400,-800,800,400,-800,800);
TH2D* h_energy_res = new TH2D("h_energy_res",";E_{MC} (GeV); E_{MC}-E_{REC}/E_{MC} emcal",100,0,20,1000,-1,1); TH2D* h_energy_res = new TH2D("h_energy_res",";E_{MC} (GeV); E_{MC}-E_{REC}/E_{MC} emcal",100,0,20,1000,-1,1);
TH1D* h_energy_calibration_REC = new TH1D("h_energy_calibration_REC",";E (GeV)",200,0,2); TH1D* h_energy_calibration_REC = new TH1D("h_energy_calibration_REC",";E (GeV)",200,0,2);
...@@ -193,6 +194,9 @@ int diffractive_vm_simple_analysis(const std::string& config_name) ...@@ -193,6 +194,9 @@ int diffractive_vm_simple_analysis(const std::string& config_name)
h_energy_REC->Fill(maxEnergy); h_energy_REC->Fill(maxEnergy);
h_emClus_position_REC->Fill(xpos,ypos); h_emClus_position_REC->Fill(xpos,ypos);
h_emHits_position_REC->Fill(xhitpos,yhitpos); h_emHits_position_REC->Fill(xhitpos,yhitpos);
if(fabs(xpos)<100 && fabs(ypos)<100){
h_emHits_position_2_REC->Fill(xhitpos,yhitpos,maxEnergy);
}
//association of rec level scat' e //association of rec level scat' e
int rec_elect_index=-1; int rec_elect_index=-1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment