8 template <
class FilteredView>
26 template <
class FilteredView>
41 edm::LogError(
"DetConstruction") <<
" module defined in a Stack but not upper either lower!? ";
46 template <
class FilteredView>
61 edm::LogError(
"DetConstruction") <<
" module defined in a 3D module but not first or second sensor!? ";
89 if (isPhase1ModuleWith2Sensors || isPhase2ModuleWith2Sensors || isPhase2BarrelModuleWith2Sensors) {
94 if (isPhase1ModuleWith2Sensors) {
95 buildSmallDetsforGlued(fv, det, attribute);
98 else if (isPhase2ModuleWith2Sensors) {
99 buildSmallDetsforStack(fv, det, attribute);
100 }
else if (isPhase2BarrelModuleWith2Sensors) {
101 buildSmallDetsfor3D(fv, det, attribute);
139 if (isPhase1ModuleWith2Sensors || isPhase2ModuleWith2Sensors || isPhase2BarrelModuleWith2Sensors) {
142 edm::LogError(
"CmsDetConstruction::buildComponent. Cannot go down to sensor volume.");
147 const int sensorHierarchyLevel = fv.
level();
150 while (fv.
level() == sensorHierarchyLevel) {
152 if (isPhase1ModuleWith2Sensors) {
153 buildSmallDetsforGlued(fv, det, attribute);
156 else if (isPhase2ModuleWith2Sensors) {
157 buildSmallDetsforStack(fv, det, attribute);
158 }
else if (isPhase2BarrelModuleWith2Sensors) {
159 buildSmallDetsfor3D(fv, det, attribute);
bool parent()
set the current node to the parent node ...
void addComponent(GeometricDet *)
bool nextSibling()
set the current node to the next sibling ...
bool isUpperSensor() const
void setGeographicalID(DetId id)
void buildSmallDetsforStack(FilteredView &, GeometricDet *, const std::string &)
Log< level::Error, false > LogError
bool isLowerSensor() const
void buildSmallDetsfor3D(FilteredView &, GeometricDet *, const std::string &)
const int level() const
get Iterator level
void buildSmallDetsforGlued(FilteredView &, GeometricDet *, const std::string &)
bool firstChild()
set the current node to the first child
bool isSecondSensor() const
bool firstChild()
set the current node to the first child ...
bool isFirstSensor() const
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override