![]() |
AmpGen 2.1
|
@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 DecayChainStackBase * | operator[] (const unsigned i) const |
void | recalculate_weights (const EventListSIMD &events) |
|
explicit |
AmpGen::TreePhaseSpace::TreePhaseSpace | ( | const Particle & | decayChain, |
const EventType & | type, | ||
TRandom * | rndm = nullptr ) |
AmpGen::TreePhaseSpace::TreePhaseSpace | ( | const std::vector< Particle > & | decayChains, |
const EventType & | type, | ||
TRandom * | rndm = nullptr ) |
AmpGen::TreePhaseSpace::~TreePhaseSpace | ( | ) |
EventType AmpGen::TreePhaseSpace::eventType | ( | ) | const |
Event AmpGen::TreePhaseSpace::makeEvent | ( | ) |
|
inline |
Definition at line 49 of file TreePhaseSpace.h.
void AmpGen::TreePhaseSpace::recalculate_weights | ( | const EventListSIMD & | events | ) |
void AmpGen::TreePhaseSpace::setRandom | ( | TRandom * | rand | ) |
size_t AmpGen::TreePhaseSpace::size | ( | ) | const |