00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012 #ifndef _ALT_E_STRIP_PATTERN_H_
00013 #define _ALT_E_STRIP_PATTERN_H_
00014
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020
00021 namespace AltEStripPattern
00022 {
00023
00024 typedef enum EStripPattern {
00025 eUnspecified = 0,
00026 eShowerLike = 1,
00027 eTrackLike = 2,
00028 eIsolated = 3
00029 } StripPattern_t;
00030
00031 inline const char * asString(StripPattern_t pat) {
00032 switch(pat) {
00033 case eUnspecified : return "unspecified"; break;
00034 case eShowerLike : return "strip belongs to shower-like formation"; break;
00035 case eTrackLike : return "strip belongs track-like formation"; break;
00036 case eIsolated : return "strip is fairly isolated"; break;
00037 }
00038 return "unkwown enumeration";
00039 }
00040
00041 }
00042
00043 #endif // _ALT_E_STRIP_PATTERN