CondFormats
PPSObjects
interface
CTPPSPixelDAQMapping.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
*
4
* Authors:
5
* F.Ferro ferro@ge.infn.it
6
*
7
****************************************************************************/
8
9
#ifndef CondFormats_PPSObjects_CTPPSPixelDAQMapping
10
#define CondFormats_PPSObjects_CTPPSPixelDAQMapping
11
12
#include "
CondFormats/Serialization/interface/Serializable.h
"
13
#include "
CondFormats/PPSObjects/interface/CTPPSPixelFramePosition.h
"
14
#include "
CondFormats/PPSObjects/interface/CTPPSPixelIndices.h
"
15
16
#include <map>
17
#include <set>
18
19
//----------------------------------------------------------------------------------------------------
20
24
class
CTPPSPixelROCInfo
{
25
public
:
27
uint32_t
iD
;
28
29
unsigned
int
roc
;
30
31
friend
std::ostream &
operator<<
(std::ostream &
s
,
const
CTPPSPixelROCInfo
&
fp
);
32
33
COND_SERIALIZABLE
;
34
};
35
36
//----------------------------------------------------------------------------------------------------
37
41
class
CTPPSPixelDAQMapping
{
42
public
:
43
std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo>
ROCMapping
;
44
45
void
insert
(
const
CTPPSPixelFramePosition
&
fp
,
const
CTPPSPixelROCInfo
&vi);
46
47
std::set<unsigned int>
fedIds
()
const
;
48
49
COND_SERIALIZABLE
;
50
};
51
52
#endif
CTPPSPixelDAQMapping::fedIds
std::set< unsigned int > fedIds() const
Definition:
CTPPSPixelDAQMapping.cc:16
CTPPSPixelDAQMapping::ROCMapping
std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > ROCMapping
Definition:
CTPPSPixelDAQMapping.h:42
CTPPSPixelFramePosition.h
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CTPPSPixelFramePosition
Definition:
CTPPSPixelFramePosition.h:27
CTPPSPixelROCInfo::iD
uint32_t iD
the symbolic id
Definition:
CTPPSPixelDAQMapping.h:31
personalPlayback.fp
fp
Definition:
personalPlayback.py:523
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
CTPPSPixelDAQMapping::insert
void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi)
Definition:
CTPPSPixelDAQMapping.cc:32
CTPPSPixelROCInfo::roc
unsigned int roc
Definition:
CTPPSPixelDAQMapping.h:33
CTPPSPixelIndices.h
Serializable.h
CTPPSPixelROCInfo::operator<<
friend std::ostream & operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp)
Definition:
CTPPSPixelDAQMapping.cc:24
CTPPSPixelDAQMapping
The mapping between FramePosition and ROCInfo.
Definition:
CTPPSPixelDAQMapping.h:40
CTPPSPixelROCInfo
Contains mappind data related to a ROC.
Definition:
CTPPSPixelDAQMapping.h:23
Generated for CMSSW Reference Manual by
1.8.16