test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16  public:
17 
19  SiStripCcu( const FedChannelConnection& conn );
20 
23 
25  inline const std::vector<SiStripModule>& modules() const;
26  inline std::vector<SiStripModule>& modules();
27 
29  inline const uint16_t& ccuAddr() const;
30 
32  void addDevices( const FedChannelConnection& conn );
33 
34  private:
35 
37  SiStripCcu() {;}
38 
40  uint16_t ccuAddr_;
41 
43  std::vector<SiStripModule> modules_;
44 
45 };
46 
47 // ---------- inline methods ----------
48 
49 const std::vector<SiStripModule>& SiStripCcu::modules() const { return modules_; }
50 std::vector<SiStripModule>& SiStripCcu::modules() { return modules_; }
51 const uint16_t& SiStripCcu::ccuAddr() const { return ccuAddr_; }
52 
53 #endif // CalibTracker_SiStripObjects_SiStripCcu_H
54 
55 
const std::vector< SiStripModule > & modules() const
Definition: SiStripCcu.h:49
uint16_t ccuAddr_
Definition: SiStripCcu.h:40
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & ccuAddr() const
Definition: SiStripCcu.h:51
void addDevices(const FedChannelConnection &conn)
Definition: SiStripCcu.cc:17
std::vector< SiStripModule > modules_
Definition: SiStripCcu.h:43