ATLAS Offline Software
Classes | Functions
EventID.h File Reference

This class provides a unique identification for each event, in terms of run/event number and/or a time stamp. More...

#include <iostream>
#include <stdint.h>
#include "GaudiKernel/EventIDBase.h"
Include dependency graph for EventID.h:

Go to the source code of this file.

Classes

class  EventID
 This class provides a unique identification for each event, in terms of run/event number and/or a time stamp. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const EventID &rhs)
 

Detailed Description

This class provides a unique identification for each event, in terms of run/event number and/or a time stamp.

Author
RD Schaffer R.D.S.nosp@m.chaf.nosp@m.fer@c.nosp@m.ern..nosp@m.ch
Paolo Calafiura pcala.nosp@m.fiur.nosp@m.a@lbl.nosp@m..gov
Id
EventID.h,v 1.10 2007-12-04 18:22:32 schaffer Exp

Definition in file EventID.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const EventID rhs 
)
inline

Definition at line 158 of file EventID.h.

158  {
159  os << "[Run,Evt,Lumi,Time,BunchCross,DetMask] = ["
160  << rhs.run_number()
161  << "," << rhs.event_number()
162  << "," << rhs.lumi_block()
163  << "," << rhs.time_stamp()
164  << ":" << rhs.time_stamp_ns_offset()
165  << "," << rhs.bunch_crossing_id()
166  << ",0x" << std::hex << rhs.detector_mask()
167  << ",0x" << std::hex << rhs.detector_mask2()
168  << ",0x" << std::hex << rhs.detector_mask3() << std::dec
169  << "]";
170  return os;
171 }
EventID::detector_mask2
number_type detector_mask2(void) const
detector mask0 - bit field indicating which TTC zones have been built into the event,...
Definition: EventID.h:138
EventID::detector_mask
uint64_t detector_mask(void) const
detector mask - as a 64 bit number - only provides access to the combined 64 bits det mask,...
Definition: EventID.h:150
EventID::detector_mask3
number_type detector_mask3(void) const
detector mask1 - bit field indicating which TTC zones have been built into the event,...
Definition: EventID.h:144
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231