# | Line 278 | Line 278 | std::pair<float,float> apply_claudes_ele | |
---|---|---|
278 | TRandom1 * rand = new TRandom1(); | |
279 | rand->SetSeed(0); | |
280 | corrMC = rand->Gaus(1,dsigMC); | |
281 | < | corrMC = 1+dsigMC; |
281 | > | // corrMC = 1+dsigMC; //use this only for synchronization |
282 | if (debug_) std::cout << "[ElectronEnergyCalibrator] unsmeared energy " << energy << std::endl; | |
283 | corrected_energy = energy*corrMC; | |
284 | if (debug_) std::cout << "[ElectronEnergyCalibrator] smeared energy " << corrected_energy << std::endl; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |