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 <vector>
8 #include <cstdint>
9 
14 class SiStripCcu {
15 public:
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 
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 uint16_t & ccuAddr() const
Definition: SiStripCcu.h:47
uint16_t ccuAddr_
Definition: SiStripCcu.h:37
Class containning control, module, detector and connection information, at the level of a FED channel...
const std::vector< SiStripModule > & modules() const
Definition: SiStripCcu.h:45
void addDevices(const FedChannelConnection &conn)
Definition: SiStripCcu.cc:14
std::vector< SiStripModule > modules_
Definition: SiStripCcu.h:40