24 msopto::const_iterator cite =
theOptODict.find( longName );
27 std::cerr <<
"!!!! EXITING: OptO not found: " << longName << std::endl;
30 std::cerr <<
"!! WARNING: OptO not found: " << longName << std::endl;
33 opto = (*cite).second;
44 std::vector<OpticalObject*> vopto;
45 msopto::const_iterator cite;
49 int nf = oname.rfind( name );
50 int sf = oname.rfind(
'/' );
51 if( nf != -1 && sf <= nf ) {
52 vopto.push_back( (*cite).second );
58 std::cerr <<
"!!!! EXITING: OptO not found: " << name << std::endl;
61 std::cerr <<
"!! WARNING: OptO not found: " << name << std::endl;
74 std::vector< OpticalObject* >::const_iterator vocite;
OpticalObject * findOptO(const ALIstring &longName, bool exists=false) const
static OpticalObjectMgr * theInstance
static OpticalObjectMgr * getInstance()
Get the only instance.
void dumpOptOs(std::ostream &out=std::cout) const
static std::vector< OpticalObject * > & OptOList()
std::vector< OpticalObject * > findOptOs(const ALIstring &name, bool exists=false) const
static void dump3v(const CLHEP::Hep3Vector &vec, const std::string &msg)