thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.1.5
ThePEG::Transformer Struct Reference

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. More...
 
 Transformer (const Transformer &t)
 Copy constructor. More...
 
template<typename PType >
void operator() (const PType &p)
 Perform the rotation on a given particle. More...
 

Public Attributes

const LorentzRotationr
 A reference to the Lorentz rotation to be performed. More...
 

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

◆ Transformer() [1/2]

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.

◆ Transformer() [2/2]

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

Copy constructor.

Definition at line 463 of file ParticleTraits.h.

Member Function Documentation

◆ operator()()

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.

References ThePEG::ParticleTraits< PType >::transform().

Member Data Documentation

◆ r

const LorentzRotation& ThePEG::Transformer::r

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: