CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Detailed Description

Date:
2011/09/15 10:07:07
Revision:
1.6
Author
Andre Sznajder - UERJ(Brazil)

Definition in file AlignableDTWheel.cc.

Function Documentation

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

Output Wheel information.

Printout muon DT wheel information (not recursive)

Definition at line 83 of file AlignableDTWheel.cc.

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

84 {
85 
86  os << "This DTWheel contains " << b.theDTStations.size() << " DT stations" << std::endl;
87  os << "(phi, r, z) = (" << b.globalPosition().phi() << ","
88  << b.globalPosition().perp() << "," << b.globalPosition().z();
89  os << "), orientation:" << std::endl<< b.globalRotation() << std::endl;
90  return os;
91 
92 }
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:132
T z() const
Definition: PV3DBase.h:64
std::vector< AlignableDTStation * > theDTStations
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:129