YAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
TwoBodyPhaseSpaceFactorFactory Class Reference

#include <TwoBodyPhaseSpaceFactor.h>

Inheritance diagram for TwoBodyPhaseSpaceFactorFactory:
PhaseSpaceFactorFactory

Static Public Member Functions

static std::shared_ptr
< PhaseSpaceFactorFactory
instance ()
 

Protected Member Functions

virtual std::shared_ptr
< PhaseSpaceFactor
phaseSpaceFactor (const DecayChannel &dc, const SpinAmplitude &sa, std::shared_ptr< MassShape > ms)
 

Private Member Functions

 TwoBodyPhaseSpaceFactorFactory ()=default
 private constructor; singleton
 

Private Attributes

std::map< const Model
*, std::shared_ptr
< TwoBodyPhaseSpaceFactor > > 
PHSPFactors_
 single instance of TwoBodyPhaseSpaceFactor to be used by all objects
 

Detailed Description

Factory for creating TwoBodyPhaseSpaceFactor objects

Author
Daniel Greenwald

Member Function Documentation

static std::shared_ptr<PhaseSpaceFactorFactory> instance ( )
inlinestatic
Returns
singleton instance
std::shared_ptr< PhaseSpaceFactor > phaseSpaceFactor ( const DecayChannel dc,
const SpinAmplitude sa,
std::shared_ptr< MassShape ms 
)
protectedvirtual
Returns
TwoBodyPhaseSpaceFactor for two-body decay; nullptr otherwise

Implements PhaseSpaceFactorFactory.


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