ATLAS Offline Software
Loading...
Searching...
No Matches
testEventInfo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4
5#include "EventInfo/EventID.h"
6#include <iostream>
7
8int main(int argc, char* argv[]) {
9 std::cout << "testEventInfo: " << std::endl;
10 EventID eid(1, 2);
11 eid.set_detector_mask(1, 2);
12 std::cout << std::hex << eid.detector_mask0() << " " << eid.detector_mask1() << " " << eid.detector_mask() <<
13 std::endl;
14 std::cout << eid << std::endl;
15}
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition EventID.h:35
number_type detector_mask1(void) const
detector mask1 - bit field indicating which TTC zones have been built into the event,...
Definition EventID.h:137
void set_detector_mask(number_type detectorMask0, number_type detectorMask1, number_type detectorMask2=0, number_type detectorMask3=0)
set detector mask
Definition EventID.cxx:70
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
number_type detector_mask0(void) const
detector mask0 - bit field indicating which TTC zones have been built into the event,...
Definition EventID.h:131
int main()
Definition hello.cxx:18