CMS 3D CMS Logo

CastorRecoParam.h
Go to the documentation of this file.
1 #ifndef CastorRecoParam_h
2 #define CastorRecoParam_h
3 
11 #include <cstdint>
12 
14 public:
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 
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