Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:13

0001 #ifndef DataFormats_SiStripCommon_ConstantsForView_H
0002 #define DataFormats_SiStripCommon_ConstantsForView_H
0003 
0004 #include "DataFormats/SiStripCommon/interface/Constants.h"
0005 #include <string>
0006 
0007 /** 
0008     @file ConstantsForView.h
0009 
0010     @brief Constants and enumerated types for sistrip::View
0011 */
0012 
0013 namespace sistrip {
0014 
0015   // ---------- Constants ----------
0016 
0017   static const char unknownView_[] = "UnknownView";
0018   static const char undefinedView_[] = "UndefinedView";
0019 
0020   static const char readoutView_[] = "ReadoutView";
0021   static const char controlView_[] = "ControlView";
0022   static const char detectorView_[] = "DetectorView";
0023 
0024   // ---------- Enumerated type ----------
0025 
0026   enum View {
0027     UNKNOWN_VIEW = sistrip::unknown_,
0028     UNDEFINED_VIEW = sistrip::invalid_,
0029     READOUT_VIEW = 1,
0030     CONTROL_VIEW = 2,
0031     DETECTOR_VIEW = 3
0032   };
0033 
0034 }  // namespace sistrip
0035 
0036 #endif  // DataFormats_SiStripCommon_ConstantsForView_H