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