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

#include <NutaudetContFact.h>

Inheritance diagram for NutaudetContFact:
Collaboration diagram for NutaudetContFact:

Public Member Functions

 NutaudetContFact ()
 
 ~NutaudetContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 10 of file NutaudetContFact.h.

Constructor & Destructor Documentation

◆ NutaudetContFact()

NutaudetContFact::NutaudetContFact ( )

◆ ~NutaudetContFact()

NutaudetContFact::~NutaudetContFact ( )
inline

Definition at line 16 of file NutaudetContFact.h.

16{}

Member Function Documentation

◆ createContainer()

FairParSet * NutaudetContFact::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 51 of file NutaudetContFact.cxx.

52{
56 /* const char* name=c->GetName();
57 FairParSet* p=NULL;
58 if (strcmp(name,"FairGeoTauSensitivePar")==0) {
59 p=new FairGeoTauSensitivePar(c->getConcatName().Data(),c->GetTitle(),c->getContext());
60 }
61 return p;
62*/
63 return 0;
64}

◆ setAllContainers()

void NutaudetContFact::setAllContainers ( )
private

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

Definition at line 38 of file NutaudetContFact.cxx.

39{
43 FairContainer* p= new FairContainer("FairGeoTauSensitivePar",
44 "TauSensitive Geometry Parameters",
45 "TestDefaultContext");
46 p->addContext("TestNonDefaultContext");
47
48 containers->Add(p);
49}

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