ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.AtlRunQueryRun.DataEntryList Class Reference
Inheritance diagram for python.AtlRunQueryRun.DataEntryList:
Collaboration diagram for python.AtlRunQueryRun.DataEntryList:

Public Member Functions

def __init__ (self, key, run)
 
def atLB (self, lb)
 
def stops (self)
 
def lastlb (self)
 
def endlb (self)
 
def pickled (self)
 
def json (self)
 

Public Attributes

 key
 
 run
 

Detailed Description

Definition at line 91 of file AtlRunQueryRun.py.

Constructor & Destructor Documentation

◆ __init__()

def python.AtlRunQueryRun.DataEntryList.__init__ (   self,
  key,
  run 
)

Definition at line 92 of file AtlRunQueryRun.py.

92  def __init__(self, key, run):
93  super(DataEntryList,self).__init__()
94  self.key = key
95  self.run = run
96 

Member Function Documentation

◆ atLB()

def python.AtlRunQueryRun.DataEntryList.atLB (   self,
  lb 
)

Definition at line 97 of file AtlRunQueryRun.py.

97  def atLB(self,lb):
98  for e in self:
99  return [x for x in self if x.contains(lb)]
100  return None
101 

◆ endlb()

def python.AtlRunQueryRun.DataEntryList.endlb (   self)

Definition at line 110 of file AtlRunQueryRun.py.

110  def endlb(self):
111  return max([e.endlb for e in self])
112 

◆ json()

def python.AtlRunQueryRun.DataEntryList.json (   self)

Definition at line 116 of file AtlRunQueryRun.py.

116  def json(self):
117  return [e.json() for e in self]
118 
119 

◆ lastlb()

def python.AtlRunQueryRun.DataEntryList.lastlb (   self)

Definition at line 106 of file AtlRunQueryRun.py.

106  def lastlb(self):
107  return max([e.lastlb for e in self])
108 

◆ pickled()

def python.AtlRunQueryRun.DataEntryList.pickled (   self)

Definition at line 113 of file AtlRunQueryRun.py.

113  def pickled(self):
114  return [e.pickled() for e in self]
115 

◆ stops()

def python.AtlRunQueryRun.DataEntryList.stops (   self)

Definition at line 102 of file AtlRunQueryRun.py.

102  def stops(self):
103  return set([e.startlb for e in self]).union(set([e.lastlb+1 for e in self]))
104 

Member Data Documentation

◆ key

python.AtlRunQueryRun.DataEntryList.key

Definition at line 94 of file AtlRunQueryRun.py.

◆ run

python.AtlRunQueryRun.DataEntryList.run

Definition at line 95 of file AtlRunQueryRun.py.


The documentation for this class was generated from the following file:
max
#define max(a, b)
Definition: cfImp.cxx:41
json
nlohmann::json json
Definition: HistogramDef.cxx:9
python.selector.AtlRunQuerySelectorDQ.pickled
pickled
Definition: AtlRunQuerySelectorDQ.py:13
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:224
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
TrackingGeometryValidation.stops
stops
Definition: TrackingGeometryValidation.py:30