29 os <<
" This CSCChamber contains " << theDets.size() <<
" units" << std::endl;
33 os <<
"), orientation:" << std::endl << r.
globalRotation() << std::endl;
35 os <<
" total displacement and rotation: " << r.
displacement() << std::endl;
38 for (
const auto& idet : theDets) {
39 const auto&
comp = idet->components();
41 for (
unsigned int i = 0;
i <
comp.size(); ++
i) {
42 os <<
" Det position, phi, r: " <<
comp[
i]->globalPosition() <<
" , " <<
comp[
i]->globalPosition().phi()
43 <<
" , " <<
comp[
i]->globalPosition().perp() << std::endl;
const Alignables & components() const override
Return vector of direct components.
void update(const GeomDet *geomDet)
Updater.
AlignableCSCChamber(const GeomDet *geomDet)
Constructor.
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
friend std::ostream & operator<<(std::ostream &, const AlignableCSCChamber &)
Printout the DetUnits in the CSC chamber.
Geom::Phi< T > phi() const
const RotationType & globalRotation() const
Return the global orientation of the object.
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.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
void update(const GeomDet *geomDet, bool updateComponents=true)
CompConstraintType compConstraintType_
const PositionType & globalPosition() const
Return the global position of the object.
AlignableSurface theSurface
A muon CSC Chamber( an AlignableDet )