#include <OpticalObjectMgr.h>
Public Member Functions | |
ALIuint | buildCmsSwID () |
void | dumpOptOs (std::ostream &out=std::cout) const |
OpticalObject * | findOptO (const ALIstring &longName, bool exists=false) const |
std::vector< OpticalObject * > | findOptOs (const ALIstring &name, bool exists=false) const |
OpticalObjectMgr () | |
void | registerMe (OpticalObject *opto) |
~OpticalObjectMgr () | |
Static Public Member Functions | |
static OpticalObjectMgr * | getInstance () |
Get the only instance. More... | |
Private Attributes | |
ALIuint | theLastCmsSwID |
msopto | theOptODict |
Static Private Attributes | |
static OpticalObjectMgr * | theInstance = nullptr |
Definition at line 19 of file OpticalObjectMgr.h.
|
inline |
|
inline |
Definition at line 22 of file OpticalObjectMgr.h.
ALIuint OpticalObjectMgr::buildCmsSwID | ( | ) |
void OpticalObjectMgr::dumpOptOs | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 63 of file OpticalObjectMgr.cc.
References SplitLinear::begin, gather_cfg::cout, ALIUtils::dump3v(), mergeVDriftHistosByStation::name, Model::OptOList(), and theOptODict.
Referenced by Fit::dumpEntryCorrelations().
OpticalObject * OpticalObjectMgr::findOptO | ( | const ALIstring & | longName, |
bool | exists = false |
||
) | const |
Definition at line 19 of file OpticalObjectMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, beamvalidation::exit(), and theOptODict.
std::vector< OpticalObject * > OpticalObjectMgr::findOptOs | ( | const ALIstring & | name, |
bool | exists = false |
||
) | const |
Definition at line 37 of file OpticalObjectMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, beamvalidation::exit(), heppy_report::oname, and theOptODict.
|
static |
Get the only instance.
Definition at line 9 of file OpticalObjectMgr.cc.
References OpticalObjectMgr(), theInstance, and theLastCmsSwID.
Referenced by OpticalObject::createComponentOptOs(), Fit::dumpEntryCorrelations(), and OpticalObject::OpticalObject().
|
inline |
Definition at line 28 of file OpticalObjectMgr.h.
References OpticalObject::longName(), and theOptODict.
Referenced by OpticalObject::OpticalObject().
|
staticprivate |
Definition at line 39 of file OpticalObjectMgr.h.
Referenced by getInstance().
|
private |
Definition at line 41 of file OpticalObjectMgr.h.
Referenced by buildCmsSwID(), and getInstance().
|
private |
Definition at line 40 of file OpticalObjectMgr.h.
Referenced by dumpOptOs(), findOptO(), findOptOs(), and registerMe().