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 <stdint.h>
6
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
7
8
class
HcalDcsValue
{
9
public
:
10
11
HcalDcsValue
();
12
HcalDcsValue
(uint32_t
fid
,
int
ls
,
float
val,
float
upper
,
13
float
lower);
14
HcalDcsValue
(
HcalDcsValue
const
& other);
15
16
virtual
~HcalDcsValue
();
17
18
uint32_t
DcsId
()
const
{
return
mId
; }
19
int
LS
()
const
{
return
mLS
; }
20
float
getValue
()
const
{
return
mValue
;}
21
float
getUpperLimit
()
const
{
return
mUpperLimit
; }
22
float
getLowerLimit
()
const
{
return
mLowerLimit
; }
23
bool
isValueGood
()
const
{
24
return
((
mValue
<=
mUpperLimit
) && (
mValue
>=
mLowerLimit
));
25
}
26
27
HcalOtherSubdetector
getSubdetector
()
const
;
28
29
bool
operator <
(
HcalDcsValue
const
& rhs)
const
{
30
if
(
mId
== rhs.
mId
)
return
(
mLS
< rhs.
mLS
);
31
return
(
mId
< rhs.
mId
);
32
}
33
34
private
:
35
uint32_t
mId
;
36
int
mLS
;
37
float
mValue
;
38
float
mUpperLimit
;
39
float
mLowerLimit
;
40
};
41
42
#endif
HcalDcsValue::getUpperLimit
float getUpperLimit() const
Definition:
HcalDcsValue.h:21
HcalDcsValue::getLowerLimit
float getLowerLimit() const
Definition:
HcalDcsValue.h:22
HcalDcsValue::mUpperLimit
float mUpperLimit
Definition:
HcalDcsValue.h:38
HcalDcsValue::isValueGood
bool isValueGood() const
Definition:
HcalDcsValue.h:23
HcalDcsValue::operator<
bool operator<(HcalDcsValue const &rhs) const
Definition:
HcalDcsValue.h:29
HcalDcsValue::getSubdetector
HcalOtherSubdetector getSubdetector() const
Definition:
HcalDcsValue.cc:21
HcalDcsValue::DcsId
uint32_t DcsId() const
Definition:
HcalDcsValue.h:18
HcalSubdetector.h
HcalDcsValue
Definition:
HcalDcsValue.h:8
HcalDcsValue::HcalDcsValue
HcalDcsValue()
Definition:
HcalDcsValue.cc:4
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:33
HcalDcsValue::mLS
int mLS
Definition:
HcalDcsValue.h:36
HcalDcsValue::LS
int LS() const
Definition:
HcalDcsValue.h:19
HcalDcsValue::mId
uint32_t mId
Definition:
HcalDcsValue.h:35
HcalDcsValue::mValue
float mValue
Definition:
HcalDcsValue.h:37
pileupCalc.upper
upper
Definition:
pileupCalc.py:238
HcalDcsValue::~HcalDcsValue
virtual ~HcalDcsValue()
Definition:
HcalDcsValue.cc:18
NewTree.fid
list fid
Definition:
NewTree.py:51
HcalDcsValue::getValue
float getValue() const
Definition:
HcalDcsValue.h:20
HcalDcsValue::mLowerLimit
float mLowerLimit
Definition:
HcalDcsValue.h:39
python.rootplot.utilities.ls
def ls
Definition:
utilities.py:408
Generated for CMSSW Reference Manual by
1.8.5