CMS 3D CMS Logo

Functions
AlignableCSCRing.cc File Reference
#include "Alignment/MuonAlignment/interface/AlignableCSCRing.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const AlignableCSCRing &b)
 Output Ring information. More...
 

Detailed Description

Date
2008/04/10 16:36:41
Revision
1.2
Author
Jim Pivarski - Texas A&M University

Definition in file AlignableCSCRing.cc.

Function Documentation

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

Output Ring information.

Printout muon CSC Ring information (not recursive)

Definition at line 91 of file AlignableCSCRing.cc.

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

92 {
93 
94  os << "This CSC Ring contains " << b.theCSCChambers.size() << " CSC chambers" << std::endl;
95  os << "(phi, r, z) = (" << b.globalPosition().phi() << ","
96  << b.globalPosition().perp() << "," << b.globalPosition().z();
97  os << "), orientation:" << std::endl<< b.globalRotation() << std::endl;
98  return os;
99 
100 }
T perp() const
Definition: PV3DBase.h:72
Geom::Phi< T > phi() const
Definition: PV3DBase.h:69
const RotationType & globalRotation() const
Return the global orientation of the object.
Definition: Alignable.h:141
T z() const
Definition: PV3DBase.h:64
std::vector< AlignableCSCChamber * > theCSCChambers
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:138