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()) <<
" , "
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.
const RotationType & rotation() const
Return change of orientation since the creation of the object.
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
const PositionType & globalPosition() const
Return the global position of the object.