CMS 3D CMS Logo

GeomDetEnumerators.cc File Reference

Date
2006/07/25 09:44:54
Revision
1.1
More...

#include "Geometry/CommonDetUnit/interface/GeomDetEnumerators.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, SubDetector m)
std::ostream & operator<< (std::ostream &s, Location l)


Detailed Description

Date
2006/07/25 09:44:54
Revision
1.1

Definition in file GeomDetEnumerators.cc.


Function Documentation

std::ostream& operator<< ( std::ostream &  s,
SubDetector  m 
)

Definition at line 16 of file GeomDetEnumerators.cc.

References GeomDetEnumerators::CSC, GeomDetEnumerators::DT, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.

00016                                                      {
00017   if ( m == PixelBarrel ) return s << "PixelBarrel";
00018   else if ( m == PixelEndcap ) return s << "PixelEndcap";
00019   else if ( m == TIB) return s << "TIB";
00020   else if (m == TOB) return s << "TOB";
00021   else if (m == TID) return s << "TID";
00022   else if (m == TEC) return s << "TEC";
00023   else if ( m == DT ) return s << "DT";
00024   else if ( m == CSC ) return s << "CSC";
00025   else if ( m == RPCBarrel ) return s << "RPCBarrel";
00026   else if ( m == RPCEndcap ) return s << "RPCEndcap";
00027   else return s << "?";
00028 }

std::ostream& operator<< ( std::ostream &  s,
Location  l 
)

Definition at line 11 of file GeomDetEnumerators.cc.

References GeomDetEnumerators::barrel.

00011                                                    {
00012   if (l == barrel) return s << "barrel";
00013   else return s << "endcap";
00014 }


Generated on Tue Jun 9 17:53:36 2009 for CMSSW by  doxygen 1.5.4