Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalDcsValue.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
#ifndef HcalDcsValue_h
3
#define HcalDcsValue_h
4
5
#include "
CondFormats/Serialization/interface/Serializable.h
"
6
7
#include <stdint.h>
8
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
9
10
class
HcalDcsValue
{
11
public
:
12
13
HcalDcsValue
();
14
HcalDcsValue
(uint32_t
fid
,
int
ls
,
float
val,
float
upper
,
15
float
lower);
16
HcalDcsValue
(
HcalDcsValue
const
& other);
17
18
virtual
~HcalDcsValue
();
19
20
uint32_t
DcsId
()
const
{
return
mId
; }
21
int
LS
()
const
{
return
mLS
; }
22
float
getValue
()
const
{
return
mValue
;}
23
float
getUpperLimit
()
const
{
return
mUpperLimit
; }
24
float
getLowerLimit
()
const
{
return
mLowerLimit
; }
25
bool
isValueGood
()
const
{
26
return
((
mValue
<=
mUpperLimit
) && (
mValue
>=
mLowerLimit
));
27
}
28
29
HcalOtherSubdetector
getSubdetector
()
const
;
30
31
bool
operator <
(
HcalDcsValue
const
& rhs)
const
{
32
if
(
mId
== rhs.
mId
)
return
(
mLS
< rhs.
mLS
);
33
return
(
mId
< rhs.
mId
);
34
}
35
36
private
:
37
uint32_t
mId
;
38
int
mLS
;
39
float
mValue
;
40
float
mUpperLimit
;
41
float
mLowerLimit
;
42
43
COND_SERIALIZABLE
;
44
};
45
46
#endif
HcalDcsValue::getUpperLimit
float getUpperLimit() const
Definition:
HcalDcsValue.h:23
HcalDcsValue::getLowerLimit
float getLowerLimit() const
Definition:
HcalDcsValue.h:24
HcalDcsValue::mUpperLimit
float mUpperLimit
Definition:
HcalDcsValue.h:40
HcalDcsValue::isValueGood
bool isValueGood() const
Definition:
HcalDcsValue.h:25
HcalDcsValue::operator<
bool operator<(HcalDcsValue const &rhs) const
Definition:
HcalDcsValue.h:31
HcalDcsValue::getSubdetector
HcalOtherSubdetector getSubdetector() const
Definition:
HcalDcsValue.cc:21
HcalDcsValue::DcsId
uint32_t DcsId() const
Definition:
HcalDcsValue.h:20
HcalDcsValue::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
HcalDcsValue.h:43
HcalSubdetector.h
HcalDcsValue
Definition:
HcalDcsValue.h:10
HcalDcsValue::HcalDcsValue
HcalDcsValue()
Definition:
HcalDcsValue.cc:4
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:32
HcalDcsValue::mLS
int mLS
Definition:
HcalDcsValue.h:38
HcalDcsValue::LS
int LS() const
Definition:
HcalDcsValue.h:21
HcalDcsValue::mId
uint32_t mId
Definition:
HcalDcsValue.h:37
HcalDcsValue::mValue
float mValue
Definition:
HcalDcsValue.h:39
pileupCalc.upper
upper
Definition:
pileupCalc.py:238
HcalDcsValue::~HcalDcsValue
virtual ~HcalDcsValue()
Definition:
HcalDcsValue.cc:18
Serializable.h
NewTree.fid
list fid
Definition:
NewTree.py:51
HcalDcsValue::getValue
float getValue() const
Definition:
HcalDcsValue.h:22
HcalDcsValue::mLowerLimit
float mLowerLimit
Definition:
HcalDcsValue.h:41
python.rootplot.utilities.ls
def ls
Definition:
utilities.py:408
Generated for CMSSW Reference Manual by
1.8.5