00001
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:
00025
00026 uint32_t nFecCrates_, nFecSlots_, nFecRings_;
00027 uint32_t nCcuAddrs_, nCcuChans_, nApvs_, nDcuIds_;
00028 uint32_t nApvPairs0_, nApvPairsX_;
00029 uint32_t nApvPairs1_, nApvPairs2_, nApvPairs3_;
00030 uint32_t nDetIds_, nApvPairs_;
00031 uint32_t nFedCrates_, nFedSlots_;
00032 uint32_t nFedIds_, nFedChans_;
00033 uint32_t nDcus_, nMuxes_, nPlls_, nLlds_;
00034
00035 };
00036
00038 std::ostream& operator<< ( std::ostream&, const NumberOfDevices& );
00039
00040 #endif // CalibTracker_SiStripObjects_NumberOfDevices_H