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

#include <vetoContFact.h>

Inheritance diagram for vetoContFact:
Collaboration diagram for vetoContFact:

Public Member Functions

 vetoContFact ()
 
 ~vetoContFact ()
 
FairParSet * createContainer (FairContainer *)
 

Private Member Functions

void setAllContainers ()
 

Detailed Description

Definition at line 8 of file vetoContFact.h.

Constructor & Destructor Documentation

◆ vetoContFact()

vetoContFact::vetoContFact ( )

◆ ~vetoContFact()

vetoContFact::~vetoContFact ( )
inline

Definition at line 14 of file vetoContFact.h.

14{}

Member Function Documentation

◆ createContainer()

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

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

◆ setAllContainers()

void vetoContFact::setAllContainers ( )
private

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

Definition at line 20 of file vetoContFact.cxx.

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