CbmRoot
CbmStsContFact Class Reference

Factory class for STS parameter container. More...

#include <CbmStsContFact.h>

Inheritance diagram for CbmStsContFact:
[legend]
Collaboration diagram for CbmStsContFact:
[legend]

Public Member Functions

 CbmStsContFact ()
 Constructor. More...
 
 ~CbmStsContFact ()
 Destructor. More...
 
FairParSet * createContainer (FairContainer *)
 Create a parameter set. More...
 

Private Member Functions

void setAllContainers ()
 Define parameter containers and their contexts. More...
 
 ClassDef (CbmStsContFact, 0)
 

Detailed Description

Factory class for STS parameter container.

Author
Denis Bertini d.ber.nosp@m.tini.nosp@m.@gsi..nosp@m.de
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e (revision 2020)
Since
20.06.2005
Date
23.03.2020

The container factory enables FairRuntimeDb to create STS parameter containers when requested.

Definition at line 27 of file CbmStsContFact.h.

Constructor & Destructor Documentation

◆ CbmStsContFact()

CbmStsContFact::CbmStsContFact ( )

Constructor.

Definition at line 27 of file CbmStsContFact.cxx.

References setAllContainers().

◆ ~CbmStsContFact()

CbmStsContFact::~CbmStsContFact ( )
inline

Destructor.

Definition at line 35 of file CbmStsContFact.h.

Member Function Documentation

◆ ClassDef()

CbmStsContFact::ClassDef ( CbmStsContFact  ,
 
)
private

◆ createContainer()

FairParSet * CbmStsContFact::createContainer ( FairContainer *  container)

Create a parameter set.

Calls the constructor of the corresponding parameter set. For an actual context, which is not an empty string and not the default context of this container, the name is concatenated with the context.

The name of the method is somewhat misleading, since what is created is not a FairContainer, but a FairParSet. Only God and Ilse König can tell the difference, though. Doxygen surely cannot.

Definition at line 37 of file CbmStsContFact.cxx.

◆ setAllContainers()

void CbmStsContFact::setAllContainers ( )
private

Define parameter containers and their contexts.

Definition at line 82 of file CbmStsContFact.cxx.

Referenced by CbmStsContFact().


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