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

simple analysis - adding cluster energy calibration

parent 21ae08be
Branches
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name)
const std::string test_tag = config["test_tag"];
TString name_of_input = (TString) rec_file;
// name_of_input = "/gpfs02/eic/ztu/EPIC/physics/Simulation_Campaign_Oct2022/physics_benchmarks/local_data/tmp/18on110/rec-batch_5_*.tree.edm4eic.root";
name_of_input = "/gpfs02/eic/ztu/EPIC/physics/Simulation_Campaign_Oct2022/physics_benchmarks/local_data/tmp/18on110/rec-batch_5_*.tree.edm4eic.root";
std::cout << "what is this rec_file = " << name_of_input << endl;
auto tree = new TChain("events");
tree->Add(name_of_input);
......@@ -207,7 +207,7 @@ int diffractive_vm_simple_analysis(const std::string& config_name)
}
h_ClusOverHit_REC->Fill( maxEnergy / maxHitEnergy );
double clusEnergy=1.06*maxHitEnergy; //6% energy calibration.
double clusEnergy=1.058*maxHitEnergy; //6% energy calibration.
double xClus=xhitpos;
double yClus=yhitpos;
// double radius=sqrt(xClus*xClus+yClus*yClus);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment