13 #include "FairRuntimeDb.h"
27 fName=
"PndMdtContFact";
28 fTitle=
"Factory for parameter containers in libMdt";
30 FairRuntimeDb::instance()->addContFactory(
this);
37 FairContainer*
p1=
new FairContainer(
"PndGeoMdtPar",
38 "MDT Geometry Parameters",
39 "TestDefaultContext");
40 p1->addContext(
"TestDefaultContext");
42 FairContainer*
p2=
new FairContainer(
"PndMdtRecoPar",
43 "MDT Reconstruction Parameters",
44 "TestDefaultContext");
45 p2->addContext(
"TestDefaultContext");
55 const char*
name=c->GetName();
58 if (strcmp(name,
"PndGeoMdtPar")==0) {
59 p=
new PndGeoMdtPar(c->getConcatName().Data(),c->GetTitle(),c->getContext());
62 if (strcmp(name,
"PndMdtRecoPar")==0) {
63 p=
new PndMdtRecoPar(c->getConcatName().Data(),c->GetTitle(),c->getContext());
static PndMdtContFact gPndMdtContFact
FairParSet * createContainer(FairContainer *)