CMS 3D CMS Logo

Public Member Functions | Private Attributes

CenterOfMassBooster Class Reference

#include <CenterOfMassBooster.h>

List of all members.

Public Member Functions

 CenterOfMassBooster (const reco::Candidate &c)
 constructor from a candidate
 CenterOfMassBooster (const reco::Candidate &c)
 constructor from a candidate
void set (reco::Candidate &c)
 set up a candidate kinematics according to the boost
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.1
Id:
CenterOfMassBooster.h,v 1.1 2009/02/26 09:17:33 llista Exp

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.

                                                                  : 
  booster( c.boostToCM() ) { 
}
CenterOfMassBooster::CenterOfMassBooster ( const reco::Candidate c)

constructor from a candidate


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().

{ booster.set( c ); }
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, trackerHits::c, and Booster::set().

{ booster.set( c ); }

Member Data Documentation

Definition at line 22 of file CenterOfMassBooster.h.

Referenced by set().