ThePEG 2.3.0
|
A helper class to be used in std::
algorithms to transform a range of particles.
More...
#include <ParticleTraits.h>
Public Member Functions | |
Transformer (const LorentzRotation &rin) | |
Constructor taking a reference to the Lorentz rotation to be performed. | |
Transformer (const Transformer &t) | |
Copy constructor. | |
template<typename PType > | |
void | operator() (const PType &p) |
Perform the rotation on a given particle. | |
Public Attributes | |
const LorentzRotation & | r |
A reference to the Lorentz rotation to be performed. | |
A helper class to be used in std::
algorithms to transform a range of particles.
Definition at line 458 of file ParticleTraits.h.
|
inline |
Constructor taking a reference to the Lorentz rotation to be performed.
Definition at line 461 of file ParticleTraits.h.
|
inline |
Copy constructor.
Definition at line 463 of file ParticleTraits.h.
|
inline |
Perform the rotation on a given particle.
Definition at line 466 of file ParticleTraits.h.
References r, and ThePEG::ParticleTraits< PType >::transform().
const LorentzRotation& ThePEG::Transformer::r |
A reference to the Lorentz rotation to be performed.
Definition at line 470 of file ParticleTraits.h.
Referenced by operator()().