thepeg
is hosted by
Hepforge,
IPPP Durham

ThePEG::Utilities Struct Reference

Concrete class with UtilityBase as base class. More...

`#include <UtilityBase.h>`

Inheritance diagram for ThePEG::Utilities:

## Additional Inherited Members | |

Static Public Member Functions inherited from ThePEG::UtilityBase | |

template<typename Cont > | |

static LorentzMomentum | sumMomentum (const Cont &c) |

Sums the four-momentum of given container. More... | |

template<typename Iterator > | |

static LorentzMomentum | sumMomentum (Iterator first, Iterator last) |

Sums the four-momentum of the entries between first and last. More... | |

template<typename Iterator > | |

static void | transform (Iterator first, Iterator last, const LorentzRotation &boost) |

Transform the entries between first and last. More... | |

template<typename Cont > | |

static void | transform (Cont &cont, const LorentzRotation &boost) |

Transform the entries in a container cont. More... | |

template<typename PType > | |

static LorentzRotation | boostToCM (const pair< PType, PType > &pp) |

Boost the two objects in the pair to their CM system. More... | |

template<typename PType > | |

static LorentzRotation | boostToCM (const Triplet< PType, PType, PType > &pt) |

Boost the three objects in the Triplet to their CM system. More... | |

template<typename PType > | |

static LorentzRotation | getBoostToCM (const pair< PType, PType > &pp) |

Obtain the LorentzRotation needed to boost the two objects in the pair to their CM system. More... | |

template<typename PType > | |

static LorentzRotation | getBoostToCM (const Triplet< PType, PType, PType > &pt) |

Obtain the LorentzRotation needed to boost the three objects in the Triplet to their CM system. More... | |

template<typename PType > | |

static LorentzRotation | getBoostFromCM (const pair< PType, PType > &pp) |

Get the inverse boost as compared to getBoostToCM. | |

template<typename PType > | |

static LorentzRotation | getBoostFromCM (const Triplet< PType, PType, PType > &pt) |

Get the inverse boost as compared to getBoostToCM. | |

template<typename Iterator > | |

static LorentzRotation | boostToCM (Iterator first, Iterator last) |

Boost the entries between fisrt and last into their CM system. More... | |

template<typename Iterator > | |

static LorentzRotation | boostToCM (Iterator first, Iterator last, Iterator zAxis) |

Boost the entries between fisrt and last into their CM system. More... | |

template<typename Iterator > | |

static LorentzRotation | boostToCM (Iterator first, Iterator last, Iterator zAxis, Iterator xzPlane) |

Boost the entries between fisrt and last into their CM system. More... | |

template<typename PType > | |

static void | setMomentum (PType &p, const Momentum3 &q) |

Rotate p to the z-axis and boost it to its CMS, then boost it along the z-axis and rotate it so that it ends up with momentum q. More... | |

template<typename PType > | |

static void | setMomentumFromCMS (PType &p, const Momentum3 &q) |

Boost p along the z-axis and rotate it so that, if it was previously at rest, it ends up with momentum q. More... | |

template<typename Iter > | |

static void | setMomentum (Iter first, Iter last, const Momentum3 &q) |

Rotate the range of particles so their sum is along z-axis and boost them to their CMS, then boost them along the z-axis and rotate them so that they end up with total momentum q. More... | |

template<typename Iter > | |

static void | setMomentum (Iter first, Iter last, const Momentum3 &q, double eps) |

Rotate the range of particles so their sum is along z-axis then boost them along the z-axis and rotate them so that they end up with total momentum q. More... | |

template<typename Iter > | |

static void | setMomentumFromCMS (Iter first, Iter last, Energy2 m2, const Momentum3 &q) |

Boost the range of particles along the z-axis and rotate them so that, if they were previously in their rest frame, they end up with total momentum q. More... | |

template<typename PType > | |

static LorentzRotation | transformToMomentum (const PType &p, const Momentum3 &q) |

Return the transformation needed to rotate p to the z-axis and boost it to its CMS, then boost it along the z-axis and rotate it so that it ends up with momentum q. More... | |

template<typename PType > | |

static LorentzRotation | transformToMomentum (const PType &p, const LorentzMomentum &q) |

Return the transformation needed to rotate p to the z-axis and boost it to its CMS, then boost it along the z-axis and rotate it so that it ends up with momentum q. More... | |

template<typename PType > | |

static LorentzRotation | getTransformToMomentum (const PType &p, const LorentzMomentum &q, const LorentzMomentum &k) |

Return a transformation appropriate for transforming p to have the momentum q. More... | |

template<typename PType > | |

static LorentzRotation | getTransformToMomentum (const PType &p, const Momentum3 &q, const LorentzMomentum &k) |

Return a transformation appropriate for transforming p to have the momentum q. More... | |

template<typename LV > | |

static LorentzRotation | transformFromCMS (const LV &p) |

Create a rotation corresponding to transforming p to its current value from its CMS by first boosting along the z-axis and then rotating. More... | |

template<typename LV > | |

static LorentzRotation | transformFromCMS (const LV &sum, LV zAxis) |

Create a rotation corresponding to transforming sum to its current value from its CMS, with zAxis along the z-axis in that CMS frame. More... | |

template<typename LV > | |

static LorentzRotation | transformFromCMS (const LV &sum, const LV &zAxis, LV xyPlane) |

Create a rotation corresponding to transforming sum to its current value from its CMS, with zAxis along the z-axis and xyPlane in the x-y plane in that CMS frame. More... | |

template<typename LV > | |

static LorentzRotation | transformToCMS (const LV &sum, LV zAxis) |

Create a rotation which would transform sum to its CMS frame with zAxis along the z-axis in that frame. More... | |

template<typename LV > | |

static LorentzRotation | transformToCMS (const LV &p) |

Create a rotation which would transform sum to its CMS frame first rotating it to the z-axis and then boost it along the z-axis. More... | |

template<typename LV > | |

static LorentzRotation | transformToCMS (const LV &sum, const LV &zAxis, LV xyPlane) |

Create a rotation which would transform sum to its CMS frame with zAxis along the z-axis and xyPlane in the x-y plane in that frame. More... | |

template<typename Cont1 , typename Cont2 > | |

static void | add (Cont1 &c1, const Cont2 &c2) |

Add the elements in Cont2 to Cont1, appending them to the end if possible. | |

Concrete class with UtilityBase as base class.

Definition at line 374 of file UtilityBase.h.

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

Generated on Sat Apr 11 2020 14:31:21 for ThePEG by 1.8.13