- Date
- 2008/03/26 21:59:30
- Revision
- 1.1
- Author
- Andre Sznajder - UERJ(Brazil)
Definition in file AlignableDTSuperLayer.cc.
Printout the DetUnits in the CSC chamber.
Definition at line 18 of file AlignableDTSuperLayer.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), Alignable::displacement(), Alignable::globalPosition(), Alignable::globalRotation(), mps_fire::i, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), Alignable::rotation(), Alignable::surface(), AlignableSurface::toLocal(), and PV3DBase< T, PVType, FrameType >::z().
19 std::vector<Alignable*> theDets = r.
components();
21 os <<
" This DTSuperLayer contains " << theDets.size() <<
" units" << std::endl ;
24 os <<
"), orientation:" << std::endl<< r.
globalRotation() << std::endl;
26 os <<
" total displacement and rotation: " << r.
displacement() << std::endl;
29 for (std::vector<Alignable*>::const_iterator idet = theDets.begin(); idet != theDets.end(); ++idet) {
32 for (
unsigned int i = 0;
i < comp.size(); ++
i) {
33 os <<
" Det position, phi, r: " 34 << comp[
i]->globalPosition() <<
" , " 35 << comp[
i]->globalPosition().phi() <<
" , " 36 << comp[
i]->globalPosition().perp() << std::endl;
37 os <<
" local position, phi, r: "
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
Geom::Phi< T > phi() const
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.
std::vector< Alignable * > Alignables
virtual Alignables components() const
Return vector of direct components.
const PositionType & globalPosition() const
Return the global position of the object.