CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CalibFormats/SiStripObjects/interface/SiStripCcu.h

Go to the documentation of this file.
00001 // Last commit: $Id: SiStripCcu.h,v 1.3 2007/03/28 09:11:51 bainbrid Exp $
00002 
00003 #ifndef CalibFormats_SiStripObjects_SiStripCcu_H
00004 #define CalibFormats_SiStripObjects_SiStripCcu_H
00005 
00006 #include "CalibFormats/SiStripObjects/interface/SiStripModule.h"
00007 #include "CondFormats/SiStripObjects/interface/FedChannelConnection.h"
00008 #include <boost/cstdint.hpp>
00009 #include <vector>
00010 
00015 class SiStripCcu {
00016   
00017  public: 
00018   
00020   SiStripCcu( const FedChannelConnection& conn );
00021   
00023   ~SiStripCcu() {;}
00024   
00026   inline const std::vector<SiStripModule>& modules() const;
00027 
00029   inline const uint16_t& ccuAddr() const;
00030 
00032   void addDevices( const FedChannelConnection& conn );
00033   
00034  private:
00035 
00037   SiStripCcu() {;}
00038 
00040   uint16_t ccuAddr_;
00041 
00043   std::vector<SiStripModule> modules_;
00044 
00045 };
00046 
00047 // ---------- inline methods ----------
00048 
00049 const std::vector<SiStripModule>& SiStripCcu::modules() const { return modules_; }
00050 const uint16_t& SiStripCcu::ccuAddr() const { return ccuAddr_; }
00051 
00052 #endif // CalibTracker_SiStripObjects_SiStripCcu_H
00053 
00054