CMS 3D CMS Logo

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