Belle II Software  release-08-01-10
EvtGenModelRegister Class Reference

Class to keep a register of all Belle2 EvtDecayBases. More...

#include <EvtGenModelRegister.h>

Collaboration diagram for EvtGenModelRegister:

Classes

class  Factory
 Helper Class to easily register new EvtDecayBases for Belle2. More...
 

Public Types

typedef EvtDecayBase * ModelFactory()
 Callback type to return a new model instance.
 

Static Public Member Functions

static void registerModel (ModelFactory *factory)
 Register a new Model, called by the EvtGenModelRegister::Factory class.
 
static std::list< EvtDecayBase * > getModels ()
 Return a list of models. More...
 

Private Member Functions

 EvtGenModelRegister ()
 Singleton: private constructor.
 
 EvtGenModelRegister (const EvtGenModelRegister &other)=delete
 Singleton: private copy constructor.
 
EvtGenModelRegisteroperator= (const EvtGenModelRegister &)=delete
 Singleton: private assignment operator.
 

Static Private Member Functions

static EvtGenModelRegistergetInstance ()
 Return reference to the instance. More...
 

Private Attributes

std::vector< ModelFactory * > m_models
 List of all registered EvtGenModels.
 

Detailed Description

Class to keep a register of all Belle2 EvtDecayBases.

Definition at line 23 of file EvtGenModelRegister.h.


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