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

Public Member Functions

def __init__ (self, descr)
 
def extract (self, start, stop)
 

Public Attributes

 descr
 

Detailed Description

Definition at line 61 of file ConditionsContainerAccess.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ConditionsContainerAccess.DescriptionDecoder.__init__ (   self,
  descr 
)

Definition at line 62 of file ConditionsContainerAccess.py.

62  def __init__(self, descr):
63  print(descr)
64  self.descr = descr

Member Function Documentation

◆ extract()

def python.ConditionsContainerAccess.DescriptionDecoder.extract (   self,
  start,
  stop 
)

Definition at line 65 of file ConditionsContainerAccess.py.

65  def extract(self, start, stop) :
66  print('descr, size', self.descr, len(self.descr))
67  begin = string.find(self.descr, start)
68  print('begin', begin)
69  begin += len(start)
70  end = string.find(self.descr, stop)
71  print('end', end)
72  if begin < len(self.descr) and end < len(self.descr) :
73  result = self.descr[begin:end]
74  else :
75  result = "Unable to find: " + start + ", " + stop
76  return result
77 
78 

Member Data Documentation

◆ descr

python.ConditionsContainerAccess.DescriptionDecoder.descr

Definition at line 64 of file ConditionsContainerAccess.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70
tools.zlumi_alleff.extract
def extract(histogram, bin1, bin2)
Definition: zlumi_alleff.py:272