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) {}

◆ 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) {}

Member Function Documentation

◆ firstSample()

unsigned int CastorRecoParam::firstSample ( ) const
inline

Definition at line 22 of file CastorRecoParam.h.

22 { return mFirstSample; }

References mFirstSample.

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

◆ rawId()

uint32_t CastorRecoParam::rawId ( ) const
inline

Definition at line 20 of file CastorRecoParam.h.

20 { return mId; }

References mId.

◆ samplesToAdd()

unsigned int CastorRecoParam::samplesToAdd ( ) const
inline

Definition at line 23 of file CastorRecoParam.h.

23 { return mSamplesToAdd; }

References mSamplesToAdd.

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

◆ 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().

CastorRecoParam::mSamplesToAdd
uint32_t mSamplesToAdd
Definition: CastorRecoParam.h:28
CastorRecoParam::mId
uint32_t mId
Definition: CastorRecoParam.h:26
CastorRecoParam::mFirstSample
uint32_t mFirstSample
Definition: CastorRecoParam.h:27