CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
CastorRecoParam Class Reference

#include <CastorRecoParam.h>

Public Member Functions

 CastorRecoParam ()
 
 CastorRecoParam (unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd)
 
unsigned int firstSample () const
 
uint32_t rawId () const
 
unsigned int samplesToAdd () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint32_t mFirstSample
 
uint32_t mId
 
uint32_t mSamplesToAdd
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Author
Radek Ofierzynski - adapted for CASTOR by Hans Van Haevermaet POOL object to store timeslice reco values

Definition at line 13 of file CastorRecoParam.h.

Constructor & Destructor Documentation

◆ CastorRecoParam() [1/2]

CastorRecoParam::CastorRecoParam ( )
inline

Definition at line 15 of file CastorRecoParam.h.

15 : mId(0), mFirstSample(0), mSamplesToAdd(0) {}
uint32_t mSamplesToAdd
uint32_t mFirstSample

◆ CastorRecoParam() [2/2]

CastorRecoParam::CastorRecoParam ( unsigned long  fId,
unsigned int  fFirstSample,
unsigned int  fSamplesToAdd 
)
inline

Definition at line 17 of file CastorRecoParam.h.

18  : mId(fId), mFirstSample(fFirstSample), mSamplesToAdd(fSamplesToAdd) {}
uint32_t mSamplesToAdd
uint32_t mFirstSample

Member Function Documentation

◆ firstSample()

unsigned int CastorRecoParam::firstSample ( ) const
inline

Definition at line 22 of file CastorRecoParam.h.

References mFirstSample.

Referenced by CastorDbASCIIIO::dumpObject(), and CastorSimpleReconstructor::produce().

22 { return mFirstSample; }
uint32_t mFirstSample

◆ rawId()

uint32_t CastorRecoParam::rawId ( ) const
inline

Definition at line 20 of file CastorRecoParam.h.

References mId.

20 { return mId; }

◆ samplesToAdd()

unsigned int CastorRecoParam::samplesToAdd ( ) const
inline

Definition at line 23 of file CastorRecoParam.h.

References mSamplesToAdd.

Referenced by CastorDbASCIIIO::dumpObject(), and CastorSimpleReconstructor::produce().

23 { return mSamplesToAdd; }
uint32_t mSamplesToAdd

◆ serialize()

template<class Archive >
void CastorRecoParam::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file CastorRecoParam.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 30 of file CastorRecoParam.h.

Member Data Documentation

◆ mFirstSample

uint32_t CastorRecoParam::mFirstSample
private

Definition at line 27 of file CastorRecoParam.h.

Referenced by firstSample().

◆ mId

uint32_t CastorRecoParam::mId
private

Definition at line 26 of file CastorRecoParam.h.

Referenced by rawId().

◆ mSamplesToAdd

uint32_t CastorRecoParam::mSamplesToAdd
private

Definition at line 28 of file CastorRecoParam.h.

Referenced by samplesToAdd().