Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:13

0001 
0002 #ifndef DataFormats_SiStripCommon_ConstantsForKeyType_H
0003 #define DataFormats_SiStripCommon_ConstantsForKeyType_H
0004 
0005 #include "DataFormats/SiStripCommon/interface/Constants.h"
0006 #include <string>
0007 
0008 /** 
0009     @file ConstantsForKeyType.h 
0010 
0011     @brief Constants and enumerated type for sistrip::KeyType
0012 */
0013 
0014 namespace sistrip {
0015 
0016   // ---------- Constants ----------
0017 
0018   static const char unknownKey_[] = "UnknownKey";
0019   static const char undefinedKey_[] = "UndefinedKey";
0020 
0021   static const char fedKey_[] = "FedKey";
0022   static const char fecKey_[] = "FecKey";
0023   static const char detKey_[] = "DetKey";
0024 
0025   // ---------- Enumerated type ----------
0026 
0027   enum KeyType {
0028     UNKNOWN_KEY = sistrip::unknown_,
0029     UNDEFINED_KEY = sistrip::invalid_,
0030     FED_KEY = 1,
0031     FEC_KEY = 2,
0032     DET_KEY = 3
0033   };
0034 
0035 }  // namespace sistrip
0036 
0037 #endif  // DataFormats_SiStripCommon_ConstantsForKeyType_H