#include <ApplyEnergyCorrection.h>
Public Member Functions | |
ApplyEnergyCorrection (double correction) | |
ApplyEnergyCorrection (double correction) | |
void | set (reco::Candidate &c) |
set up a candidate | |
void | set (reco::Candidate &c) |
set up a candidate | |
Private Attributes | |
double | correction_ |
apply correction factor to candidate energy and momenta, presenrving direction
apply correction factor to candidate energy and momenta, presenrving direction
Definition at line 17 of file ApplyEnergyCorrection.h.
ApplyEnergyCorrection::ApplyEnergyCorrection | ( | double | correction | ) | [inline] |
Definition at line 18 of file ApplyEnergyCorrection.h.
: correction_( correction ) { }
ApplyEnergyCorrection::ApplyEnergyCorrection | ( | double | correction | ) | [inline] |
Definition at line 18 of file ApplyEnergyCorrection.h.
: correction_( correction ) { }
void ApplyEnergyCorrection::set | ( | reco::Candidate & | c | ) |
set up a candidate
Definition at line 7 of file ApplyEnergyCorrection.cc.
References reco::Candidate::p4(), and reco::Candidate::setP4().
{ c.setP4( c.p4() * correction_ ); }
void ApplyEnergyCorrection::set | ( | reco::Candidate & | c | ) |
set up a candidate
double ApplyEnergyCorrection::correction_ [private] |
Definition at line 23 of file ApplyEnergyCorrection.h.