CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/CalibFormats/SiStripObjects/interface/SiStripFecCrate.h

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