#include <iosfwd>
#include <ostream>
Go to the source code of this file.
Namespaces | |
namespace | GeomDetEnumerators |
Enumerations | |
enum | GeomDetEnumerators::Location { GeomDetEnumerators::barrel, GeomDetEnumerators::endcap } |
enum | GeomDetEnumerators::SubDetector { GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GeomDetEnumerators::TIB, GeomDetEnumerators::TOB, GeomDetEnumerators::TID, GeomDetEnumerators::TEC, GeomDetEnumerators::CSC, GeomDetEnumerators::DT, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap } |
Functions | |
std::ostream & | operator<< (std::ostream &s, GeomDetEnumerators::SubDetector m) |
std::ostream & | operator<< (std::ostream &s, GeomDetEnumerators::Location l) |
std::ostream& operator<< | ( | std::ostream & | s, | |
GeomDetEnumerators::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, | |
GeomDetEnumerators::Location | l | |||
) |