Event Info

The EventInfo object contains things like beam xyz and run number and event number. There is only one per event - so you do not extract it as a sequence, but as a single object - so it is different than just about every other collection.

import matplotlib.pyplot as plt
from config import ds_zee as ds
events = (ds
        .Select(lambda e: e.EventInfo("EventInfo").eventNumber())
        .AsAwkwardArray('evt_number')
        .value())
plt.hist(events.evt_number, bins=100)
plt.xlabel('Event Number')
plt.ylabel('Number of events')
_ = plt.title(r'$Z\rightarrow ee$ events')
../_images/eventinfo_3_0.png

The Datamodel

A lot of the EventInfo record can be stripped out by thinning. You may well encounter missing data errors when trying to access them. The data model when this documentation was last built was as below:

from func_adl_servicex_xaodr21.xAOD.eventinfo_v1 import EventInfo_v1
help(EventInfo_v1)
Help on class EventInfo_v1 in module func_adl_servicex_xaodr21.xAOD.eventinfo_v1:

class EventInfo_v1(builtins.object)
 |  A class
 |  
 |  Methods defined here:
 |  
 |  actualInteractionsPerCrossing(self) -> 'float'
 |      A method
 |  
 |  averageInteractionsPerCrossing(self) -> 'float'
 |      A method
 |  
 |  bcid(self) -> 'int'
 |      A method
 |  
 |  beamPosSigmaX(self) -> 'float'
 |      A method
 |  
 |  beamPosSigmaXY(self) -> 'float'
 |      A method
 |  
 |  beamPosSigmaY(self) -> 'float'
 |      A method
 |  
 |  beamPosSigmaZ(self) -> 'float'
 |      A method
 |  
 |  beamPosX(self) -> 'float'
 |      A method
 |  
 |  beamPosY(self) -> 'float'
 |      A method
 |  
 |  beamPosZ(self) -> 'float'
 |      A method
 |  
 |  beamStatus(self) -> 'int'
 |      A method
 |  
 |  beamTiltXZ(self) -> 'float'
 |      A method
 |  
 |  beamTiltYZ(self) -> 'float'
 |      A method
 |  
 |  clearDecorations(self) -> 'bool'
 |      A method
 |  
 |  detectorMask0(self) -> 'int'
 |      A method
 |  
 |  detectorMask1(self) -> 'int'
 |      A method
 |  
 |  detectorMask2(self) -> 'int'
 |      A method
 |  
 |  detectorMask3(self) -> 'int'
 |      A method
 |  
 |  eventNumber(self) -> 'int'
 |      A method
 |  
 |  eventTypeBitmask(self) -> 'int'
 |      A method
 |  
 |  extendedLevel1ID(self) -> 'int'
 |      A method
 |  
 |  hasMCEventWeights(self) -> 'bool'
 |      A method
 |  
 |  hasNonConstStore(self) -> 'bool'
 |      A method
 |  
 |  hasStore(self) -> 'bool'
 |      A method
 |  
 |  index(self) -> 'int'
 |      A method
 |  
 |  lumiBlock(self) -> 'int'
 |      A method
 |  
 |  mcChannelNumber(self) -> 'int'
 |      A method
 |  
 |  mcEventNumber(self) -> 'int'
 |      A method
 |  
 |  mcEventWeight(self, i: 'int') -> 'float'
 |      A method
 |  
 |  mcEventWeights(self) -> 'func_adl_servicex_xaodr21.vector_float_.vector_float_'
 |      A method
 |  
 |  runNumber(self) -> 'int'
 |      A method
 |  
 |  statusElement(self) -> 'int'
 |      A method
 |  
 |  streamTags(self) -> 'func_adl_servicex_xaodr21.vector_xaod_eventinfo_v1_streamtag_.vector_xAOD_EventInfo_v1_StreamTag_'
 |      A method
 |  
 |  subEvents(self) -> 'func_adl_servicex_xaodr21.vector_xaod_eventinfo_v1_subevent_.vector_xAOD_EventInfo_v1_SubEvent_'
 |      A method
 |  
 |  timeStamp(self) -> 'int'
 |      A method
 |  
 |  timeStampNSOffset(self) -> 'int'
 |      A method
 |  
 |  usingPrivateStore(self) -> 'bool'
 |      A method
 |  
 |  usingStandaloneStore(self) -> 'bool'
 |      A method
 |  
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |  
 |  auxdataConst
 |      A method
 |  
 |  isAvailable
 |      A method
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  __dict__
 |      dictionary for instance variables (if defined)
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)

Further Information