ApplyEnergyCorrection

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#ifndef CandUtils_ApplyEnergyCorrection_h
#define CandUtils_ApplyEnergyCorrection_h
/** \class ApplyEnergyCorrection
 *
 * apply correction factor to candidate energy 
 * and momenta, presenrving direction
 *
 * \author Luca Lista, INFN
 *
 * \version $Revision: 1.2 $
 *
 * $Id: ApplyEnergyCorrection.h,v 1.2 2006/07/26 08:48:05 llista Exp $
 *
 */
#include "DataFormats/Candidate/interface/CandidateFwd.h"

struct ApplyEnergyCorrection {
  ApplyEnergyCorrection(double correction) : correction_(correction) {}
  /// set up a candidate
  void set(reco::Candidate& c);

private:
  double correction_;
};

#endif