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 <iosfwd>
5
#include <vector>
6
7
class
CSCDBPedestals
{
8
public
:
9
CSCDBPedestals
(){}
10
~CSCDBPedestals
(){}
11
12
struct
Item
{
13
short
int
ped
;
14
short
int
rms
;
15
};
16
int
factor_ped
;
17
int
factor_rms
;
18
19
enum
factors
{
FPED
=10,
FRMS
=1000};
20
21
typedef
std::vector<Item>
PedestalContainer
;
22
PedestalContainer
pedestals
;
23
24
const
Item
&
item
(
int
index
)
const
{
return
pedestals
[
index
]; }
25
short
int
pedestal
(
int
index
)
const
{
return
pedestals
[
index
].ped; }
26
int
scale_ped
()
const
{
return
factor_ped
; }
27
short
int
pedestal_rms
(
int
index
)
const
{
return
pedestals
[
index
].rms; }
28
int
scale_rms
()
const
{
return
factor_rms
; }
29
};
30
31
std::ostream &
operator<<
(std::ostream & os,
const
CSCDBPedestals
& cscdb);
32
33
#endif
CSCDBPedestals::Item
Definition:
CSCDBPedestals.h:12
CSCDBPedestals::PedestalContainer
std::vector< Item > PedestalContainer
Definition:
CSCDBPedestals.h:21
getHLTprescales.index
tuple index
Definition:
getHLTprescales.py:79
CSCDBPedestals::FPED
Definition:
CSCDBPedestals.h:19
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CSCDBPedestals::pedestal_rms
short int pedestal_rms(int index) const
Definition:
CSCDBPedestals.h:27
CSCDBPedestals::factor_rms
int factor_rms
Definition:
CSCDBPedestals.h:17
CSCDBPedestals::CSCDBPedestals
CSCDBPedestals()
Definition:
CSCDBPedestals.h:9
CSCDBPedestals::factor_ped
int factor_ped
Definition:
CSCDBPedestals.h:16
CSCDBPedestals::FRMS
Definition:
CSCDBPedestals.h:19
CSCDBPedestals::factors
factors
Definition:
CSCDBPedestals.h:19
CSCDBPedestals::Item::rms
short int rms
Definition:
CSCDBPedestals.h:14
CSCDBPedestals::scale_rms
int scale_rms() const
Definition:
CSCDBPedestals.h:28
CSCDBPedestals::Item::ped
short int ped
Definition:
CSCDBPedestals.h:13
CSCDBPedestals::item
const Item & item(int index) const
Definition:
CSCDBPedestals.h:24
CSCDBPedestals::pedestals
PedestalContainer pedestals
Definition:
CSCDBPedestals.h:22
CSCDBPedestals
Definition:
CSCDBPedestals.h:7
CSCDBPedestals::pedestal
short int pedestal(int index) const
Definition:
CSCDBPedestals.h:25
CSCDBPedestals::~CSCDBPedestals
~CSCDBPedestals()
Definition:
CSCDBPedestals.h:10
CSCDBPedestals::scale_ped
int scale_ped() const
Definition:
CSCDBPedestals.h:26
Generated for CMSSW Reference Manual by
1.8.5