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

#include <hcalContFact.h>

Inheritance diagram for hcalContFact:
Collaboration diagram for hcalContFact:

Public Member Functions

 hcalContFact ()
 
 ~hcalContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file hcalContFact.h.

Constructor & Destructor Documentation

◆ hcalContFact()

hcalContFact::hcalContFact ( )

◆ ~hcalContFact()

hcalContFact::~hcalContFact ( )
inline

Definition at line 14 of file hcalContFact.h.

14{}

Member Function Documentation

◆ createContainer()

FairParSet * hcalContFact::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 38 of file hcalContFact.cxx.

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

◆ setAllContainers()

void hcalContFact::setAllContainers ( )
private

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

Definition at line 22 of file hcalContFact.cxx.

23{
29 /* FairContainer* p= new FairContainer("hcalGeoPar",
30 "hcal Geometry Parameters",
31 "TestDefaultContext");
32 p->addContext("TestNonDefaultContext");
33
34 containers->Add(p);
35*/
36}

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