Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalL1TriggerObject.h
Go to the documentation of this file.
1
#ifndef HcalL1TriggerObject_h
2
#define HcalL1TriggerObject_h
3
4
/*
5
\class HcalL1TriggerObject
6
\author Radek Ofierzynski
7
8
*/
9
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
12
#include <boost/cstdint.hpp>
13
14
class
HcalL1TriggerObject
15
{
16
public
:
17
HcalL1TriggerObject
():
mId
(0),
mAvrgPed
(0.),
mRespCorrGain
(0.),
mFlag
(0) {}
18
19
HcalL1TriggerObject
(
unsigned
long
fId,
float
fAvrgPed,
float
fRespCorrGain,
unsigned
long
fFlag = 0):
20
mId
(fId),
mAvrgPed
(fAvrgPed),
mRespCorrGain
(fRespCorrGain),
mFlag
(fFlag) {}
21
22
uint32_t
rawId
()
const
{
return
mId
;}
23
24
float
getPedestal
()
const
{
return
mAvrgPed
;}
25
float
getRespGain
()
const
{
return
mRespCorrGain
;}
26
uint32_t
getFlag
()
const
{
return
mFlag
;}
27
28
private
:
29
uint32_t
mId
;
30
float
mAvrgPed
;
31
float
mRespCorrGain
;
32
uint32_t
mFlag
;
33
34
35
COND_SERIALIZABLE
;
36
};
37
38
#endif
HcalL1TriggerObject::getFlag
uint32_t getFlag() const
Definition:
HcalL1TriggerObject.h:26
HcalL1TriggerObject::getPedestal
float getPedestal() const
Definition:
HcalL1TriggerObject.h:24
HcalL1TriggerObject
Definition:
HcalL1TriggerObject.h:14
HcalL1TriggerObject::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
HcalL1TriggerObject.h:35
HcalL1TriggerObject::mRespCorrGain
float mRespCorrGain
Definition:
HcalL1TriggerObject.h:31
HcalL1TriggerObject::mAvrgPed
float mAvrgPed
Definition:
HcalL1TriggerObject.h:30
HcalL1TriggerObject::getRespGain
float getRespGain() const
Definition:
HcalL1TriggerObject.h:25
HcalL1TriggerObject::mFlag
uint32_t mFlag
Definition:
HcalL1TriggerObject.h:32
HcalL1TriggerObject::rawId
uint32_t rawId() const
Definition:
HcalL1TriggerObject.h:22
HcalL1TriggerObject::HcalL1TriggerObject
HcalL1TriggerObject()
Definition:
HcalL1TriggerObject.h:17
HcalL1TriggerObject::mId
uint32_t mId
Definition:
HcalL1TriggerObject.h:29
HcalL1TriggerObject::HcalL1TriggerObject
HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag=0)
Definition:
HcalL1TriggerObject.h:19
Serializable.h
Generated for CMSSW Reference Manual by
1.8.5