CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DDSelLevelFtor Struct Reference

Public Member Functions

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

Public Attributes

DDSelLevelCollectorc_
 

Detailed Description

Definition at line 44 of file DDPartSelection.cc.

Constructor & Destructor Documentation

◆ DDSelLevelFtor()

DDSelLevelFtor::DDSelLevelFtor ( )
inline

Definition at line 45 of file DDPartSelection.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 48 of file DDPartSelection.cc.

48  {
49  if (c_.path()) {
50  if (c_.isCopyNoValid_ && c_.isChild_) {
52  //edm::LogInfo("DDPartSelection") << namespace_ << name_ << copyNo_ << ' ' << ddchildposp << std::endl;
53  } else if (c_.isCopyNoValid_ && !c_.isChild_) {
55  // edm::LogInfo("DDPartSelection") << namespace_ << name_ << copyNo_ << ' ' << ddanyposp << std::endl;
56  } else if (!c_.isCopyNoValid_ && c_.isChild_) {
58  // edm::LogInfo("DDPartSelection") << namespace_ << name_ << copyNo_ << ' ' << ddchildlogp << std::endl;
59  } else if (!c_.isCopyNoValid_ && !c_.isChild_) {
61  // edm::LogInfo("DDPartSelection") << namespace_ << name_ << copyNo_ << ' ' << ddanylogp << std::endl;
62  }
63  c_.namespace_ = "";
64  c_.name_ = "";
65  c_.isCopyNoValid_ = false;
66  }
67  }

References ddanylogp, ddanyposp, ddchildlogp, and ddchildposp.

Member Data Documentation

◆ c_

DDSelLevelCollector& DDSelLevelFtor::c_

Definition at line 69 of file DDPartSelection.cc.

ddanyposp
Definition: DDPartSelection.h:16
DDI::Singleton
Definition: Singleton.h:6
DDSelLevelCollector::path
std::vector< DDPartSelRegExpLevel > * path(std::vector< DDPartSelRegExpLevel > *p=nullptr)
Definition: DDPartSelection.cc:23
DDSelLevelFtor::c_
DDSelLevelCollector & c_
Definition: DDPartSelection.cc:69
ddchildposp
Definition: DDPartSelection.h:18
DDPartSelRegExpLevel
Definition: DDPartSelection.h:21
DDSelLevelCollector::namespace_
std::string namespace_
Definition: DDPartSelection.cc:16
DDSelLevelCollector::name_
std::string name_
Definition: DDPartSelection.cc:17
ddanylogp
Definition: DDPartSelection.h:15
DDSelLevelCollector::isChild_
bool isChild_
Definition: DDPartSelection.cc:20
DDSelLevelCollector::copyNo_
int copyNo_
Definition: DDPartSelection.cc:18
ddchildlogp
Definition: DDPartSelection.h:17
DDSelLevelCollector::isCopyNoValid_
bool isCopyNoValid_
Definition: DDPartSelection.cc:19