ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtSeGAContFact.cxx
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #include "AtSeGAContFact.h"
9 
10 #include <FairRuntimeDb.h>
11 
12 #include <TString.h> // for TString
13 
15 
16 static AtSeGAContFact gAtSeGAContFact;
17 
19 {
21  fName = "AtSeGAContFact";
22  fTitle = "Factory for parameter containers in libAtSeGA";
23  setAllContainers();
24  FairRuntimeDb::instance()->addContFactory(this);
25 }
26 
27 void AtSeGAContFact::setAllContainers()
28 {
34  // FairContainer* p= new FairContainer("AtSeGAGeoPar",
35  // "AtSeGA Geometry Parameters",
36  // "TestDefaultContext");
37  // p->addContext("TestNonDefaultContext");
38 
39  // containers->Add(p);
40 }
41 
42 FairParSet *AtSeGAContFact::createContainer(FairContainer *c)
43 {
44  return nullptr;
45 }
AtSeGAContFact::AtSeGAContFact
AtSeGAContFact()
Definition: AtSeGAContFact.cxx:18
ClassImp
ClassImp(AtSeGAContFact)
AtSeGAContFact::createContainer
FairParSet * createContainer(FairContainer *) override
Definition: AtSeGAContFact.cxx:42
AtSeGAContFact
Definition: AtSeGAContFact.h:19
AtSeGAContFact.h
c
constexpr auto c
Definition: AtRadialChargeModel.cxx:20