CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
AlignableGEMRing.cc File Reference
#include "Alignment/MuonAlignment/interface/AlignableGEMRing.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const AlignableGEMRing &b)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const AlignableGEMRing b 
)

Definition at line 47 of file AlignableGEMRing.cc.

References Alignable::globalPosition(), Alignable::globalRotation(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), AlignableGEMRing::theGEMSuperChambers, and PV3DBase< T, PVType, FrameType >::z().

47  {
48  os << "This GEM Ring contains " << b.theGEMSuperChambers.size() << " GEM Super chambers" << std::endl;
49  os << "(phi, r, z) = (" << b.globalPosition().phi() << "," << b.globalPosition().perp() << ","
50  << b.globalPosition().z();
51  os << "), orientation:" << std::endl << b.globalRotation() << std::endl;
52  return os;
53 }
T perp() const
Definition: PV3DBase.h:69
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
const RotationType & globalRotation() const
Return the global orientation of the object.
Definition: Alignable.h:138
std::vector< AlignableGEMSuperChamber * > theGEMSuperChambers
T z() const
Definition: PV3DBase.h:61
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:135