CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
AlignableGEMEndcap.cc File Reference
#include <memory>
#include "Alignment/MuonAlignment/interface/AlignableGEMEndcap.h"
#include "CondFormats/Alignment/interface/Alignments.h"
#include "CondFormats/Alignment/interface/AlignmentErrorsExtended.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 50 of file AlignableGEMEndcap.cc.

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

50  {
51  os << "This EndCap contains " << b.theGEMStations.size() << " GEM stations" << std::endl;
52  os << "(phi, r, z) = (" << b.globalPosition().phi() << "," << b.globalPosition().perp() << ","
53  << b.globalPosition().z();
54  os << "), orientation:" << std::endl << b.globalRotation() << std::endl;
55  return os;
56 }
T perp() const
Definition: PV3DBase.h:69
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
std::vector< AlignableGEMStation * > theGEMStations
const RotationType & globalRotation() const
Return the global orientation of the object.
Definition: Alignable.h:138
T z() const
Definition: PV3DBase.h:61
const PositionType & globalPosition() const
Return the global position of the object.
Definition: Alignable.h:135