1#ifndef Event_EVENTHeader_H
2#define Event_EVENTHeader_H
5#include "GaudiKernel/Kernel.h"
6#include "GaudiKernel/StreamBuffer.h"
7#include "GaudiKernel/DataObject.h"
28 : DataObject(), m_event(-1), m_run(-1), m_etsT1(0), m_etsT2(0) {}
46 unsigned int time()
const {
return m_time; }
48 void setTime(
int value) { m_time = value; }
56 unsigned int flag1() {
return m_flag1; };
57 unsigned int flag2() {
return m_flag2; };
59 void setFlag1(
unsigned int value) { m_flag1 = value; }
60 void setFlag2(
unsigned int value) { m_flag2 = value; }
63 unsigned long etsT1() {
return m_etsT1&0x000000FFFFFFFFFF; }
64 unsigned long rawEtsT1() {
return ((m_etsT2>>24)&0x000000FFFF000000) | (m_etsT1>>40); }
65 unsigned long etsT2() {
return m_etsT2&0x000000FFFFFFFFFF; }
66 int etsFlag() {
return (m_etsT2>>40)&0xFF; }
69 void setEtsT1(
unsigned long value) { m_etsT1 = (m_etsT1&0xFFFFFF0000000000) | (value&0x000000FFFFFFFFFF); }
71 void setEtsT2(
unsigned long value) { m_etsT2 = (m_etsT2&0xFFFFFF0000000000) | (value&0x000000FFFFFFFFFF); }
84 unsigned int m_EventTag ;
95 unsigned long m_etsT1;
96 unsigned long m_etsT2;
101 m_etsT1 = (m_etsT1&0x000000FFFFFFFFFF) | (value<<40);
102 m_etsT2 = (m_etsT2&0x0000FFFFFFFFFFFF) | ((value>>24)<<48);