CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const AlignableDTBarrel &b)
 Output Half Barrel information. More...
 

Detailed Description

Date:
2008/04/10 16:36:41
Revision:
1.7
Author
Andre Sznajder - UERJ(Brazil)

Definition in file AlignableDTBarrel.cc.

Function Documentation

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

Output Half Barrel information.

Printout muon Barrel information (not recursive)

Definition at line 86 of file AlignableDTBarrel.cc.

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

87 {
88 
89  os << "This DTBarrel contains " << b.theDTWheels.size() << " Barrel wheels" << std::endl;
90  os << "(phi, r, z) = (" << b.globalPosition().phi() << ","
91  << b.globalPosition().perp() << "," << b.globalPosition().z();
92  os << "), orientation:" << std::endl<< b.globalRotation() << std::endl;
93  return os;
94 
95 }
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< AlignableDTWheel * > theDTWheels
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:129