30 std::vector<Alignable*> theDets = r.
components();
32 os <<
" This CSCChamber contains " << theDets.size() <<
" units" << std::endl ;
35 os <<
"), orientation:" << std::endl<< r.
globalRotation() << std::endl;
37 os <<
" total displacement and rotation: " << r.
displacement() << std::endl;
40 for (std::vector<Alignable*>::const_iterator idet = theDets.begin(); idet != theDets.end(); ++idet) {
43 for (
unsigned int i = 0;
i < comp.size(); ++
i) {
44 os <<
" Det position, phi, r: " 45 << comp[
i]->globalPosition() <<
" , " 46 << comp[
i]->globalPosition().phi() <<
" , " 47 << comp[
i]->globalPosition().perp() << std::endl;
48 os <<
" local position, phi, r: " 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.
Alignables components() const override
Return vector of direct components.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
std::vector< Alignable * > Alignables
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 )