CMS 3D CMS Logo

SiStripCcu.h
Go to the documentation of this file.
1 
2 #ifndef CalibFormats_SiStripObjects_SiStripCcu_H
3 #define CalibFormats_SiStripObjects_SiStripCcu_H
4 
7 #include <boost/cstdint.hpp>
8 #include <vector>
9 
14 class SiStripCcu {
15 public:
17  SiStripCcu(const FedChannelConnection &conn);
18 
20  ~SiStripCcu() { ; }
21 
23  inline const std::vector<SiStripModule> &modules() const;
24  inline std::vector<SiStripModule> &modules();
25 
27  inline const uint16_t &ccuAddr() const;
28 
30  void addDevices(const FedChannelConnection &conn);
31 
32 private:
34  SiStripCcu() { ; }
35 
37  uint16_t ccuAddr_;
38 
40  std::vector<SiStripModule> modules_;
41 };
42 
43 // ---------- inline methods ----------
44 
45 const std::vector<SiStripModule> &SiStripCcu::modules() const { return modules_; }
46 std::vector<SiStripModule> &SiStripCcu::modules() { return modules_; }
47 const uint16_t &SiStripCcu::ccuAddr() const { return ccuAddr_; }
48 
49 #endif // CalibTracker_SiStripObjects_SiStripCcu_H
const std::vector< SiStripModule > & modules() const
Definition: SiStripCcu.h:45
uint16_t ccuAddr_
Definition: SiStripCcu.h:37
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & ccuAddr() const
Definition: SiStripCcu.h:47
void addDevices(const FedChannelConnection &conn)
Definition: SiStripCcu.cc:14
std::vector< SiStripModule > modules_
Definition: SiStripCcu.h:40