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

#include <strawtubesContFact.h>

Inheritance diagram for strawtubesContFact:
Collaboration diagram for strawtubesContFact:

Public Member Functions

 strawtubesContFact ()
 
 ~strawtubesContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file strawtubesContFact.h.

Constructor & Destructor Documentation

◆ strawtubesContFact()

strawtubesContFact::strawtubesContFact ( )

◆ ~strawtubesContFact()

strawtubesContFact::~strawtubesContFact ( )
inline

Definition at line 14 of file strawtubesContFact.h.

14{}

Member Function Documentation

◆ createContainer()

FairParSet * strawtubesContFact::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 36 of file strawtubesContFact.cxx.

37{
43 /* const char* name=c->GetName();
44 FairParSet* p=NULL;
45 if (strcmp(name,"strawtubesGeoPar")==0) {
46 p=new strawtubesGeoPar(c->getConcatName().Data(),
47 c->GetTitle(),c->getContext());
48 }
49 return p;
50*/
51 return 0;
52 }

◆ setAllContainers()

void strawtubesContFact::setAllContainers ( )
private

Creates the Container objects with all accepted contexts and adds them to the list of containers for the strawtubes library.

Definition at line 20 of file strawtubesContFact.cxx.

21{
26/*
27 FairContainer* p= new FairContainer("strawtubesGeoPar",
28 "strawtubes Geometry Parameters",
29 "TestDefaultContext");
30 p->addContext("TestNonDefaultContext");
31
32 containers->Add(p);
33*/
34 }

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