SND@LHC Software
Loading...
Searching...
No Matches
ShipPassiveContFact Class Reference

#include <ShipPassiveContFact.h>

Inheritance diagram for ShipPassiveContFact:
Collaboration diagram for ShipPassiveContFact:

Public Member Functions

 ShipPassiveContFact ()
 
 ~ShipPassiveContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 10 of file ShipPassiveContFact.h.

Constructor & Destructor Documentation

◆ ShipPassiveContFact()

ShipPassiveContFact::ShipPassiveContFact ( )

◆ ~ShipPassiveContFact()

ShipPassiveContFact::~ShipPassiveContFact ( )
inline

Definition at line 16 of file ShipPassiveContFact.h.

16{}

Member Function Documentation

◆ createContainer()

FairParSet * ShipPassiveContFact::createContainer ( FairContainer *  c)

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 concatinated with the context.

Definition at line 51 of file ShipPassiveContFact.cxx.

52{
56 /* const char* name=c->GetName();
57 FairParSet* p=NULL;
58 if (strcmp(name,"FairGeoPassivePar")==0) {
59 p=new FairGeoPassivePar(c->getConcatName().Data(),c->GetTitle(),c->getContext());
60 }
61 return p;
62*/
63 return 0;
64}

◆ 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 38 of file ShipPassiveContFact.cxx.

39{
43 FairContainer* p= new FairContainer("FairGeoPassivePar",
44 "Passive Geometry Parameters",
45 "TestDefaultContext");
46 p->addContext("TestNonDefaultContext");
47
48 containers->Add(p);
49}

The documentation for this class was generated from the following files: