Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 <cstdint>
8
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
9
10
class
HcalDcsValue
{
11
public
:
12
HcalDcsValue
();
13
HcalDcsValue
(uint32_t fid,
int
ls
,
float
val
,
float
upper,
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
{
return
((
mValue
<=
mUpperLimit
) && (
mValue
>=
mLowerLimit
)); }
24
25
HcalOtherSubdetector
getSubdetector
()
const
;
26
27
bool
operator<
(
HcalDcsValue
const
& rhs)
const
{
28
if
(
mId
== rhs.
mId
)
29
return
(
mLS
< rhs.
mLS
);
30
return
(
mId
< rhs.
mId
);
31
}
32
33
private
:
34
uint32_t
mId
;
35
int
mLS
;
36
float
mValue
;
37
float
mUpperLimit
;
38
float
mLowerLimit
;
39
40
COND_SERIALIZABLE
;
41
};
42
43
#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:37
HcalDcsValue::isValueGood
bool isValueGood() const
Definition:
HcalDcsValue.h:23
HcalDcsValue::operator<
bool operator<(HcalDcsValue const &rhs) const
Definition:
HcalDcsValue.h:27
HcalDcsValue::getSubdetector
HcalOtherSubdetector getSubdetector() const
Definition:
HcalDcsValue.cc:18
HcalDcsValue::DcsId
uint32_t DcsId() const
Definition:
HcalDcsValue.h:18
HcalSubdetector.h
eostools.ls
def ls
Definition:
eostools.py:349
hgcalPerformanceValidation.val
tuple val
Definition:
hgcalPerformanceValidation.py:364
HcalDcsValue
Definition:
HcalDcsValue.h:10
HcalDcsValue::HcalDcsValue
HcalDcsValue()
Definition:
HcalDcsValue.cc:4
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:40
HcalDcsValue::mLS
int mLS
Definition:
HcalDcsValue.h:35
HcalDcsValue::LS
int LS() const
Definition:
HcalDcsValue.h:19
HcalDcsValue::mId
uint32_t mId
Definition:
HcalDcsValue.h:34
HcalDcsValue::mValue
float mValue
Definition:
HcalDcsValue.h:36
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalDcsValue::~HcalDcsValue
virtual ~HcalDcsValue()
Definition:
HcalDcsValue.cc:16
Serializable.h
HcalDcsValue::getValue
float getValue() const
Definition:
HcalDcsValue.h:20
HcalDcsValue::mLowerLimit
float mLowerLimit
Definition:
HcalDcsValue.h:38
Generated for CMSSW Reference Manual by
1.8.5