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.1 2009/02/26 09:17:34 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:29
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
Candidate.h
ApplyEnergyCorrection::set
void set(reco::Candidate &c)
set up a candidate
Definition:
ApplyEnergyCorrection.cc:7
trackerHits.c
tuple c
Definition:
trackerHits.py:26
ApplyEnergyCorrection.h
reco::Candidate::p4
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
Generated for CMSSW Reference Manual by
1.8.5