LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
SIO::RunEvent Struct Reference

Helper struct that stores run and event positions in the file. More...

#include <RunEventMap.h>

Public Types

typedef long long long64
 

Public Member Functions

 RunEvent ()=default
 
 ~RunEvent ()=default
 
 RunEvent (int run, int evt)
 
 RunEvent (long64 runEvt)
 
 operator long64 () const
 

Public Attributes

int RunNum {0}
 
int EvtNum {0}
 

Detailed Description

Helper struct that stores run and event positions in the file.

The operator<() defines a lexicographical ordering in RunNum and EvtNum where all run records (EvtNum=-1) are orderd first.

Definition at line 14 of file RunEventMap.h.

Member Typedef Documentation

typedef long long SIO::RunEvent::long64

Definition at line 15 of file RunEventMap.h.

Constructor & Destructor Documentation

SIO::RunEvent::RunEvent ( )
default
SIO::RunEvent::~RunEvent ( )
default
SIO::RunEvent::RunEvent ( int  run,
int  evt 
)
inline

Definition at line 19 of file RunEventMap.h.

SIO::RunEvent::RunEvent ( long64  runEvt)
inline

Definition at line 20 of file RunEventMap.h.

Member Function Documentation

SIO::RunEvent::operator long64 ( ) const
inline

Definition at line 21 of file RunEventMap.h.

References EvtNum, and RunNum.

Member Data Documentation

int SIO::RunEvent::EvtNum {0}

Definition at line 24 of file RunEventMap.h.

Referenced by operator long64(), SIO::operator<(), and SIO::operator<<().

int SIO::RunEvent::RunNum {0}

Definition at line 23 of file RunEventMap.h.

Referenced by operator long64(), SIO::operator<(), and SIO::operator<<().


The documentation for this struct was generated from the following file: