22 using namespace detail ;
45 std::list< DetElement > dets ;
46 std::list< DetElement > daugs ;
47 std::list< DetElement > gdaugs ;
49 daugs.push_back(
_det ) ;
51 while( ! daugs.empty() ) {
53 for( std::list< DetElement >::iterator li=daugs.begin() ; li != daugs.end() ; ++li ){
56 for ( DetElement::Children::const_iterator it=chMap.begin() ; it != chMap.end() ; ++it ){
58 gdaugs.push_back( de ) ;
61 dets.splice( dets.end() , daugs ) ;
62 daugs.splice( daugs.end() , gdaugs ) ;
68 for( std::list< DetElement >::iterator li=dets.begin() ; li != dets.end() ; ++li ) {
97 _sL.insert(
_sL.end(), detSL.begin(), detSL.end() );