Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
CandUtils
src
ApplyEnergyCorrection.cc
Go to the documentation of this file.
1
// $Id: ApplyEnergyCorrection.cc,v 1.2 2006/07/26 08:48:06 llista Exp $
2
#include "
CommonTools/CandUtils/interface/ApplyEnergyCorrection.h
"
3
#include "
DataFormats/Candidate/interface/Candidate.h
"
4
5
using namespace
reco
;
6
7
void
ApplyEnergyCorrection::set
(
Candidate
&
c
) {
8
c.
setP4
( c.
p4
() * correction_ );
9
}
reco::Candidate::setP4
virtual void setP4(const LorentzVector &p4)=0
set 4-momentum
reco::Candidate
Definition:
Candidate.h:28
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
Candidate.h
ApplyEnergyCorrection::set
void set(reco::Candidate &c)
set up a candidate
Definition:
ApplyEnergyCorrection.cc:7
ApplyEnergyCorrection.h
reco::Candidate::p4
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
Generated for CMSSW Reference Manual by
1.8.5