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
unsigned int samplesToAdd() const
unsigned int firstSample() const
uint32_t rawId() const
CastorRecoParam(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
uint32_t mSamplesToAdd
#define COND_SERIALIZABLE
Definition: Serializable.h:39
uint32_t mFirstSample