Main Page
Namespaces
Classes
Package Documentation
src
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
12
#include <boost/cstdint.hpp>
13
14
class
CastorRecoParam
{
15
public
:
16
CastorRecoParam
():
mId
(0),
mFirstSample
(0),
mSamplesToAdd
(0) {}
17
18
CastorRecoParam
(
unsigned
long
fId,
unsigned
int
fFirstSample,
unsigned
int
fSamplesToAdd):
19
mId
(fId),
mFirstSample
(fFirstSample),
mSamplesToAdd
(fSamplesToAdd) {}
20
21
uint32_t
rawId
()
const
{
return
mId
;}
22
23
unsigned
int
firstSample
()
const
{
return
mFirstSample
;}
24
unsigned
int
samplesToAdd
()
const
{
return
mSamplesToAdd
;}
25
26
private
:
27
uint32_t
mId
;
28
uint32_t
mFirstSample
;
29
uint32_t
mSamplesToAdd
;
30
31
COND_SERIALIZABLE
;
32
};
33
34
#endif
CastorRecoParam::CastorRecoParam
CastorRecoParam()
Definition:
CastorRecoParam.h:16
CastorRecoParam
Definition:
CastorRecoParam.h:14
CastorRecoParam::CastorRecoParam
CastorRecoParam(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
Definition:
CastorRecoParam.h:18
CastorRecoParam::samplesToAdd
unsigned int samplesToAdd() const
Definition:
CastorRecoParam.h:24
CastorRecoParam::mSamplesToAdd
uint32_t mSamplesToAdd
Definition:
CastorRecoParam.h:29
CastorRecoParam::firstSample
unsigned int firstSample() const
Definition:
CastorRecoParam.h:23
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
Serializable.h
CastorRecoParam::mFirstSample
uint32_t mFirstSample
Definition:
CastorRecoParam.h:28
CastorRecoParam::mId
uint32_t mId
Definition:
CastorRecoParam.h:27
CastorRecoParam::rawId
uint32_t rawId() const
Definition:
CastorRecoParam.h:21
Generated for CMSSW Reference Manual by
1.8.11