![]() |
![]() |
#include <ChainData.h>
Public Member Functions | |
EndLumiSectMsgData (toolbox::mem::Reference *pRef) | |
~EndLumiSectMsgData () | |
Protected Member Functions | |
uint32_t | do_lumiSection () const |
uint32_t | do_runNumber () const |
Private Attributes | |
uint32_t | lumiSection_ |
uint32_t | runNumber_ |
Definition at line 405 of file ChainData.h.
stor::detail::EndLumiSectMsgData::EndLumiSectMsgData | ( | toolbox::mem::Reference * | pRef | ) | [explicit] |
Definition at line 18 of file EndLumiSectMsgData.cc.
References stor::detail::ChainData::addFirstFragment(), stor::detail::ChainData::CORRUPT_INITIAL_HEADER, stor::detail::ChainData::expectedNumberOfFragments_, stor::detail::ChainData::faulty(), stor::detail::ChainData::faultyBits_, lumiSection_, and runNumber_.
: ChainData(I2O_EVM_LUMISECTION), runNumber_(0), lumiSection_(0) { expectedNumberOfFragments_ = 1; //EoLS has always only one fragment addFirstFragment(pRef); // EoLS message from EVM does not have an initial header. // Thus, reset this faulty bit faultyBits_ &= ~CORRUPT_INITIAL_HEADER; if ( !faulty() ) { I2O_EVM_END_OF_LUMISECTION_MESSAGE_FRAME* msg_frame = (I2O_EVM_END_OF_LUMISECTION_MESSAGE_FRAME*)( pRef->getDataLocation() ); if (msg_frame) { runNumber_ = msg_frame->runNumber; lumiSection_ = msg_frame->lumiSection; } } }
stor::detail::EndLumiSectMsgData::~EndLumiSectMsgData | ( | ) | [inline] |
Definition at line 411 of file ChainData.h.
{}
uint32_t stor::detail::EndLumiSectMsgData::do_lumiSection | ( | ) | const [inline, protected, virtual] |
Reimplemented from stor::detail::ChainData.
Definition at line 416 of file ChainData.h.
References lumiSection_.
{ return lumiSection_; }
uint32_t stor::detail::EndLumiSectMsgData::do_runNumber | ( | ) | const [inline, protected, virtual] |
Reimplemented from stor::detail::ChainData.
Definition at line 415 of file ChainData.h.
References runNumber_.
{ return runNumber_; }
uint32_t stor::detail::EndLumiSectMsgData::lumiSection_ [mutable, private] |
Definition at line 421 of file ChainData.h.
Referenced by do_lumiSection(), and EndLumiSectMsgData().
uint32_t stor::detail::EndLumiSectMsgData::runNumber_ [mutable, private] |
Definition at line 420 of file ChainData.h.
Referenced by do_runNumber(), and EndLumiSectMsgData().