#include <ShipPassiveContFact.h>
Definition at line 14 of file ShipPassiveContFact.h.
◆ ShipPassiveContFact()
| ShipPassiveContFact::ShipPassiveContFact |
( |
| ) |
|
Definition at line 27 of file ShipPassiveContFact.cxx.
27 : FairContFact() {
28
29 fName = "ShipPassiveContFact";
30 fTitle = "Factory for parameter containers in libPassive";
32 FairRuntimeDb::instance()->addContFactory(this);
33}
◆ ~ShipPassiveContFact()
| ShipPassiveContFact::~ShipPassiveContFact |
( |
| ) |
|
|
overridedefault |
◆ createContainer()
| FairParSet * ShipPassiveContFact::createContainer |
( |
FairContainer * | c | ) |
|
|
override |
Calls the constructor of the corresponding parameter container. 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.
Definition at line 46 of file ShipPassiveContFact.cxx.
46 {
50
51
52
53
54
55
56
57
58 return nullptr;
59}
◆ setAllContainers()
| void ShipPassiveContFact::setAllContainers |
( |
| ) |
|
|
private |
Creates the Container objects with all accepted contexts and adds them to the list of containers for the STS library.
Definition at line 35 of file ShipPassiveContFact.cxx.
35 {
38
39 FairContainer*
p =
new FairContainer(
40 "FairGeoPassivePar", "Passive Geometry Parameters", "TestDefaultContext");
41 p->addContext(
"TestNonDefaultContext");
42
43 containers->Add(p);
44}
The documentation for this class was generated from the following files: