#include <TmpTransform.h>
Public Member Functions | |
TmpTransform (Ptr p, const LorentzRotation &r) | |
The contructor will call the transform(const LorentzRotation &) of an object pointed to by p with r as argument. | |
~TmpTransform () | |
The destructor performs the inverse of the transformation done in the constructor. | |
Private Member Functions | |
TmpTransform & | operator= (const TmpTransform &) |
The assignment operator is private and must never be called. | |
TmpTransform () | |
The default constructor is private and must never be called. | |
TmpTransform (const TmpTransform &) | |
The copy constructor is private and must never be called. | |
Private Attributes | |
Ptr | ptr |
A pointer to the object being transformed. | |
LorentzRotation | rot |
The rotation performed in the constructor. |
When created a pointer to an object and a LorentzRotation is provided, and the objects transform(const LorentzRotation &) function is called. When the destructed the inverse tansformation is performed. In this way one can make sure that the inverse transformation is performed even if the function where the TmpTransform is created returns or throws an exception.
Definition at line 29 of file TmpTransform.h.
ThePEG::TmpTransform< Ptr >::TmpTransform | ( | ) | [private] |
The default constructor is private and must never be called.
In fact, it should not even be implemented.
ThePEG::TmpTransform< Ptr >::TmpTransform | ( | const TmpTransform< Ptr > & | ) | [private] |
The copy constructor is private and must never be called.
In fact, it should not even be implemented.
TmpTransform& ThePEG::TmpTransform< Ptr >::operator= | ( | const TmpTransform< Ptr > & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.