/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Attributes
MockEvtSelector::MockEvtContext Class Reference

#include <MockEvtSelector.h>

Collaboration diagram for MockEvtSelector::MockEvtContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MockEvtContext ()
virtual ~MockEvtContext ()
virtual void * identifier () const
void jump (int distance)
StatusCode getEvent () const
const TimeStampreadoutTime () const
int sequenceNumber () const

Private Attributes

int m_sequenceNumber
 The event number.
TimeStamp m_readoutTime
 The time of the current event.

Detailed Description

Definition at line 14 of file MockEvtSelector.h.


Constructor & Destructor Documentation

MockEvtSelector::MockEvtContext::MockEvtContext ( )

Definition at line 102 of file MockEvtSelector.cpp.

                                              :
  m_sequenceNumber(0),
  m_readoutTime(time(0),
                0) {
}
MockEvtSelector::MockEvtContext::~MockEvtContext ( ) [virtual]

Definition at line 108 of file MockEvtSelector.cpp.

                                               {
}

Member Function Documentation

virtual void* MockEvtSelector::MockEvtContext::identifier ( ) const [inline, virtual]

Definition at line 19 of file MockEvtSelector.h.

{ return 0; }
void MockEvtSelector::MockEvtContext::jump ( int  distance)

Definition at line 111 of file MockEvtSelector.cpp.

                                                     {
  m_sequenceNumber += distance;
  m_readoutTime.Add(distance * 0.0000001 * (random() % 1000));
}
StatusCode MockEvtSelector::MockEvtContext::getEvent ( ) const

Definition at line 116 of file MockEvtSelector.cpp.

                                                         {
  return StatusCode::SUCCESS;
}
const TimeStamp & MockEvtSelector::MockEvtContext::readoutTime ( ) const

Definition at line 120 of file MockEvtSelector.cpp.

                                                                  {
  return m_readoutTime;
}
int MockEvtSelector::MockEvtContext::sequenceNumber ( ) const

Definition at line 124 of file MockEvtSelector.cpp.

                                                        {
  return m_sequenceNumber;
}

Member Data Documentation

The event number.

Definition at line 30 of file MockEvtSelector.h.

The time of the current event.

Definition at line 33 of file MockEvtSelector.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:08:54 for MockEvt by doxygen 1.7.4