Energy Calibration (old method) - Thomas-Ham/larreco GitHub Wiki

Run EnergyCharge_module.cc

Plots deposited charge vs deposited energy.

Usually use a muon sample for the calibration.

Fit a linear curve and get the intersection and gradient of this curve. These parameters are then used in the ShowerLinearEnergy_tool.cc

lar -c /sbnd/app/users/tham/larsoft/linear_energy_calibration/runEnergyCharge_module.cc /path/to/events

(Uses /larreco/ShowerFinder/EnergyCharge_module.cc and /larreco/ShowerFinder/energycharge_Para.fcl)