Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:03

0001 #ifndef CandUtils_ApplyEnergyCorrection_h
0002 #define CandUtils_ApplyEnergyCorrection_h
0003 /** \class ApplyEnergyCorrection

0004  *

0005  * apply correction factor to candidate energy 

0006  * and momenta, presenrving direction

0007  *

0008  * \author Luca Lista, INFN

0009  *

0010  * \version $Revision: 1.2 $

0011  *

0012  * $Id: ApplyEnergyCorrection.h,v 1.2 2006/07/26 08:48:05 llista Exp $

0013  *

0014  */
0015 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0016 
0017 struct ApplyEnergyCorrection {
0018   ApplyEnergyCorrection(double correction) : correction_(correction) {}
0019   /// set up a candidate

0020   void set(reco::Candidate& c);
0021 
0022 private:
0023   double correction_;
0024 };
0025 
0026 #endif