/** @file CbmStsContFact.h ** @author Denis Bertini ** @since 20.06.2005 **/ #ifndef CBMSTSCONTFACT_H #define CBMSTSCONTFACT_H 1 #include // for THashConsistencyHolder, ClassDef #include // for FairContFact, FairContainer (ptr only) class FairContainer; class FairParSet; /** @class CbmStsContFact ** @brief Factory class for STS parameter container ** @author Denis Bertini ** @author Volker Friese (revision 2020) ** @since 20.06.2005 ** @date 23.03.2020 ** ** The container factory enables FairRuntimeDb to create STS ** parameter containers when requested. **/ class CbmStsContFact : public FairContFact { public: /** @brief Constructor **/ CbmStsContFact(); /** @brief Destructor **/ ~CbmStsContFact() {} /** @brief 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. **/ FairParSet* createContainer(FairContainer*); private: /** @brief Define parameter containers and their contexts **/ void setAllContainers(); ClassDef(CbmStsContFact, 0); }; #endif /* CBMSTSCONTFACT_H */