AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::TreePhaseSpace Class Reference

Detailed Description


@decription Generates events using the decomposition of the phase space into a series of two-body phase spaces, where the invariant mass of the two-body space can be generated according to, for example, a simplified Breit-Wigner model. This can then be used to generate a more complex model using accept-reject, which allows for a much more efficient generation of narrow peaks.

Currently, each of the available channels is given the same weight relative to phase space, ideally feedback could be given from the generator phase to focus on the more efficient channels, i.e. those that have larger contributions to the full amplitude.

Definition at line 37 of file TreePhaseSpace.h.

Public Member Functions

 TreePhaseSpace (const EventType &type)
 
 TreePhaseSpace (const Particle &decayChain, const EventType &type, TRandom *rndm=nullptr)
 
 TreePhaseSpace (const std::vector< Particle > &decayChains, const EventType &type, TRandom *rndm=nullptr)
 
 ~TreePhaseSpace ()
 
void setRandom (TRandom *rand)
 
Event makeEvent ()
 
size_t size () const
 
EventType eventType () const
 
const DecayChainStackBaseoperator[] (const unsigned i) const
 
void recalculate_weights (const EventListSIMD &events)
 

Constructor & Destructor Documentation

◆ TreePhaseSpace() [1/3]

AmpGen::TreePhaseSpace::TreePhaseSpace ( const EventType & type)
explicit

◆ TreePhaseSpace() [2/3]

AmpGen::TreePhaseSpace::TreePhaseSpace ( const Particle & decayChain,
const EventType & type,
TRandom * rndm = nullptr )

◆ TreePhaseSpace() [3/3]

AmpGen::TreePhaseSpace::TreePhaseSpace ( const std::vector< Particle > & decayChains,
const EventType & type,
TRandom * rndm = nullptr )

◆ ~TreePhaseSpace()

AmpGen::TreePhaseSpace::~TreePhaseSpace ( )

Member Function Documentation

◆ eventType()

EventType AmpGen::TreePhaseSpace::eventType ( ) const

◆ makeEvent()

Event AmpGen::TreePhaseSpace::makeEvent ( )

◆ operator[]()

const DecayChainStackBase * AmpGen::TreePhaseSpace::operator[] ( const unsigned i) const
inline

Definition at line 49 of file TreePhaseSpace.h.

◆ recalculate_weights()

void AmpGen::TreePhaseSpace::recalculate_weights ( const EventListSIMD & events)

◆ setRandom()

void AmpGen::TreePhaseSpace::setRandom ( TRandom * rand)

◆ size()

size_t AmpGen::TreePhaseSpace::size ( ) const

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