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

#include <muonContFact.h>

Inheritance diagram for muonContFact:
Collaboration diagram for muonContFact:

Public Member Functions

 muonContFact ()
 
 ~muonContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file muonContFact.h.

Constructor & Destructor Documentation

◆ muonContFact()

muonContFact::muonContFact ( )

◆ ~muonContFact()

muonContFact::~muonContFact ( )
inline

Definition at line 14 of file muonContFact.h.

14{}

Member Function Documentation

◆ createContainer()

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

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

◆ setAllContainers()

void muonContFact::setAllContainers ( )
private

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

Definition at line 20 of file muonContFact.cxx.

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