src
CommonTools
CandUtils
src
Booster.cc
Go to the documentation of this file.
1
// $Id: Booster.cc,v 1.9 2007/09/27 13:55:04 llista Exp $
2
#include "
CommonTools/CandUtils/interface/Booster.h
"
3
#include "
DataFormats/Candidate/interface/Candidate.h
"
4
#include <Math/VectorUtil.h>
5
using namespace
std
;
6
using namespace
reco
;
7
8
void
Booster::set
(
Candidate
&
c
) {
9
c
.setP4(ROOT::Math::VectorUtil::boost(
c
.p4(),
boost
));
10
Candidate::iterator
b
=
c
.begin(),
e
=
c
.end();
11
for
(
Candidate::iterator
d
=
b
;
d
!=
e
; ++
d
)
12
set
(*
d
);
13
}
boost
Definition:
CLHEP.h:16
reco::Candidate
Definition:
Candidate.h:27
std
Definition:
JetResolutionObject.h:76
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
Candidate.h
ztail.d
d
Definition:
ztail.py:151
Booster::set
void set(reco::Candidate &c)
set up a candidate kinematics according to the boost
Definition:
Booster.cc:8
reco::candidate::iterator
Definition:
iterator.h:14
b
double b
Definition:
hdecay.h:118
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
Booster.h
Generated for CMSSW Reference Manual by
1.8.14