CMS 3D CMS Logo

Public Member Functions | Public Attributes

DDSelLevelFtor Struct Reference

List of all members.

Public Member Functions

 DDSelLevelFtor ()
void operator() (char const *, char const *) const

Public Attributes

DDSelLevelCollectorc_

Detailed Description

Definition at line 45 of file DDPartSelection.cc.


Constructor & Destructor Documentation

DDSelLevelFtor::DDSelLevelFtor ( ) [inline]

Member Function Documentation

void DDSelLevelFtor::operator() ( char const *  ,
char const *   
) const [inline]

Definition at line 52 of file DDPartSelection.cc.

References ddanylogp, ddanyposp, ddchildlogp, and ddchildposp.

                                                       {
   if(c_.path()){
    if (c_.isCopyNoValid_ && c_.isChild_) {
      c_.path()->push_back(DDPartSelRegExpLevel(c_.namespace_,c_.name_,c_.copyNo_,ddchildposp));
      //edm::LogInfo("DDPartSelection")  << namespace_ << name_ << copyNo_ << ' ' << ddchildposp << std::endl;
    } else
    if (c_.isCopyNoValid_ && !c_.isChild_) {
      c_.path()->push_back(DDPartSelRegExpLevel(c_.namespace_,c_.name_,c_.copyNo_,ddanyposp));
      //      edm::LogInfo("DDPartSelection")  << namespace_ << name_ << copyNo_ << ' ' << ddanyposp << std::endl;
    } else
    if (!c_.isCopyNoValid_ && c_.isChild_) {
      c_.path()->push_back(DDPartSelRegExpLevel(c_.namespace_,c_.name_,c_.copyNo_,ddchildlogp));
      //      edm::LogInfo("DDPartSelection")  << namespace_ << name_ << copyNo_ << ' ' << ddchildlogp << std::endl;
    } else
    if (!c_.isCopyNoValid_ && !c_.isChild_) {
      c_.path()->push_back(DDPartSelRegExpLevel(c_.namespace_,c_.name_,c_.copyNo_,ddanylogp));
      //      edm::LogInfo("DDPartSelection")  << namespace_ << name_ << copyNo_ << ' ' << ddanylogp << std::endl;
    } 
    c_.namespace_="";
    c_.name_="";
    c_.isCopyNoValid_=false;   
   } 
  }

Member Data Documentation

Definition at line 76 of file DDPartSelection.cc.