CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/DataFormats/SiStripCommon/interface/ConstantsForCablingSource.h

Go to the documentation of this file.
00001 // Last commit: $Id: ConstantsForCablingSource.h,v 1.3 2009/02/10 21:45:54 lowette Exp $
00002 
00003 #ifndef DataFormats_SiStripCommon_ConstantsForCablingSource_H
00004 #define DataFormats_SiStripCommon_ConstantsForCablingSource_H
00005 
00006 #include "DataFormats/SiStripCommon/interface/Constants.h"
00007 #include <string>
00008 
00015 namespace sistrip { 
00016 
00017   // ---------- Constants ---------- 
00018 
00019   static const char unknownCablingSource_[]   = "UnknownCablingSource";
00020   static const char undefinedCablingSource_[] = "UndefinedCablingSource";
00021   
00022   static const char cablingFromConns_[]   = "CablingFromConnections";
00023   static const char cablingFromDevices_[] = "CablingFromDevices";
00024   static const char cablingFromDetIds_[]  = "CablingFromDetIds";
00025 
00026   // ---------- Enumerated type ---------- 
00027   
00028   enum CablingSource { UNKNOWN_CABLING_SOURCE   = sistrip::unknown_,
00029                        UNDEFINED_CABLING_SOURCE = sistrip::invalid_,
00030                        CABLING_FROM_CONNS       = 1,
00031                        CABLING_FROM_DEVICES     = 2,
00032                        CABLING_FROM_DETIDS      = 3
00033   };
00034   
00035 }
00036 
00037 #endif // DataFormats_SiStripCommon_ConstantsForCablingSource_H
00038