Go to the documentation of this file.00001 #ifndef _COMMONDETUNIT_GEOMDETENUMERATORS_H_
00002 #define _COMMONDETUNIT_GEOMDETENUMERATORS_H_
00003
00004 #include "FWCore/Utilities/interface/GCC11Compatibility.h"
00005 #include <iosfwd>
00006
00009 namespace GeomDetEnumerators {
00010 enum Location {barrel, endcap, invalidLoc};
00011 enum SubDetector {PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap, GEM, invalidDet};
00012
00013 constexpr unsigned int subDetId[12]={1,2,3,5,4,6, 0,0,0,0,0, 0};
00014
00015 constexpr SubDetector tkDetEnum[8]={invalidDet, PixelBarrel, PixelEndcap, TIB, TID, TOB, TEC, invalidDet};
00016
00017 }
00018
00019
00020
00021
00022 std::ostream& operator<<( std::ostream& s, GeomDetEnumerators::Location l);
00023 std::ostream& operator<<( std::ostream& s, GeomDetEnumerators::SubDetector m);
00024
00025
00026 #endif