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