CMS 3D CMS Logo

CenterOfMassBooster Class Reference

Boost a reco::Candidate to its center-of-mass reference frame. More...

#include <PhysicsTools/CandUtils/interface/CenterOfMassBooster.h>

List of all members.

Public Member Functions

 CenterOfMassBooster (const reco::Candidate &c)
 constructor from a candidate
void set (reco::Candidate &c)
 set up a candidate kinematics according to the boost

Private Attributes

Booster booster


Detailed Description

Boost a reco::Candidate to its center-of-mass reference frame.

Author:
Luca Lista, INFN
Version:
Revision
1.2

Id
CenterOfMassBooster.h,v 1.2 2006/07/26 08:48:05 llista Exp

Definition at line 16 of file CenterOfMassBooster.h.


Constructor & Destructor Documentation

CenterOfMassBooster::CenterOfMassBooster ( const reco::Candidate c  ) 

constructor from a candidate

Definition at line 4 of file CenterOfMassBooster.cc.

00004                                                                   : 
00005   booster( c.boostToCM() ) { 
00006 }


Member Function Documentation

void CenterOfMassBooster::set ( reco::Candidate c  )  [inline]

set up a candidate kinematics according to the boost

Definition at line 20 of file CenterOfMassBooster.h.

References booster, and Booster::set().

00020 { booster.set( c ); }


Member Data Documentation

Booster CenterOfMassBooster::booster [private]

Definition at line 22 of file CenterOfMassBooster.h.

Referenced by set().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:16:16 2009 for CMSSW by  doxygen 1.5.4