CondFormats
CSCObjects
interface
CSCDBNoiseMatrix.h
Go to the documentation of this file.
1
#ifndef CSCDBNoiseMatrix_h
2
#define CSCDBNoiseMatrix_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <iosfwd>
7
#include <vector>
8
9
class
CSCDBNoiseMatrix
{
10
public
:
11
CSCDBNoiseMatrix
() {}
12
~CSCDBNoiseMatrix
() {}
13
14
struct
Item
{
15
short
int
elem33
,
elem34
,
elem35
,
elem44
,
elem45
,
elem46
,
elem55
,
elem56
,
elem57
,
elem66
,
elem67
,
elem77
;
16
17
COND_SERIALIZABLE
;
18
};
19
int
factor_noise
;
20
21
enum
factors
{
FNOISE
= 1000 };
22
23
typedef
std::vector<Item>
NoiseMatrixContainer
;
24
NoiseMatrixContainer
matrix
;
25
26
const
Item
&
item
(
int
index
)
const
{
return
matrix
[
index
]; }
27
int
scale
()
const
{
return
factor_noise
; }
28
29
COND_SERIALIZABLE
;
30
};
31
32
std::ostream&
operator<<
(std::ostream& os,
const
CSCDBNoiseMatrix
& cscdb);
33
34
#endif
CSCDBNoiseMatrix::Item::elem77
short int elem77
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::factors
factors
Definition:
CSCDBNoiseMatrix.h:21
CSCDBNoiseMatrix::Item::elem34
short int elem34
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::~CSCDBNoiseMatrix
~CSCDBNoiseMatrix()
Definition:
CSCDBNoiseMatrix.h:12
CSCDBNoiseMatrix::Item::elem55
short int elem55
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::FNOISE
Definition:
CSCDBNoiseMatrix.h:21
CSCDBNoiseMatrix::NoiseMatrixContainer
std::vector< Item > NoiseMatrixContainer
Definition:
CSCDBNoiseMatrix.h:23
CSCDBNoiseMatrix::Item
Definition:
CSCDBNoiseMatrix.h:14
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:59
CSCDBNoiseMatrix::Item::elem45
short int elem45
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix
Definition:
CSCDBNoiseMatrix.h:9
operator<<
std::ostream & operator<<(std::ostream &os, const CSCDBNoiseMatrix &cscdb)
Definition:
CSCDBNoiseMatrix.cc:4
CSCDBNoiseMatrix::factor_noise
int factor_noise
Definition:
CSCDBNoiseMatrix.h:19
CSCDBNoiseMatrix::CSCDBNoiseMatrix
CSCDBNoiseMatrix()
Definition:
CSCDBNoiseMatrix.h:11
CSCDBNoiseMatrix::Item::elem33
short int elem33
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::scale
int scale() const
Definition:
CSCDBNoiseMatrix.h:27
CSCDBNoiseMatrix::Item::elem57
short int elem57
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::Item::elem66
short int elem66
Definition:
CSCDBNoiseMatrix.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CSCDBNoiseMatrix::Item::elem46
short int elem46
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::Item::elem35
short int elem35
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::Item::elem44
short int elem44
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::matrix
NoiseMatrixContainer matrix
Definition:
CSCDBNoiseMatrix.h:24
Serializable.h
CSCDBNoiseMatrix::Item::elem56
short int elem56
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::Item::elem67
short int elem67
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::item
const Item & item(int index) const
Definition:
CSCDBNoiseMatrix.h:26
Generated for CMSSW Reference Manual by
1.8.14