CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/SiStripCommon/interface/ConstantsForKeyType.h

Go to the documentation of this file.
00001 // Last commit: $Id: ConstantsForKeyType.h,v 1.3 2009/02/10 21:45:54 lowette Exp $
00002 
00003 #ifndef DataFormats_SiStripCommon_ConstantsForKeyType_H
00004 #define DataFormats_SiStripCommon_ConstantsForKeyType_H
00005 
00006 #include "DataFormats/SiStripCommon/interface/Constants.h"
00007 #include <string>
00008 
00015 namespace sistrip { 
00016   
00017   // ---------- Constants ---------- 
00018 
00019   static const char unknownKey_[]   = "UnknownKey";
00020   static const char undefinedKey_[] = "UndefinedKey";
00021 
00022   static const char fedKey_[] = "FedKey";
00023   static const char fecKey_[] = "FecKey";
00024   static const char detKey_[] = "DetKey";
00025 
00026   // ---------- Enumerated type ---------- 
00027 
00028   enum KeyType { UNKNOWN_KEY   = sistrip::unknown_,  
00029                  UNDEFINED_KEY = sistrip::invalid_,  
00030                  FED_KEY       = 1, 
00031                  FEC_KEY       = 2, 
00032                  DET_KEY       = 3 
00033   };
00034   
00035 }
00036 
00037 #endif // DataFormats_SiStripCommon_ConstantsForKeyType_H
00038 
00039