![]() |
AmpGen 2.1
|
Further modified to remove the dependencies on TLorentzVector and to only use the AmpGen::Event classes, and to add the option to include a time dependence.
Definition at line 22 of file PhaseSpace.h.
Public Member Functions | |
| PhaseSpace ()=default | |
| Empty constructor. | |
| PhaseSpace (const EventType &type, TRandom *rand=gRandom) | |
| Construct a phase space generator from an EventType. | |
| PhaseSpace (const Particle &type, TRandom *rand=gRandom) | |
| Construct a phase space generator from a Particle. | |
| bool | setDecay (const double &m0, const std::vector< double > &mass) |
| Set the parameters of this phase space generator. | |
| void | setRandom (TRandom *rand) |
| Set the random number used by this phase space generator. | |
| size_t | size () const |
| Return the number of decay products. | |
| Event | makeEvent () |
| Make an event in this phase space. | |
| EventType | eventType () const |
| Returns the EventType that this phase space is generating. | |
| void | fill (double *output, unsigned stagger=1) |
| void | debug (const Event &) |
|
default |
|
explicit |
|
explicit |
|
inline |
Definition at line 34 of file PhaseSpace.h.
| EventType AmpGen::PhaseSpace::eventType | ( | ) | const |
| void AmpGen::PhaseSpace::fill | ( | double * | output, |
| unsigned | stagger = 1 ) |
| Event AmpGen::PhaseSpace::makeEvent | ( | ) |
| bool AmpGen::PhaseSpace::setDecay | ( | const double & | m0, |
| const std::vector< double > & | mass ) |
|
inline |
Definition at line 29 of file PhaseSpace.h.
|
inline |
Definition at line 30 of file PhaseSpace.h.