ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Util/src/ElectronEnergySmearingScaling.cc
(Generate patch)

Comparing UserCode/MitHzz4l/Util/src/ElectronEnergySmearingScaling.cc (file contents):
Revision 1.3 by anlevin, Fri Oct 19 18:17:43 2012 UTC vs.
Revision 1.4 by anlevin, Wed Oct 24 13:14:59 2012 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines