1 #ifndef OpticalObjectMgr_h
2 #define OpticalObjectMgr_h
16 typedef std::map<ALIstring, OpticalObject*, std::less<ALIstring> >
msopto;
OpticalObject * findOptO(const ALIstring &longName, bool exists=0) const
static OpticalObjectMgr * theInstance
std::vector< OpticalObject * > findOptOs(const ALIstring &name, bool exists=0) const
static OpticalObjectMgr * getInstance()
Get the only instance.
void registerMe(OpticalObject *opto)
std::map< ALIstring, OpticalObject *, std::less< ALIstring > > msopto
const ALIstring longName() const
void dumpOptOs(std::ostream &out=std::cout) const