CMS 3D CMS Logo

NumberOfDevices.h
Go to the documentation of this file.
1 
2 #ifndef CalibFormats_SiStripObjects_NumberOfDevices_H
3 #define CalibFormats_SiStripObjects_NumberOfDevices_H
4 
5 #include <boost/cstdint.hpp>
6 #include <ostream>
7 #include <sstream>
8 
15 
16  public:
17 
19 
20  void clear();
21  void print( std::stringstream& ) const;
22 
23  public: // ----- Public member data -----
24 
25  uint32_t nFecCrates_, nFecSlots_, nFecRings_; // FECs and rings
26  uint32_t nCcuAddrs_, nCcuChans_, nApvs_, nDcuIds_; // CCUs and modules
27  uint32_t nApvPairs0_, nApvPairsX_; // Number of APVs per module (0,unknown)
28  uint32_t nApvPairs1_, nApvPairs2_, nApvPairs3_; // Number of APVs per module (1->3)
29  uint32_t nDetIds_, nApvPairs_; // Geometry
30  uint32_t nFedCrates_, nFedSlots_; // FED
31  uint32_t nFedIds_, nFedChans_; // FED
32  uint32_t nDcus_, nMuxes_, nPlls_, nLlds_; // Ancilliary devices
33 
34 };
35 
37 std::ostream& operator<< ( std::ostream&, const NumberOfDevices& );
38 
39 #endif // CalibTracker_SiStripObjects_NumberOfDevices_H
void print(std::stringstream &) const
uint32_t nFecCrates_
std::ostream & operator<<(std::ostream &, const NumberOfDevices &)
uint32_t nApvPairs3_
uint32_t nApvPairsX_
uint32_t nApvPairs0_
Simple container class for counting devices.
uint32_t nApvPairs2_
uint32_t nApvPairs1_
uint32_t nFedCrates_