CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibFormats/SiStripObjects/interface/SiStripFec.h

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