#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 |
ALIuint OpticalObjectMgr::buildCmsSwID | ( | ) |
Definition at line 75 of file OpticalObjectMgr.cc.
References theLastCmsSwID.
Referenced by registerMe().
void OpticalObjectMgr::dumpOptOs | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 63 of file OpticalObjectMgr.cc.
References begin, gather_cfg::cout, ALIUtils::dump3v(), Skims_PA_cff::name, Model::OptOList(), and theOptODict.
Referenced by Fit::dumpEntryCorrelations(), and registerMe().
OpticalObject * OpticalObjectMgr::findOptO | ( | const ALIstring & | longName, |
bool | exists = false |
||
) | const |
Definition at line 19 of file OpticalObjectMgr.cc.
References beam_dqm_sourceclient-live_cfg::cerr, beamvalidation::exit(), and theOptODict.
Referenced by registerMe().
std::vector< OpticalObject * > OpticalObjectMgr::findOptOs | ( | const ALIstring & | name, |
bool | exists = false |
||
) | const |
Definition at line 37 of file OpticalObjectMgr.cc.
References beam_dqm_sourceclient-live_cfg::cerr, beamvalidation::exit(), heppy_report::oname, and theOptODict.
Referenced by registerMe().
|
static |
Get the only instance.
Definition at line 9 of file OpticalObjectMgr.cc.
References OpticalObjectMgr(), theInstance, and theLastCmsSwID.
Referenced by OpticalObject::createComponentOptOs(), Fit::dumpEntryCorrelations(), OpticalObject::OpticalObject(), and ~OpticalObjectMgr().
|
inline |
Definition at line 28 of file OpticalObjectMgr.h.
References buildCmsSwID(), gather_cfg::cout, dumpOptOs(), findOptO(), findOptOs(), OpticalObject::longName(), Skims_PA_cff::name, MillePedeFileConverter_cfg::out, 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().