#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 20 of file OpticalObjectMgr.h.
|
inline |
|
inline |
ALIuint OpticalObjectMgr::buildCmsSwID | ( | ) |
Definition at line 85 of file OpticalObjectMgr.cc.
References theLastCmsSwID.
Referenced by registerMe().
void OpticalObjectMgr::dumpOptOs | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 71 of file OpticalObjectMgr.cc.
References begin, gather_cfg::cout, ALIUtils::dump3v(), dataset::name, nullptr, Model::OptOList(), and theOptODict.
Referenced by Fit::dumpEntryCorrelations(), and registerMe().
OpticalObject * OpticalObjectMgr::findOptO | ( | const ALIstring & | longName, |
bool | exists = false |
||
) | const |
Definition at line 21 of file OpticalObjectMgr.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, and theOptODict.
Referenced by registerMe().
std::vector< OpticalObject * > OpticalObjectMgr::findOptOs | ( | const ALIstring & | name, |
bool | exists = false |
||
) | const |
Definition at line 42 of file OpticalObjectMgr.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::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 31 of file OpticalObjectMgr.h.
References buildCmsSwID(), gather_cfg::cout, dumpOptOs(), findOptO(), findOptOs(), OpticalObject::longName(), dataset::name, MillePedeFileConverter_cfg::out, and theOptODict.
Referenced by OpticalObject::OpticalObject().
|
staticprivate |
Definition at line 44 of file OpticalObjectMgr.h.
Referenced by getInstance().
|
private |
Definition at line 46 of file OpticalObjectMgr.h.
Referenced by buildCmsSwID(), and getInstance().
|
private |
Definition at line 45 of file OpticalObjectMgr.h.
Referenced by dumpOptOs(), findOptO(), findOptOs(), and registerMe().