CalibFormats
SiStripObjects
interface
SiStripCcu.h
Go to the documentation of this file.
1
2
#ifndef CalibFormats_SiStripObjects_SiStripCcu_H
3
#define CalibFormats_SiStripObjects_SiStripCcu_H
4
5
#include "
CalibFormats/SiStripObjects/interface/SiStripModule.h
"
6
#include "
CondFormats/SiStripObjects/interface/FedChannelConnection.h
"
7
#include <vector>
8
#include <cstdint>
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
SiStripCommissioningClient_cfg.conn
conn
Definition:
SiStripCommissioningClient_cfg.py:5
SiStripCcu::addDevices
void addDevices(const FedChannelConnection &conn)
Definition:
SiStripCcu.cc:14
SiStripModule.h
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition:
FedChannelConnection.h:26
SiStripCcu::SiStripCcu
SiStripCcu()
Definition:
SiStripCcu.h:34
SiStripCcu::modules_
std::vector< SiStripModule > modules_
Definition:
SiStripCcu.h:40
SiStripCcu
Definition:
SiStripCcu.h:14
FedChannelConnection.h
SiStripCcu::ccuAddr
const uint16_t & ccuAddr() const
Definition:
SiStripCcu.h:47
SiStripCcu::~SiStripCcu
~SiStripCcu()
Definition:
SiStripCcu.h:20
SiStripCcu::modules
const std::vector< SiStripModule > & modules() const
Definition:
SiStripCcu.h:45
SiStripCcu::ccuAddr_
uint16_t ccuAddr_
Definition:
SiStripCcu.h:37
Generated for CMSSW Reference Manual by
1.8.16