EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
FairRoot-style EIC container factory, whatever it is good for. More...
#include <EicRoot/blob/master/eic/base/EicContFact.h>
Public Member Functions | |
EicContFact (EicDetector *det, const char *_fName, const char *_fTitle, const char *name, const char *title, const char *context) | |
Parameters are strings needed to initialize respective FairContainer. | |
EicContFact () | |
~EicContFact () | |
FairParSet * | createContainer (FairContainer *) |
Public Member Functions inherited from FairContFact | |
FairContFact () | |
virtual | ~FairContFact () |
Bool_t | addContext (const char *name) |
void | print () |
FairParSet * | getContainer (const char *) |
virtual void | activateParIo (FairParIo *) |
Private Attributes | |
char * | fGeoParName |
Service variable like TpcGeoPar. | |
EicDetector * | backDoorDetPtr |
Pointer to EicDetector frame which called this function. | |
Additional Inherited Members | |
Protected Member Functions inherited from FairContFact | |
const char * | getActualContext (const char *name) |
ClassDef(FairContFact, 0) private FairContFact & | operator= (const FairContFact &) |
Protected Attributes inherited from FairContFact | |
TList * | containers |
FairLogger * | fLogger |
FairRoot-style EIC container factory, whatever it is good for.
Definition at line 16 of file EicContFact.h.
View newest version in sPHENIX GitHub at line 16 of file EicContFact.h
EicContFact::EicContFact | ( | EicDetector * | det, |
const char * | _fName, | ||
const char * | _fTitle, | ||
const char * | name, | ||
const char * | title, | ||
const char * | context | ||
) |
Parameters are strings needed to initialize respective FairContainer.
Definition at line 20 of file EicContFact.cxx.
View newest version in sPHENIX GitHub at line 20 of file EicContFact.cxx
References FairRuntimeDb::addContFactory(), backDoorDetPtr, FairContFact::containers, fGeoParName, FairRuntimeDb::instance(), and p.
|
inline |
Definition at line 21 of file EicContFact.h.
View newest version in sPHENIX GitHub at line 21 of file EicContFact.h
|
inline |
Definition at line 22 of file EicContFact.h.
View newest version in sPHENIX GitHub at line 22 of file EicContFact.h
|
virtual |
Reimplemented from FairContFact.
Definition at line 36 of file EicContFact.cxx.
View newest version in sPHENIX GitHub at line 36 of file EicContFact.cxx
References backDoorDetPtr, EicDetector::EicGeoParAllocator(), fGeoParName, name, and p.
|
private |
Pointer to EicDetector frame which called this function.
Well, want to be able to call detector-specific allocator of EicGeoPar derivative class in EicContFact::createContainer(); this is indeed not the best quality C++ way of doing things, but I do not want to either cut'n'paste createContainer() in several places or to mess up with templates; inheritance between EicDetector and EicContFact would probably help, but they both have TObject as a base class.
Definition at line 39 of file EicContFact.h.
View newest version in sPHENIX GitHub at line 39 of file EicContFact.h
Referenced by createContainer(), and EicContFact().
|
private |
Service variable like TpcGeoPar.
Let it remain char*, does not really matter
Definition at line 29 of file EicContFact.h.
View newest version in sPHENIX GitHub at line 29 of file EicContFact.h
Referenced by createContainer(), and EicContFact().