PandaRoot
RhoBooster Class Reference

#include <RhoBooster.h>

Public Types

enum  BoostSign { To, From }
 

Public Member Functions

 RhoBooster (const TLorentzVector &cmFrame, Bool_t saveCovMatrix=kFALSE)
 
 RhoBooster (const RhoCandidate &cand, Bool_t saveCovMatrix=kFALSE)
 
 RhoBooster (const TVector3 &boostVector, Bool_t saveCovMatrix=kFALSE)
 
 RhoBooster (const RhoCandidate *cand=nullptr, Bool_t saveCovMatrix=kFALSE)
 
virtual ~RhoBooster ()
 
void SetBoostVector (const TVector3 &cmFrame)
 
void SetBoostVector (const TLorentzVector &lv)
 
void SetBoostVector (const RhoCandidate *cand)
 
void SetBoostVector (const RhoCandidate &cand)
 
RhoCandidateBoostTo (const RhoCandidate &cand) const
 
RhoCandidateBoostFrom (const RhoCandidate &cand) const
 
void BoostTo (RhoCandList &initialList, RhoCandList &boostedList, Bool_t cleanList=kTRUE) const
 
void BoostFrom (RhoCandList &initialList, RhoCandList &boostedList, Bool_t cleanList=kTRUE) const
 
RhoCandidateBoost (const RhoCandidate &cand, BoostSign sign) const
 

Detailed Description

Definition at line 48 of file RhoBooster.h.

Member Enumeration Documentation

◆ BoostSign

Enumerator
To 
From 

Definition at line 54 of file RhoBooster.h.

Constructor & Destructor Documentation

◆ RhoBooster() [1/4]

RhoBooster::RhoBooster ( const TLorentzVector &  cmFrame,
Bool_t  saveCovMatrix = kFALSE 
)

◆ RhoBooster() [2/4]

RhoBooster::RhoBooster ( const RhoCandidate cand,
Bool_t  saveCovMatrix = kFALSE 
)

◆ RhoBooster() [3/4]

RhoBooster::RhoBooster ( const TVector3 &  boostVector,
Bool_t  saveCovMatrix = kFALSE 
)

◆ RhoBooster() [4/4]

RhoBooster::RhoBooster ( const RhoCandidate cand = nullptr,
Bool_t  saveCovMatrix = kFALSE 
)

◆ ~RhoBooster()

virtual RhoBooster::~RhoBooster ( )
virtual

Member Function Documentation

◆ Boost()

RhoCandidate& RhoBooster::Boost ( const RhoCandidate cand,
BoostSign  sign 
) const

Referenced by SetBoostVector().

◆ BoostFrom() [1/2]

RhoCandidate& RhoBooster::BoostFrom ( const RhoCandidate cand) const

Referenced by SetBoostVector().

◆ BoostFrom() [2/2]

void RhoBooster::BoostFrom ( RhoCandList initialList,
RhoCandList boostedList,
Bool_t  cleanList = kTRUE 
) const

◆ BoostTo() [1/2]

RhoCandidate& RhoBooster::BoostTo ( const RhoCandidate cand) const

Referenced by SetBoostVector().

◆ BoostTo() [2/2]

void RhoBooster::BoostTo ( RhoCandList initialList,
RhoCandList boostedList,
Bool_t  cleanList = kTRUE 
) const

◆ SetBoostVector() [1/4]

void RhoBooster::SetBoostVector ( const TVector3 &  cmFrame)
inline

Definition at line 79 of file RhoBooster.h.

Referenced by SetBoostVector().

79 { fBoostVector = cmFrame; };

◆ SetBoostVector() [2/4]

void RhoBooster::SetBoostVector ( const TLorentzVector &  lv)
inline

Definition at line 80 of file RhoBooster.h.

References SetBoostVector().

Referenced by SetBoostVector().

80 { SetBoostVector(lv.BoostVector()); };
void SetBoostVector(const TVector3 &cmFrame)
Definition: RhoBooster.h:79

◆ SetBoostVector() [3/4]

void RhoBooster::SetBoostVector ( const RhoCandidate cand)
inline

Definition at line 81 of file RhoBooster.h.

References RhoCandidate::P4(), and SetBoostVector().

82  {
83  SetBoostVector(cand->P4());
84  ;
85  };
TLorentzVector P4() const
Definition: RhoCandidate.h:185
void SetBoostVector(const TVector3 &cmFrame)
Definition: RhoBooster.h:79

◆ SetBoostVector() [4/4]

void RhoBooster::SetBoostVector ( const RhoCandidate cand)
inline

Definition at line 86 of file RhoBooster.h.

References Boost(), BoostFrom(), BoostTo(), SetBoostVector(), and sign().

Referenced by SetBoostVector().

86 { SetBoostVector(&cand); };
void SetBoostVector(const TVector3 &cmFrame)
Definition: RhoBooster.h:79

The documentation for this class was generated from the following file: