CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Booster.cc
Go to the documentation of this file.
1 // $Id: Booster.cc,v 1.9 2007/09/27 13:55:04 llista Exp $
4 #include <Math/VectorUtil.h>
5 using namespace std;
6 using namespace reco;
7 
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 }
const edm::EventSetup & c
virtual void setP4(const LorentzVector &p4)=0
set 4-momentum
tuple d
Definition: ztail.py:151
const_iterator end() const
last daughter const_iterator
Definition: Candidate.h:145
void set(reco::Candidate &c)
set up a candidate kinematics according to the boost
Definition: Booster.cc:8
double b
Definition: hdecay.h:118
const_iterator begin() const
first daughter const_iterator
Definition: Candidate.h:143
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector