00001 // 00002 // Define Simulation Stage ID 00003 // 00004 // Zhe Wang, Nov. 24, 2010 00005 // 00006 #ifndef _STAGEID_H_ 00007 #define _STAGEID_H_ 00008 00009 namespace StageId { 00010 enum StageId_t { 00011 kUnknown = 0x00, 00012 kKinematic = 0x01, 00013 kDetector = 0x02, 00014 kElectronic = 0x03, 00015 kTrigRead = 0x04, 00016 kSingleLoader = 0x05 00017 }; 00018 00019 // Convert stage enum back and forth to string. 00020 const char* ToString(StageId_t stageid); 00021 StageId_t FromString(const char* str); 00022 } 00023 00024 #endif // _STAGEID_H_