CondFormats
HcalObjects
interface
HcalCalibrationQIEData.h
Go to the documentation of this file.
1
#ifndef HcalCalibrationQIEData_h
2
#define HcalCalibrationQIEData_h
3
12
#include "
CondFormats/Serialization/interface/Serializable.h
"
13
14
#include <vector>
15
#include <algorithm>
16
17
#include "
CondFormats/HcalObjects/interface/HcalCondObjectContainer.h
"
18
19
#include "
CondFormats/HcalObjects/interface/HcalCalibrationQIECoder.h
"
20
#include "
DataFormats/DetId/interface/DetId.h
"
21
22
class
HcalCalibrationQIEData
:
public
HcalCondObjectContainer
<HcalCalibrationQIECoder> {
23
public
:
24
HcalCalibrationQIEData
(
const
HcalTopology
* ht) :
HcalCondObjectContainer
<
HcalCalibrationQIECoder
>(ht) {}
26
const
HcalCalibrationQIECoder
*
getCoder
(
DetId
fId)
const
{
return
getValues
(fId); }
27
// check if data are sorted
28
bool
sorted
()
const
{
return
true
; }
29
// fill values [capid][range]
30
bool
addCoder
(
const
HcalCalibrationQIECoder
& fCoder) {
return
addValues
(fCoder); }
31
// sort values by channelId
32
void
sort
() {}
33
34
COND_SERIALIZABLE
;
35
};
36
37
#endif
HcalCalibrationQIECoder
Definition:
HcalCalibrationQIECoder.h:17
HcalTopology
Definition:
HcalTopology.h:26
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalCalibrationQIECoder.h
HcalCondObjectContainer< HcalCalibrationQIECoder >::getValues
const HcalCalibrationQIECoder * getValues(DetId fId, bool throwOnFail=true) const
Definition:
HcalCondObjectContainer.h:159
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:55
DetId
Definition:
DetId.h:17
HcalCalibrationQIEData::addCoder
bool addCoder(const HcalCalibrationQIECoder &fCoder)
Definition:
HcalCalibrationQIEData.h:30
HcalCalibrationQIEData::HcalCalibrationQIEData
HcalCalibrationQIEData(const HcalTopology *ht)
Definition:
HcalCalibrationQIEData.h:24
Serializable.h
HcalCalibrationQIEData::getCoder
const HcalCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
Definition:
HcalCalibrationQIEData.h:26
HcalCalibrationQIEData::sorted
bool sorted() const
Definition:
HcalCalibrationQIEData.h:28
HcalCondObjectContainer.h
HcalCalibrationQIEData
Definition:
HcalCalibrationQIEData.h:22
HcalCalibrationQIEData::sort
void sort()
Definition:
HcalCalibrationQIEData.h:32
DetId.h
HcalCondObjectContainer< HcalCalibrationQIECoder >::addValues
bool addValues(const HcalCalibrationQIECoder &myItem)
Definition:
HcalCondObjectContainer.h:234
Generated for CMSSW Reference Manual by
1.8.16