CMS 3D CMS Logo

Public Member Functions

DDIsChildFtor Struct Reference

List of all members.

Public Member Functions

void operator() (char const *first, char const *last) const

Detailed Description

Definition at line 79 of file DDPartSelection.cc.


Member Function Documentation

void DDIsChildFtor::operator() ( char const *  first,
char const *  last 
) const [inline]

Definition at line 82 of file DDPartSelection.cc.

References instance, and DDSelLevelCollector::isChild_.

                                                             {
   DDSelLevelCollector & sl = DDI::Singleton<DDSelLevelCollector>::instance();
   if ( (last-first) > 1) 
     sl.isChild_=false;
   if ( (last-first) ==1 )
     sl.isChild_=true;
   //edm::LogInfo("DDPartSelection")  << "DDIsChildFtor  isChild=" << (last-first) << std::endl;
  }