CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DataFormats/SiStripCommon/interface/ConstantsForView.h

Go to the documentation of this file.
00001 #ifndef DataFormats_SiStripCommon_ConstantsForView_H
00002 #define DataFormats_SiStripCommon_ConstantsForView_H
00003 
00004 #include "DataFormats/SiStripCommon/interface/Constants.h"
00005 #include <string>
00006 
00013 namespace sistrip { 
00014 
00015   // ---------- Constants ---------- 
00016 
00017   static const char unknownView_[]   = "UnknownView";
00018   static const char undefinedView_[] = "UndefinedView";
00019   
00020   static const char readoutView_[]   = "ReadoutView";
00021   static const char controlView_[]   = "ControlView";
00022   static const char detectorView_[]  = "DetectorView";
00023   
00024   // ---------- Enumerated type ---------- 
00025 
00026   enum View { UNKNOWN_VIEW   = sistrip::unknown_, 
00027               UNDEFINED_VIEW = sistrip::invalid_, 
00028               READOUT_VIEW   = 1, 
00029               CONTROL_VIEW   = 2, 
00030               DETECTOR_VIEW  = 3 
00031   };
00032   
00033 }
00034   
00035 #endif // DataFormats_SiStripCommon_ConstantsForView_H
00036 
00037