CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
unsigned int samplesToAdd() const
uint32_t mSamplesToAdd
unsigned int firstSample() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
uint32_t mFirstSample
uint32_t rawId() const