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

Public Member Functions

def __init__ (self, run, lb1, lb2)
 
def __repr__ (self)
 
def IOVRange (self)
 

Public Attributes

 run
 
 lb1
 
 lb2
 

Detailed Description

This class represents a range of lumiblocks within a single run

Definition at line 16 of file LumiCalculator.py.

Constructor & Destructor Documentation

◆ __init__()

def python.LumiCalculator.RLBRange.__init__ (   self,
  run,
  lb1,
  lb2 
)

Definition at line 18 of file LumiCalculator.py.

18  def __init__(self,run,lb1,lb2):
19  "Initialise to inclusive range lb1-lb2 in run run"
20  self.run=run
21  self.lb1=lb1
22  self.lb2=lb2
23 

Member Function Documentation

◆ __repr__()

def python.LumiCalculator.RLBRange.__repr__ (   self)

Definition at line 24 of file LumiCalculator.py.

24  def __repr__(self):
25  return 'Run %i LB [%i-%i]' % (self.run,self.lb1,self.lb2)
26 

◆ IOVRange()

def python.LumiCalculator.RLBRange.IOVRange (   self)

Definition at line 27 of file LumiCalculator.py.

27  def IOVRange(self):
28  "Return IOV since,until corresponding to this lumiblock range"
29  since=(self.run << 32)+self.lb1
30  until=(self.run << 32)+self.lb2+1
31  return (since,until)
32 
33 

Member Data Documentation

◆ lb1

python.LumiCalculator.RLBRange.lb1

Definition at line 21 of file LumiCalculator.py.

◆ lb2

python.LumiCalculator.RLBRange.lb2

Definition at line 22 of file LumiCalculator.py.

◆ run

python.LumiCalculator.RLBRange.run

Definition at line 20 of file LumiCalculator.py.


The documentation for this class was generated from the following file:
IOVRange
Validity Range object. Holds two IOVTimes (start and stop)
Definition: IOVRange.h:30
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18