CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/CondFormats/SiPixelObjects/interface/PixelDCSObject.h

Go to the documentation of this file.
00001 #ifndef CondFormats_SiPixelObjects_PixelDCSObject_h
00002 #define CondFormats_SiPixelObjects_PixelDCSObject_h
00003 
00016 #include <string>
00017 #include <vector>
00018 
00019 template <class T>
00020 struct PixelDCSObject
00021 {
00022   typedef T Type;
00023 
00024   struct Item
00025   {
00026     std::string name; // name of detector element
00027 
00028     Type value;
00029   };
00030 
00031   std::vector<Item> items;
00032 };
00033 
00034 struct CaenChannel
00035 {
00036   bool isOn;  // true if channel is on
00037   float iMon; // current value
00038   float vMon; // voltage value
00039 };
00040 
00041 #endif