CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Detailed Description

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

Definition in file AlignableDTStation.cc.

Function Documentation

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

Output Station information.

Printout muon DT Station information (not recursive)

Definition at line 84 of file AlignableDTStation.cc.

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

85 {
86 
87  os << "This DT Station contains " << b.theDTChambers.size() << " DT chambers" << std::endl;
88  os << "(phi, r, z) = (" << b.globalPosition().phi() << ","
89  << b.globalPosition().perp() << "," << b.globalPosition().z();
90  os << "), orientation:" << std::endl<< b.globalRotation() << std::endl;
91  return os;
92 
93 }
T perp() const
Definition: PV3DBase.h:71
Geom::Phi< T > phi() const
Definition: PV3DBase.h:68
const RotationType & globalRotation() const
Return the global orientation of the object.
Definition: Alignable.h:132
T z() const
Definition: PV3DBase.h:63
std::vector< AlignableDTChamber * > theDTChambers
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:129