CondFormats
GEMObjects
interface
GEMMaskedStrips.h
Go to the documentation of this file.
1
#ifndef CondFormats_GEMObjects_GEMMaskedStrips_h
2
#define CondFormats_GEMObjects_GEMMaskedStrips_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
#include <vector>
6
#include <iostream>
7
8
class
GEMMaskedStrips
{
9
public
:
10
struct
MaskItem
{
11
int
rawId
;
12
int
strip
;
13
COND_SERIALIZABLE
;
14
};
15
16
GEMMaskedStrips
() {}
17
~GEMMaskedStrips
() {}
18
19
std::vector<MaskItem>
const
&
getMaskVec
()
const
{
return
maskVec_
; }
20
void
fillMaskVec
(
MaskItem
m
) {
maskVec_
.push_back(
m
); }
21
22
private
:
23
std::vector<MaskItem>
maskVec_
;
24
25
COND_SERIALIZABLE
;
26
};
27
#endif
GEMMaskedStrips::maskVec_
std::vector< MaskItem > maskVec_
Definition:
GEMMaskedStrips.h:23
GEMMaskedStrips::GEMMaskedStrips
GEMMaskedStrips()
Definition:
GEMMaskedStrips.h:16
GEMMaskedStrips::~GEMMaskedStrips
~GEMMaskedStrips()
Definition:
GEMMaskedStrips.h:17
GEMMaskedStrips::MaskItem
Definition:
GEMMaskedStrips.h:10
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:72
GEMMaskedStrips::MaskItem::strip
int strip
Definition:
GEMMaskedStrips.h:12
Serializable.h
GEMMaskedStrips::fillMaskVec
void fillMaskVec(MaskItem m)
Definition:
GEMMaskedStrips.h:20
GEMMaskedStrips::getMaskVec
std::vector< MaskItem > const & getMaskVec() const
Definition:
GEMMaskedStrips.h:19
GEMMaskedStrips::MaskItem::rawId
int rawId
Definition:
GEMMaskedStrips.h:11
GEMMaskedStrips
Definition:
GEMMaskedStrips.h:8
Generated for CMSSW Reference Manual by
1.8.16