CondFormats
CastorObjects
interface
CastorRecoParam.h
Go to the documentation of this file.
1
#ifndef CastorRecoParam_h
2
#define CastorRecoParam_h
3
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
#include <cstdint>
12
13
class
CastorRecoParam
{
14
public
:
15
CastorRecoParam
() :
mId
(0),
mFirstSample
(0),
mSamplesToAdd
(0) {}
16
17
CastorRecoParam
(
unsigned
long
fId,
unsigned
int
fFirstSample,
unsigned
int
fSamplesToAdd)
18
:
mId
(fId),
mFirstSample
(fFirstSample),
mSamplesToAdd
(fSamplesToAdd) {}
19
20
uint32_t
rawId
()
const
{
return
mId
; }
21
22
unsigned
int
firstSample
()
const
{
return
mFirstSample
; }
23
unsigned
int
samplesToAdd
()
const
{
return
mSamplesToAdd
; }
24
25
private
:
26
uint32_t
mId
;
27
uint32_t
mFirstSample
;
28
uint32_t
mSamplesToAdd
;
29
30
COND_SERIALIZABLE
;
31
};
32
33
#endif
CastorRecoParam::mSamplesToAdd
uint32_t mSamplesToAdd
Definition:
CastorRecoParam.h:28
CastorRecoParam::CastorRecoParam
CastorRecoParam()
Definition:
CastorRecoParam.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CastorRecoParam
Definition:
CastorRecoParam.h:13
CastorRecoParam::mId
uint32_t mId
Definition:
CastorRecoParam.h:26
Serializable.h
CastorRecoParam::mFirstSample
uint32_t mFirstSample
Definition:
CastorRecoParam.h:27
CastorRecoParam::firstSample
unsigned int firstSample() const
Definition:
CastorRecoParam.h:22
CastorRecoParam::rawId
uint32_t rawId() const
Definition:
CastorRecoParam.h:20
CastorRecoParam::CastorRecoParam
CastorRecoParam(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
Definition:
CastorRecoParam.h:17
CastorRecoParam::samplesToAdd
unsigned int samplesToAdd() const
Definition:
CastorRecoParam.h:23
Generated for CMSSW Reference Manual by
1.8.16