CMS 3D CMS Logo

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 }
Definition: CLHEP.h:16
virtual void setP4(const LorentzVector &p4)=0
set 4-momentum
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
const_iterator end() const
last daughter const_iterator
Definition: Candidate.h:146
void set(reco::Candidate &c)
set up a candidate kinematics according to the boost
Definition: Booster.cc:8
double b
Definition: hdecay.h:120
fixed size matrix
const_iterator begin() const
first daughter const_iterator
Definition: Candidate.h:144