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 60 of file ConditionsContainerAccess.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 61 of file ConditionsContainerAccess.py.

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

Member Function Documentation

◆ extract()

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

Definition at line 64 of file ConditionsContainerAccess.py.

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

Member Data Documentation

◆ descr

python.ConditionsContainerAccess.DescriptionDecoder.descr

Definition at line 63 of file ConditionsContainerAccess.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZj_MiNNLO.ZZj_MiNNLO.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZj_MiNNLO.py:18
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:26
tools.zlumi_alleff.extract
def extract(histogram, bin1, bin2)
Definition: zlumi_alleff.py:272