CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
AlignableCSCEndcap.cc File Reference
#include "Alignment/MuonAlignment/interface/AlignableCSCEndcap.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 AlignableCSCEndcap &b)
 Output Half Barrel information. More...
 

Detailed Description

Date:
2011/09/15 09:40:22
Revision:
1.8
Author
Andre Sznajder - UERJ(Brazil)

Definition in file AlignableCSCEndcap.cc.

Function Documentation

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

Output Half Barrel information.

Printout muon End Cap information (not recursive)

Definition at line 85 of file AlignableCSCEndcap.cc.

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

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