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

#include <splitcalContFact.h>

Inheritance diagram for splitcalContFact:
Collaboration diagram for splitcalContFact:

Public Member Functions

 splitcalContFact ()
 
 ~splitcalContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file splitcalContFact.h.

Constructor & Destructor Documentation

◆ splitcalContFact()

splitcalContFact::splitcalContFact ( )

◆ ~splitcalContFact()

splitcalContFact::~splitcalContFact ( )
inline

Definition at line 14 of file splitcalContFact.h.

14{}

Member Function Documentation

◆ createContainer()

FairParSet * splitcalContFact::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 splitcalContFact.cxx.

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

◆ setAllContainers()

void splitcalContFact::setAllContainers ( )
private

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

Definition at line 20 of file splitcalContFact.cxx.

21{
26/*
27 FairContainer* p= new FairContainer("splitcalGeoPar",
28 "splitcal 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: