ThePEG::Transformer Struct Reference

A helper class to be used in std:: algorithms to transform a range of particles. More...

#include <ParticleTraits.h>

List of all members.

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 LorentzRotationr
 A reference to the Lorentz rotation to be performed.


Detailed Description

A helper class to be used in std:: algorithms to transform a range of particles.

Definition at line 458 of file ParticleTraits.h.


Constructor & Destructor Documentation

ThePEG::Transformer::Transformer ( const LorentzRotation rin  )  [inline]

Constructor taking a reference to the Lorentz rotation to be performed.

Definition at line 461 of file ParticleTraits.h.

ThePEG::Transformer::Transformer ( const Transformer t  )  [inline]

Copy constructor.

Definition at line 463 of file ParticleTraits.h.


Member Function Documentation

template<typename PType>
void ThePEG::Transformer::operator() ( const PType &  p  )  [inline]

Perform the rotation on a given particle.

Definition at line 466 of file ParticleTraits.h.


Member Data Documentation

A reference to the Lorentz rotation to be performed.

Definition at line 470 of file ParticleTraits.h.


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

Generated on Thu Apr 29 12:43:00 2010 for ThePEG by  doxygen 1.5.5