CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CenterOfMassBooster Class Reference

#include <CenterOfMassBooster.h>

Public Member Functions

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

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::CenterOfMassBooster ( const reco::Candidate c)

constructor from a candidate

Definition at line 4 of file CenterOfMassBooster.cc.

4 : booster(c.boostToCM()) {}

Member Function Documentation

◆ set()

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, c, and Booster::set().

20 { booster.set(c); }
void set(reco::Candidate &c)
set up a candidate kinematics according to the boost
Definition: Booster.cc:8

Member Data Documentation

◆ booster

Booster CenterOfMassBooster::booster
private

Definition at line 23 of file CenterOfMassBooster.h.

Referenced by set().