Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:57

0001 #ifndef CastorRecoParam_h
0002 #define CastorRecoParam_h
0003 
0004 /** 
0005 \class CastorRecoParam
0006 \author Radek Ofierzynski - adapted for CASTOR by Hans Van Haevermaet
0007 POOL object to store timeslice reco values
0008 */
0009 
0010 #include "CondFormats/Serialization/interface/Serializable.h"
0011 #include <cstdint>
0012 
0013 class CastorRecoParam {
0014 public:
0015   CastorRecoParam() : mId(0), mFirstSample(0), mSamplesToAdd(0) {}
0016 
0017   CastorRecoParam(unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
0018       : mId(fId), mFirstSample(fFirstSample), mSamplesToAdd(fSamplesToAdd) {}
0019 
0020   uint32_t rawId() const { return mId; }
0021 
0022   unsigned int firstSample() const { return mFirstSample; }
0023   unsigned int samplesToAdd() const { return mSamplesToAdd; }
0024 
0025 private:
0026   uint32_t mId;
0027   uint32_t mFirstSample;
0028   uint32_t mSamplesToAdd;
0029 
0030   COND_SERIALIZABLE;
0031 };
0032 
0033 #endif