11 for (
const auto&
chamber : GEMSuperChambers) {
23 throw cms::Exception(
"LogicError") <<
"GEM Super Chamber index (" <<
i <<
") out of range";
35 for (std::vector<AlignableGEMSuperChamber*>::iterator ichamber =
theGEMSuperChambers.begin();
38 zz += (*ichamber)->globalPosition().z();
48 os <<
"This GEM Ring contains " <<
b.theGEMSuperChambers.size() <<
" GEM Super chambers" << std::endl;
49 os <<
"(phi, r, z) = (" <<
b.globalPosition().phi() <<
"," <<
b.globalPosition().perp() <<
"," 50 <<
b.globalPosition().z();
51 os <<
"), orientation:" << std::endl <<
b.globalRotation() << std::endl;
57 for (std::vector<AlignableGEMSuperChamber*>::const_iterator iChamber =
theGEMSuperChambers.begin();
Alignable * mother() const
Return pointer to container alignable (if any)
RotationType computeOrientation()
PositionType computePosition()
std::vector< AlignableGEMSuperChamber * > theGEMSuperChambers
void setSurface(const AlignableSurface &s)
Log< level::Info, false > LogInfo
void dump(void) const override
Recursive printout of alignable structure.
align::RotationType RotationType
AlignableSurface computeSurface()
int size() const
Return number of direct components.
align::PositionType PositionType
CompConstraintType compConstraintType_
AlignableGEMSuperChamber & superChamber(int i)
AlignableGEMRing(const std::vector< AlignableGEMSuperChamber *> &GEMSuperChambers)
void addComponent(Alignable *component) final
std::ostream & operator<<(std::ostream &os, const AlignableGEMRing &b)