00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00014
00015 #ifndef STRIPEND_H
00016 #define STRIPEND_H
00017
00018 #ifndef ROOT_Rtypes
00019 #if !defined(__CINT__) || defined(__MAKECINT__)
00020 #include "Rtypes.h"
00021 #endif
00022 #endif
00023
00024 #ifndef DETECTOR_H
00025 #include "Conventions/Detector.h"
00026 #endif
00027 #ifndef PLANEVIEW_H
00028 #include "Conventions/PlaneView.h"
00029 #endif
00030
00031
00032 namespace StripEnd {
00033
00034 typedef enum EStripEnd {
00035 kUnknown = 0x00,
00036 kNegative = 0x01,
00037 kPositive = 0x02,
00038 kEast = kNegative,
00039 kWest = kPositive,
00040 kUp = kNegative,
00041 kDown = kPositive,
00042 kNorth = kNegative,
00043 kSouth = kPositive,
00044 kWhole = 0x03
00045 } StripEnd_t;
00046
00047
00048
00049 const Char_t* AsString(StripEnd_t direction);
00050 const Char_t* AsString(StripEnd_t dir,
00051 Detector::Detector_t det,
00052 PlaneView::PlaneView_t view);
00053 StripEnd_t CharToEnum(Char_t c);
00054
00055 }
00056
00057 #endif // STRIPEND_H