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 <ostream>
6 #include <sstream>
7 #include <cstdint>
8 
15 public:
17 
18  void clear();
19  void print(std::stringstream &) const;
20 
21 public: // ----- Public member data -----
22  uint32_t nFecCrates_, nFecSlots_, nFecRings_; // FECs and rings
23  uint32_t nCcuAddrs_, nCcuChans_, nApvs_, nDcuIds_; // CCUs and modules
24  uint32_t nApvPairs0_, nApvPairsX_; // Number of APVs per module (0,unknown)
26  nApvPairs3_; // Number of APVs per module (1->3)
27  uint32_t nDetIds_, nApvPairs_; // Geometry
28  uint32_t nFedCrates_, nFedSlots_; // FED
29  uint32_t nFedIds_, nFedChans_; // FED
30  uint32_t nDcus_, nMuxes_, nPlls_, nLlds_; // Ancilliary devices
31 };
32 
34 std::ostream &operator<<(std::ostream &, const NumberOfDevices &);
35 
36 #endif // CalibTracker_SiStripObjects_NumberOfDevices_H
NumberOfDevices::nApvs_
uint32_t nApvs_
Definition: NumberOfDevices.h:23
operator<<
std::ostream & operator<<(std::ostream &, const NumberOfDevices &)
Definition: NumberOfDevices.cc:61
NumberOfDevices::nPlls_
uint32_t nPlls_
Definition: NumberOfDevices.h:30
NumberOfDevices::nFedChans_
uint32_t nFedChans_
Definition: NumberOfDevices.h:29
NumberOfDevices::print
void print(std::stringstream &) const
Definition: NumberOfDevices.cc:34
NumberOfDevices::nFecRings_
uint32_t nFecRings_
Definition: NumberOfDevices.h:22
NumberOfDevices::nDcuIds_
uint32_t nDcuIds_
Definition: NumberOfDevices.h:23
NumberOfDevices::nFedSlots_
uint32_t nFedSlots_
Definition: NumberOfDevices.h:28
NumberOfDevices
Simple container class for counting devices.
Definition: NumberOfDevices.h:14
NumberOfDevices::nDetIds_
uint32_t nDetIds_
Definition: NumberOfDevices.h:27
NumberOfDevices::nDcus_
uint32_t nDcus_
Definition: NumberOfDevices.h:30
NumberOfDevices::nApvPairs_
uint32_t nApvPairs_
Definition: NumberOfDevices.h:27
NumberOfDevices::nFedIds_
uint32_t nFedIds_
Definition: NumberOfDevices.h:29
NumberOfDevices::clear
void clear()
Definition: NumberOfDevices.cc:7
NumberOfDevices::nFedCrates_
uint32_t nFedCrates_
Definition: NumberOfDevices.h:28
NumberOfDevices::nApvPairs1_
uint32_t nApvPairs1_
Definition: NumberOfDevices.h:25
NumberOfDevices::nFecCrates_
uint32_t nFecCrates_
Definition: NumberOfDevices.h:22
NumberOfDevices::nApvPairsX_
uint32_t nApvPairsX_
Definition: NumberOfDevices.h:24
NumberOfDevices::nApvPairs0_
uint32_t nApvPairs0_
Definition: NumberOfDevices.h:24
NumberOfDevices::nLlds_
uint32_t nLlds_
Definition: NumberOfDevices.h:30
NumberOfDevices::NumberOfDevices
NumberOfDevices()
Definition: NumberOfDevices.h:16
NumberOfDevices::nCcuAddrs_
uint32_t nCcuAddrs_
Definition: NumberOfDevices.h:23
NumberOfDevices::nCcuChans_
uint32_t nCcuChans_
Definition: NumberOfDevices.h:23
NumberOfDevices::nFecSlots_
uint32_t nFecSlots_
Definition: NumberOfDevices.h:22
NumberOfDevices::nApvPairs2_
uint32_t nApvPairs2_
Definition: NumberOfDevices.h:25
NumberOfDevices::nMuxes_
uint32_t nMuxes_
Definition: NumberOfDevices.h:30
NumberOfDevices::nApvPairs3_
uint32_t nApvPairs3_
Definition: NumberOfDevices.h:25