9 #include <FairContFact.h>
10 #include <FairLogger.h>
11 #include <FairRuntimeDb.h>
23 fName =
"CbmFieldContFact";
24 fTitle =
"Factory for field parameter containers";
26 FairRuntimeDb::instance()->addContFactory(
this);
40 const char* name = container->GetName();
41 LOG(info) <<
"create CbmFieldPar container " << name;
42 FairParSet* set =
nullptr;
43 if (strcmp(name,
"CbmFieldPar") == 0)
44 set =
new CbmFieldPar(container->getConcatName().Data(),
45 container->GetTitle(),
46 container->getContext());
54 FairContainer* container =
new FairContainer(
55 "CbmFieldPar",
"Field parameter container",
"Default field");
56 containers->Add(container);