Main Page
Namespaces
Classes
Package Documentation
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
,
16
elem55
,
elem56
,
elem57
,
elem66
,
elem67
,
elem77
;
17
18
COND_SERIALIZABLE
;
19
};
20
int
factor_noise
;
21
22
enum
factors
{
FNOISE
=1000};
23
24
typedef
std::vector<Item>
NoiseMatrixContainer
;
25
NoiseMatrixContainer
matrix
;
26
27
const
Item
&
item
(
int
index
)
const
{
return
matrix[
index
]; }
28
int
scale
()
const
{
return
factor_noise
; }
29
30
COND_SERIALIZABLE
;
31
};
32
33
std::ostream &
operator<<
(std::ostream & os,
const
CSCDBNoiseMatrix
& cscdb);
34
35
#endif
CSCDBNoiseMatrix::Item::elem77
short int elem77
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::factors
factors
Definition:
CSCDBNoiseMatrix.h:22
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:22
CSCDBNoiseMatrix::NoiseMatrixContainer
std::vector< Item > NoiseMatrixContainer
Definition:
CSCDBNoiseMatrix.h:24
CSCDBNoiseMatrix::Item
Definition:
CSCDBNoiseMatrix.h:14
CSCDBNoiseMatrix::scale
int scale() const
Definition:
CSCDBNoiseMatrix.h:28
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:36
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:20
CSCDBNoiseMatrix::CSCDBNoiseMatrix
CSCDBNoiseMatrix()
Definition:
CSCDBNoiseMatrix.h:11
CSCDBNoiseMatrix::Item::elem33
short int elem33
Definition:
CSCDBNoiseMatrix.h:15
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:38
CSCDBNoiseMatrix::Item::elem46
short int elem46
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::item
const Item & item(int index) const
Definition:
CSCDBNoiseMatrix.h:27
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:25
Serializable.h
CSCDBNoiseMatrix::Item::elem56
short int elem56
Definition:
CSCDBNoiseMatrix.h:15
CSCDBNoiseMatrix::Item::elem67
short int elem67
Definition:
CSCDBNoiseMatrix.h:15
Generated for CMSSW Reference Manual by
1.8.11