ATLAS Offline Software
Loading...
Searching...
No Matches
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 163 of file EventID.h.

163 {
164 os << "[Run,Evt,Lumi,Time,BunchCross,DetMask] = ["
165 << rhs.run_number()
166 << "," << rhs.event_number()
167 << "," << rhs.lumi_block()
168 << "," << rhs.time_stamp()
169 << ":" << rhs.time_stamp_ns_offset()
170 << "," << rhs.bunch_crossing_id()
171 << ",0x" << std::hex << rhs.detector_mask()
172 << ",0x" << std::hex << rhs.detector_mask2()
173 << ",0x" << std::hex << rhs.detector_mask3() << std::dec
174 << "]";
175 return os;
176}
number_type detector_mask3(void) const
detector mask1 - bit field indicating which TTC zones have been built into the event,...
Definition EventID.h:149
number_type detector_mask2(void) const
detector mask0 - bit field indicating which TTC zones have been built into the event,...
Definition EventID.h:143
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:155