CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CalibFormats/SiStripObjects/interface/NumberOfDevices.h

Go to the documentation of this file.
00001 // Last commit: $Id: NumberOfDevices.h,v 1.6 2007/12/19 17:51:53 bainbrid Exp $
00002 
00003 #ifndef CalibFormats_SiStripObjects_NumberOfDevices_H
00004 #define CalibFormats_SiStripObjects_NumberOfDevices_H
00005 
00006 #include <boost/cstdint.hpp>
00007 #include <ostream>
00008 #include <sstream>
00009 
00015 class NumberOfDevices {
00016   
00017  public:
00018   
00019   NumberOfDevices() { clear(); }
00020   
00021   void clear();
00022   void print( std::stringstream& ) const;
00023   
00024  public: // ----- Public member data -----
00025   
00026   uint32_t nFecCrates_, nFecSlots_, nFecRings_;      // FECs and rings
00027   uint32_t nCcuAddrs_, nCcuChans_, nApvs_, nDcuIds_; // CCUs and modules
00028   uint32_t nApvPairs0_, nApvPairsX_;                 // Number of APVs per module (0,unknown)
00029   uint32_t nApvPairs1_, nApvPairs2_, nApvPairs3_;    // Number of APVs per module (1->3)
00030   uint32_t nDetIds_, nApvPairs_;                     // Geometry
00031   uint32_t nFedCrates_, nFedSlots_;                  // FED
00032   uint32_t nFedIds_, nFedChans_;                     // FED
00033   uint32_t nDcus_, nMuxes_, nPlls_, nLlds_;          // Ancilliary devices
00034 
00035 }; 
00036 
00038 std::ostream& operator<< ( std::ostream&, const NumberOfDevices& );
00039 
00040 #endif // CalibTracker_SiStripObjects_NumberOfDevices_H