CalibFormats
SiStripObjects
interface
SiStripFecCrate.h
Go to the documentation of this file.
1
2
#ifndef CalibFormats_SiStripObjects_SiStripFecCrate_H
3
#define CalibFormats_SiStripObjects_SiStripFecCrate_H
4
5
#include "
CalibFormats/SiStripObjects/interface/SiStripFec.h
"
6
#include "
CondFormats/SiStripObjects/interface/FedChannelConnection.h
"
7
#include <vector>
8
#include <cstdint>
9
14
class
SiStripFecCrate
{
15
public
:
17
SiStripFecCrate
(
const
FedChannelConnection
&
conn
);
18
20
~SiStripFecCrate
() { ; }
21
23
inline
const
std::vector<SiStripFec> &
fecs
()
const
;
24
inline
std::vector<SiStripFec> &
fecs
();
25
27
inline
const
uint16_t &
fecCrate
()
const
;
28
30
void
addDevices
(
const
FedChannelConnection
&
conn
);
31
32
private
:
34
SiStripFecCrate
() { ; }
35
37
uint16_t
fecCrate_
;
38
40
std::vector<SiStripFec>
fecs_
;
41
};
42
43
// ---------- inline methods ----------
44
45
const
std::vector<SiStripFec> &
SiStripFecCrate::fecs
()
const
{
return
fecs_
; }
46
std::vector<SiStripFec> &
SiStripFecCrate::fecs
() {
return
fecs_
; }
47
const
uint16_t &
SiStripFecCrate::fecCrate
()
const
{
return
fecCrate_
; }
48
49
#endif // CalibTracker_SiStripObjects_SiStripFecCrate_H
SiStripFec.h
SiStripCommissioningClient_cfg.conn
conn
Definition:
SiStripCommissioningClient_cfg.py:5
SiStripFecCrate
Definition:
SiStripFecCrate.h:14
SiStripFecCrate::fecCrate
const uint16_t & fecCrate() const
Definition:
SiStripFecCrate.h:47
SiStripFecCrate::addDevices
void addDevices(const FedChannelConnection &conn)
Definition:
SiStripFecCrate.cc:14
SiStripFecCrate::SiStripFecCrate
SiStripFecCrate()
Definition:
SiStripFecCrate.h:34
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition:
FedChannelConnection.h:26
FedChannelConnection.h
SiStripFecCrate::fecs
const std::vector< SiStripFec > & fecs() const
Definition:
SiStripFecCrate.h:45
SiStripFecCrate::fecCrate_
uint16_t fecCrate_
Definition:
SiStripFecCrate.h:37
SiStripFecCrate::fecs_
std::vector< SiStripFec > fecs_
Definition:
SiStripFecCrate.h:40
SiStripFecCrate::~SiStripFecCrate
~SiStripFecCrate()
Definition:
SiStripFecCrate.h:20
Generated for CMSSW Reference Manual by
1.8.16