AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::DecayChainStack< N > Class Template Reference

Detailed Description

template<unsigned N>
class AmpGen::DecayChainStack< N >

Definition at line 27 of file DecayChainStack.h.

Public Member Functions

 DecayChainStack (const Particle &particle, bool aggressiveOptimisation)
virtual double maxWeight () const
virtual unsigned NP () const
virtual bool operator== (const DecayChainStackBase &other) const
template<typename T>
genPdf (const T *event) const
template<typename T>
s (const T *event, const SmallVector< unsigned, N > &lfs, const SmallVector< unsigned, N > &rfs) const
double rho_2 (const double &s0, const double &s1, const double &s2) const
void boost (double *output, double nx, double ny, double nz, double g, double vg) const
void set (double *output, double px, double py, double pz, double E) const
std::pair< double, std::array< double, 2 *N - 1 > > proposal (TRandom3 *rndm) const
void debug (TRandom3 *rndm) const
void fill_from_state (double *event, const std::array< double, 2 *N - 1 > &state, TRandom3 *rndm) const
virtual AmpGen::Event makeEvent (TRandom3 *rndm) const
Inheritance diagram for AmpGen::DecayChainStack< N >:
AmpGen::DecayChainStackBase

Constructor & Destructor Documentation

◆ DecayChainStack()

template<unsigned N>
AmpGen::DecayChainStack< N >::DecayChainStack ( const Particle & particle,
bool aggressiveOptimisation )
inline

this optimisation 'cuts' the phase space of the a decay at the maximal extent of its sibling, i.e. reduces the physically allowed region somewhat. To be checked: this probably changes the normalisation of different topologies so shouldn't be switched on by default But probably works for single topology cases ...

Definition at line 126 of file DecayChainStack.h.

Member Function Documentation

◆ boost()

template<unsigned N>
void AmpGen::DecayChainStack< N >::boost ( double * output,
double nx,
double ny,
double nz,
double g,
double vg ) const
inline

Definition at line 247 of file DecayChainStack.h.

◆ debug()

template<unsigned N>
void AmpGen::DecayChainStack< N >::debug ( TRandom3 * rndm) const
inline

Definition at line 277 of file DecayChainStack.h.

◆ fill_from_state()

template<unsigned N>
void AmpGen::DecayChainStack< N >::fill_from_state ( double * event,
const std::array< double, 2 *N - 1 > & state,
TRandom3 * rndm ) const
inline

Definition at line 294 of file DecayChainStack.h.

◆ genPdf()

template<unsigned N>
template<typename T>
T AmpGen::DecayChainStack< N >::genPdf ( const T * event) const
inline

Definition at line 221 of file DecayChainStack.h.

◆ makeEvent()

template<unsigned N>
virtual AmpGen::Event AmpGen::DecayChainStack< N >::makeEvent ( TRandom3 * rndm) const
inlinevirtual

Implements AmpGen::DecayChainStackBase.

Definition at line 323 of file DecayChainStack.h.

◆ maxWeight()

template<unsigned N>
virtual double AmpGen::DecayChainStack< N >::maxWeight ( ) const
inlinevirtual

Implements AmpGen::DecayChainStackBase.

Definition at line 204 of file DecayChainStack.h.

◆ NP()

template<unsigned N>
virtual unsigned AmpGen::DecayChainStack< N >::NP ( ) const
inlinevirtual

Implements AmpGen::DecayChainStackBase.

Definition at line 205 of file DecayChainStack.h.

◆ operator==()

template<unsigned N>
virtual bool AmpGen::DecayChainStack< N >::operator== ( const DecayChainStackBase & other) const
inlinevirtual

Implements AmpGen::DecayChainStackBase.

Definition at line 206 of file DecayChainStack.h.

◆ proposal()

template<unsigned N>
std::pair< double, std::array< double, 2 *N - 1 > > AmpGen::DecayChainStack< N >::proposal ( TRandom3 * rndm) const
inline

Definition at line 261 of file DecayChainStack.h.

◆ rho_2()

template<unsigned N>
double AmpGen::DecayChainStack< N >::rho_2 ( const double & s0,
const double & s1,
const double & s2 ) const
inline

Definition at line 246 of file DecayChainStack.h.

◆ s()

template<unsigned N>
template<typename T>
T AmpGen::DecayChainStack< N >::s ( const T * event,
const SmallVector< unsigned, N > & lfs,
const SmallVector< unsigned, N > & rfs ) const
inline

Definition at line 229 of file DecayChainStack.h.

◆ set()

template<unsigned N>
void AmpGen::DecayChainStack< N >::set ( double * output,
double px,
double py,
double pz,
double E ) const
inline

Definition at line 254 of file DecayChainStack.h.


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