8 template <
class FilteredView>
26 template <
class FilteredView>
41 edm::LogError(
"DetConstruction") <<
" module defined in a Stack but not upper either lower!? ";
68 if (isPhase1ModuleWith2Sensors || isPhase2ModuleWith2Sensors) {
73 if (isPhase1ModuleWith2Sensors) {
74 buildSmallDetsforGlued(fv, det, attribute);
77 else if (isPhase2ModuleWith2Sensors) {
78 buildSmallDetsforStack(fv, det, attribute);
115 if (isPhase1ModuleWith2Sensors || isPhase2ModuleWith2Sensors) {
118 edm::LogError(
"CmsDetConstruction::buildComponent. Cannot go down to sensor volume.");
123 const int sensorHierarchyLevel = fv.
level();
126 while (fv.
level() == sensorHierarchyLevel) {
128 if (isPhase1ModuleWith2Sensors) {
129 buildSmallDetsforGlued(fv, det, attribute);
132 else if (isPhase2ModuleWith2Sensors) {
133 buildSmallDetsforStack(fv, det, attribute);
bool parent()
set the current node to the parent node ...
bool isUpperSensor() const
void addComponent(GeometricDet *)
bool nextSibling()
set the current node to the next sibling ...
void setGeographicalID(DetId id)
void buildSmallDetsforStack(FilteredView &, GeometricDet *, const std::string &)
Log< level::Error, false > LogError
void buildSmallDetsforGlued(FilteredView &, GeometricDet *, const std::string &)
bool firstChild()
set the current node to the first child
bool firstChild()
set the current node to the first child ...
const int level() const
get Iterator level
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
bool isLowerSensor() const