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

#include <ecalContFact.h>

Inheritance diagram for ecalContFact:
Collaboration diagram for ecalContFact:

Public Member Functions

 ecalContFact ()
 
 ~ecalContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file ecalContFact.h.

Constructor & Destructor Documentation

◆ ecalContFact()

ecalContFact::ecalContFact ( )

◆ ~ecalContFact()

ecalContFact::~ecalContFact ( )
inline

Definition at line 14 of file ecalContFact.h.

14{}

Member Function Documentation

◆ createContainer()

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

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

◆ setAllContainers()

void ecalContFact::setAllContainers ( )
private

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

Definition at line 22 of file ecalContFact.cxx.

23{
29 /* FairContainer* p= new FairContainer("ecalGeoPar",
30 "ecal 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: