LOGO

RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
Public Member Functions | Protected Member Functions | List of all members
RestFrames::VisibleFrame< T > Class Template Reference

Detailed Description

template<class T>
class RestFrames::VisibleFrame< T >

Definition at line 43 of file VisibleFrame.hh.

Inheritance diagram for RestFrames::VisibleFrame< T >:
Inheritance graph
[legend]

Public Member Functions

 VisibleFrame (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 VisibleFrame ()
 Empty constructor.
 
virtual void SetCharge (const RFCharge &charge)
 Sets charge of current frame. More...
 
virtual void SetCharge (int charge=0)
 Sets charge of current frame. More...
 
virtual void SetCharge (int charge_num, int charge_den)
 Sets charge of current frame. More...
 
virtual RFCharge GetCharge () const
 Returns charge of current frame. More...
 
virtual void SetLabFrameFourVector (const TLorentzVector &V, const RFCharge &charge=RFCharge())
 Sets lab frame's four-vector. More...
 
void SetLabFrameFourVector (const TLorentzVector &V, int charge)
 Sets lab frame's four-vector. More...
 
void SetLabFrameFourVector (const TLorentzVector &V, int charge_num, int charge_den)
 Sets lab frame's four-vector. More...
 
virtual TLorentzVector GetLabFrameFourVector () const
 Returns lab frame's four-vector. More...
 

Protected Member Functions

virtual bool IsSoundBody () const
 

Constructor & Destructor Documentation

◆ VisibleFrame()

template<class T >
RestFrames::VisibleFrame< T >::VisibleFrame ( const std::string &  sname,
const std::string &  stitle 
)

Standard constructor.

Parameters
snameclass instance name used for log statements
stitleclass instance title used in figures

Definition at line 39 of file VisibleFrame.cc.

Member Function Documentation

◆ GetCharge()

template<class T >
RFCharge RestFrames::VisibleFrame< T >::GetCharge
virtual

Returns charge of current frame.

Returns
Charge of current frame

Definition at line 85 of file VisibleFrame.cc.

◆ GetLabFrameFourVector()

template<class T >
TLorentzVector RestFrames::VisibleFrame< T >::GetLabFrameFourVector
virtual

Returns lab frame's four-vector.

Returns
Lab frame's four-vector

Definition at line 110 of file VisibleFrame.cc.

◆ SetCharge() [1/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetCharge ( const RFCharge charge)
virtual

Sets charge of current frame.

Parameters
chargeCharge to be set

Definition at line 69 of file VisibleFrame.cc.

◆ SetCharge() [2/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetCharge ( int  charge = 0)
virtual

Sets charge of current frame.

Parameters
chargeCharge to be set

Definition at line 74 of file VisibleFrame.cc.

◆ SetCharge() [3/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetCharge ( int  charge_num,
int  charge_den 
)
virtual

Sets charge of current frame.

Parameters
charge_numNumerator
charge_denDenominator

Definition at line 79 of file VisibleFrame.cc.

◆ SetLabFrameFourVector() [1/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetLabFrameFourVector ( const TLorentzVector &  V,
const RFCharge charge = RFCharge() 
)
virtual

Sets lab frame's four-vector.

Parameters
VFour-vector to be set
chargeCharge of current frame

Definition at line 90 of file VisibleFrame.cc.

◆ SetLabFrameFourVector() [2/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetLabFrameFourVector ( const TLorentzVector &  V,
int  charge 
)

Sets lab frame's four-vector.

Parameters
VFour-vector to be set
chargeCharge of current frame

Definition at line 97 of file VisibleFrame.cc.

◆ SetLabFrameFourVector() [3/3]

template<class T >
void RestFrames::VisibleFrame< T >::SetLabFrameFourVector ( const TLorentzVector &  V,
int  charge_num,
int  charge_den 
)

Sets lab frame's four-vector.

Parameters
VFour-vector to be set
chargeCharge of current frame

Definition at line 103 of file VisibleFrame.cc.

Collaboration diagram for RestFrames::VisibleFrame< T >:
Collaboration graph
[legend]

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