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

Detailed Description

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 23 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 &)
 

Constructor & Destructor Documentation

◆ PhaseSpace() [1/3]

AmpGen::PhaseSpace::PhaseSpace ( )
default

◆ PhaseSpace() [2/3]

AmpGen::PhaseSpace::PhaseSpace ( const EventType & type,
TRandom * rand = gRandom )
explicit

◆ PhaseSpace() [3/3]

AmpGen::PhaseSpace::PhaseSpace ( const Particle & type,
TRandom * rand = gRandom )
explicit

Member Function Documentation

◆ debug()

void AmpGen::PhaseSpace::debug ( const Event & )
inline

Definition at line 36 of file PhaseSpace.h.

◆ eventType()

EventType AmpGen::PhaseSpace::eventType ( ) const

◆ fill()

void AmpGen::PhaseSpace::fill ( double * output,
unsigned stagger = 1 )

◆ makeEvent()

Event AmpGen::PhaseSpace::makeEvent ( )

◆ setDecay()

bool AmpGen::PhaseSpace::setDecay ( const double & m0,
const std::vector< double > & mass )

◆ setRandom()

void AmpGen::PhaseSpace::setRandom ( TRandom * rand)
inline

Definition at line 31 of file PhaseSpace.h.

◆ size()

size_t AmpGen::PhaseSpace::size ( ) const
inline

Definition at line 32 of file PhaseSpace.h.


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