Belle II Software light-2406-ragdoll
UseReferenceFrame< T > Class Template Reference

A template class to apply the reference frame. More...

#include <ReferenceFrame.h>

Collaboration diagram for UseReferenceFrame< T >:

Public Member Functions

template<class ... Args>
 UseReferenceFrame (Args &&... params)
 Constructor which applies the reference frame

 

Private Attributes

m_frame
 the reference frame
 

Detailed Description

template<class T>
class Belle2::UseReferenceFrame< T >

A template class to apply the reference frame.

Definition at line 340 of file ReferenceFrame.h.

Constructor & Destructor Documentation

◆ UseReferenceFrame()

UseReferenceFrame ( Args &&...  params)
inlineexplicit

Constructor which applies the reference frame

Definition at line 344 of file ReferenceFrame.h.

344 : m_frame(std::forward<Args>(params)...)
345 {
347 }
static void Push(const ReferenceFrame *frame)
Push rest frame of given particle.
T m_frame
the reference frame

◆ ~UseReferenceFrame()

~UseReferenceFrame ( )
inline

Definition at line 350 of file ReferenceFrame.h.

351 {
353 }
static void Pop()
Pop current rest frame.

Member Data Documentation

◆ m_frame

T m_frame
private

the reference frame

Definition at line 355 of file ReferenceFrame.h.


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