19 os <<
" This GEMChamber contains " << theDets.size() <<
" units" << std::endl;
23 os <<
"), orientation:" << std::endl << r.
globalRotation() << std::endl;
25 os <<
" total displacement and rotation: " << r.
displacement() << std::endl;
28 for (
const auto& idet : theDets) {
29 const auto&
comp = idet->components();
31 for (
unsigned int i = 0;
i <
comp.size(); ++
i) {
32 os <<
" Det position, phi, r: " <<
comp[
i]->globalPosition() <<
" , " <<
comp[
i]->globalPosition().phi()
33 <<
" , " <<
comp[
i]->globalPosition().perp() << std::endl;
34 os <<
" local position, phi, r: " << r.
surface().
toLocal(
comp[
i]->globalPosition()) <<
" , "
void update(const GeomDet *geomDet)
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
Geom::Phi< T > phi() const
const Alignables & components() const override
Return vector of direct components.
const RotationType & globalRotation() const
Return the global orientation of the object.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const Plane & surface() const
The nominal surface of the GeomDet.
const RotationType & rotation() const
Return change of orientation since the creation of the object.
StructureType theStructureType
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
AlignableGEMChamber(const GeomDet *geomDet)
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
void update(const GeomDet *geomDet, bool updateComponents=true)
const PositionType & globalPosition() const
Return the global position of the object.
AlignableSurface theSurface