ATLAS Offline Software
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 
8 int 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 }
EventID::detector_mask0
number_type detector_mask0(void) const
detector mask0 - bit field indicating which TTC zones have been built into the event,...
Definition: EventID.h:126
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.h
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
LArCellNtuple.argv
argv
Definition: LArCellNtuple.py:152
DQHistogramMergeRegExp.argc
argc
Definition: DQHistogramMergeRegExp.py:20
main
int main(int argc, char *argv[])
Definition: testEventInfo.cxx:8
EventID
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition: EventID.h:35
EventID::detector_mask1
number_type detector_mask1(void) const
detector mask1 - bit field indicating which TTC zones have been built into the event,...
Definition: EventID.h:132
EventID::set_detector_mask
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