CMS 3D CMS Logo

SiStripFec.h
Go to the documentation of this file.
1 
2 #ifndef CalibFormats_SiStripObjects_SiStripFec_H
3 #define CalibFormats_SiStripObjects_SiStripFec_H
4 
7 #include <boost/cstdint.hpp>
8 #include <vector>
9 
14 class SiStripFec {
15 
16  public:
17 
19  SiStripFec( const FedChannelConnection& conn );
20 
23 
25  inline const std::vector<SiStripRing>& rings() const;
26  inline std::vector<SiStripRing>& rings();
27 
29  inline const uint16_t& fecSlot() const;
30 
32  void addDevices( const FedChannelConnection& conn );
33 
34  private:
35 
37  SiStripFec() {;}
38 
40  uint16_t fecSlot_;
41 
43  std::vector<SiStripRing> rings_;
44 
45 };
46 
47 // ---------- inline methods ----------
48 
49 const std::vector<SiStripRing>& SiStripFec::rings() const { return rings_; }
50 std::vector<SiStripRing>& SiStripFec::rings() { return rings_; }
51 const uint16_t& SiStripFec::fecSlot() const { return fecSlot_; }
52 
53 #endif // CalibTracker_SiStripObjects_SiStripFec_H
54 
55 
const std::vector< SiStripRing > & rings() const
Definition: SiStripFec.h:49
std::vector< SiStripRing > rings_
Definition: SiStripFec.h:43
void addDevices(const FedChannelConnection &conn)
Definition: SiStripFec.cc:17
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & fecSlot() const
Definition: SiStripFec.h:51
uint16_t fecSlot_
Definition: SiStripFec.h:40