CMS 3D CMS Logo

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

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