CbmRoot
|
Factory class for STS parameter container. More...
#include <CbmStsContFact.h>
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) | |
Factory class for STS parameter container.
The container factory enables FairRuntimeDb to create STS parameter containers when requested.
Definition at line 27 of file CbmStsContFact.h.
CbmStsContFact::CbmStsContFact | ( | ) |
|
inline |
Destructor.
Definition at line 35 of file CbmStsContFact.h.
|
private |
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.
|
private |
Define parameter containers and their contexts.
Definition at line 82 of file CbmStsContFact.cxx.
Referenced by CbmStsContFact().