Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondFormats
CSCObjects
interface
CSCDBChipSpeedCorrection.h
Go to the documentation of this file.
1
#ifndef CSCDBChipSpeedCorrection_h
2
#define CSCDBChipSpeedCorrection_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <iosfwd>
7
#include <vector>
8
9
class
CSCDBChipSpeedCorrection
{
10
public
:
11
CSCDBChipSpeedCorrection
(){}
12
~CSCDBChipSpeedCorrection
(){}
13
14
struct
Item
{
15
short
int
speedCorr
;
16
17
COND_SERIALIZABLE
;
18
};
19
int
factor_speedCorr
;
20
21
enum
factors
{
FCORR
=100};
22
23
typedef
std::vector<Item>
ChipSpeedContainer
;
24
ChipSpeedContainer
chipSpeedCorr
;
25
26
const
Item
&
item
(
int
index
)
const
{
return
chipSpeedCorr
[
index
]; }
27
short
int
value
(
int
index
)
const
{
return
chipSpeedCorr
[
index
].speedCorr; }
28
int
scale
()
const
{
return
factor_speedCorr
; }
29
30
COND_SERIALIZABLE
;
31
};
32
33
std::ostream &
operator<<
(std::ostream & os,
const
CSCDBChipSpeedCorrection
& cscdb);
34
35
#endif
CSCDBChipSpeedCorrection::FCORR
Definition:
CSCDBChipSpeedCorrection.h:21
CSCDBChipSpeedCorrection
Definition:
CSCDBChipSpeedCorrection.h:9
CSCDBChipSpeedCorrection::chipSpeedCorr
ChipSpeedContainer chipSpeedCorr
Definition:
CSCDBChipSpeedCorrection.h:24
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CSCDBChipSpeedCorrection::Item
Definition:
CSCDBChipSpeedCorrection.h:14
cmsHarvester.index
string index
Definition:
cmsHarvester.py:4378
CSCDBChipSpeedCorrection::factors
factors
Definition:
CSCDBChipSpeedCorrection.h:21
CSCDBChipSpeedCorrection::factor_speedCorr
int factor_speedCorr
Definition:
CSCDBChipSpeedCorrection.h:19
CSCDBChipSpeedCorrection::Item::speedCorr
short int speedCorr
Definition:
CSCDBChipSpeedCorrection.h:15
CSCDBChipSpeedCorrection::scale
int scale() const
Definition:
CSCDBChipSpeedCorrection.h:28
CSCDBChipSpeedCorrection::~CSCDBChipSpeedCorrection
~CSCDBChipSpeedCorrection()
Definition:
CSCDBChipSpeedCorrection.h:12
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:37
CSCDBChipSpeedCorrection::value
short int value(int index) const
Definition:
CSCDBChipSpeedCorrection.h:27
CSCDBChipSpeedCorrection::ChipSpeedContainer
std::vector< Item > ChipSpeedContainer
Definition:
CSCDBChipSpeedCorrection.h:23
CSCDBChipSpeedCorrection::CSCDBChipSpeedCorrection
CSCDBChipSpeedCorrection()
Definition:
CSCDBChipSpeedCorrection.h:11
CSCDBChipSpeedCorrection::item
const Item & item(int index) const
Definition:
CSCDBChipSpeedCorrection.h:26
Serializable.h
Generated for CMSSW Reference Manual by
1.8.5