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 38 of file TreePhaseSpace.h.

Public Member Functions

 TreePhaseSpace ()=default
 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)
void registerParameter (const std::string &name)
void print () const
std::string remove_namespace (const std::string &name)

Protected Attributes

Property< bool > m_verbose
Inheritance diagram for AmpGen::TreePhaseSpace:
AmpGen::Configurable< TreePhaseSpace > AmpGen::ConfigurableBase

Constructor & Destructor Documentation

◆ TreePhaseSpace() [1/4]

AmpGen::TreePhaseSpace::TreePhaseSpace ( )
default

◆ TreePhaseSpace() [2/4]

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

◆ TreePhaseSpace() [3/4]

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

◆ TreePhaseSpace() [4/4]

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 50 of file TreePhaseSpace.h.

◆ print()

void AmpGen::ConfigurableBase::print ( ) const
inlineinherited

Definition at line 12 of file ConfigurableBase.h.

◆ recalculate_weights()

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

◆ registerParameter()

void AmpGen::ConfigurableBase::registerParameter ( const std::string & name)
inlineinherited

Definition at line 10 of file ConfigurableBase.h.

◆ remove_namespace()

std::string AmpGen::ConfigurableBase::remove_namespace ( const std::string & name)
inherited

◆ setRandom()

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

◆ size()

size_t AmpGen::TreePhaseSpace::size ( ) const

Member Data Documentation

◆ m_verbose

Property<bool> AmpGen::Configurable< TreePhaseSpace >::m_verbose
protectedinherited

Definition at line 17 of file Configurable.h.


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