Jpp  17.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
EventPreamble.hh File Reference
#include <ostream>
#include <iomanip>
#include <TROOT.h>
#include <TObject.h>
#include "antares-dataformat/FramePreamble.hh"
#include "antares-dataformat/DataTypes.hh"

Go to the source code of this file.

Classes

class  EventPreamble
 Interface for event classes. More...
 

Functions

bool operator== (const EventPreamble &first, const EventPreamble &second)
 equal operator for event preamble More...
 
bool operator!= (const EventPreamble &first, const EventPreamble &second)
 not-equal operator for event preamble More...
 

Function Documentation

bool operator== ( const EventPreamble first,
const EventPreamble second 
)
inline

equal operator for event preamble

Parameters
firstevent preamble
secondevent preamble
Returns
true if first equals second; else false

Definition at line 90 of file EventPreamble.hh.

91 {
92  return (first.frameIndex == second.frameIndex &&
93  first.runNumber == second.runNumber);
94 }
unsigned int frameIndex
Number of frames since start of the run.
unsigned int runNumber
Run-number as given by the RunControl.
bool operator!= ( const EventPreamble first,
const EventPreamble second 
)
inline

not-equal operator for event preamble

Parameters
firstevent preamble
secondevent preamble
Returns
true if first not equals second; else false

Definition at line 103 of file EventPreamble.hh.

104 {
105  return (first.frameIndex != second.frameIndex ||
106  first.runNumber != second.runNumber);
107 }
unsigned int frameIndex
Number of frames since start of the run.
unsigned int runNumber
Run-number as given by the RunControl.