CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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...
 
 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...
 
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

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

Author
Luca Lista, INFN

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.

4  :
5  booster( c.boostToCM() ) {
6 }
virtual Vector boostToCM() const =0
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 18 of file CenterOfMassBooster.h.

References booster, and Booster::set().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

18 { booster.set( c ); }
void set(reco::Candidate &c)
set up a candidate kinematics according to the boost
Definition: Booster.cc:8
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().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

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 CenterOfMassBooster::booster
private

Definition at line 22 of file CenterOfMassBooster.h.

Referenced by set().