ATLAS Offline Software
Functions | Variables
collListGuids Namespace Reference

Functions

def toiter (beg, end)
 
def toiter1 (c)
 

Variables

string query_string = ''
 
 collection_name = sys.argv[i+1]
 
 colsvc = ROOT.pool.CollectionService()
 
bool read_only_flag = True
 
 col = colsvc.open(collection_name, 'RootCollection', '', read_only_flag)
 
 des = col.description()
 
 attributes = map( lambda n: des.attributeColumn(n, 0).name(), range(0, des.numberOfAttributeColumns()) )
 
 query = col.newQuery()
 
 cursor = query.execute()
 
 row = cursor.currentRow()
 
 tlist = row.tokenList()
 
 alist = row.attributeList()
 
 attr_name = alist[i].specification().name()
 
list queryopt = ['RunNumber', 'EventNumber']
 
dictionary attrdata_func_name = {}
 
string line = ''
 
bool has_row = True
 

Function Documentation

◆ toiter()

def collListGuids.toiter (   beg,
  end 
)

Definition at line 17 of file collListGuids.py.

17 def toiter (beg, end):
18  while beg != end:
19  #yield beg.__deref__()
20  yield beg
21  beg.__preinc__()
22  return
23 

◆ toiter1()

def collListGuids.toiter1 (   c)

Definition at line 24 of file collListGuids.py.

24 def toiter1 (c):
25  return toiter (c.begin(), c.end())
26 
27 

Variable Documentation

◆ alist

collListGuids.alist = row.attributeList()

Definition at line 68 of file collListGuids.py.

◆ attr_name

collListGuids.attr_name = alist[i].specification().name()

Definition at line 72 of file collListGuids.py.

◆ attrdata_func_name

dictionary collListGuids.attrdata_func_name = {}

Definition at line 76 of file collListGuids.py.

◆ attributes

collListGuids.attributes = map( lambda n: des.attributeColumn(n, 0).name(), range(0, des.numberOfAttributeColumns()) )

Definition at line 46 of file collListGuids.py.

◆ col

collListGuids.col = colsvc.open(collection_name, 'RootCollection', '', read_only_flag)

Definition at line 43 of file collListGuids.py.

◆ collection_name

collListGuids.collection_name = sys.argv[i+1]

Definition at line 31 of file collListGuids.py.

◆ colsvc

collListGuids.colsvc = ROOT.pool.CollectionService()

Definition at line 41 of file collListGuids.py.

◆ cursor

collListGuids.cursor = query.execute()

Definition at line 62 of file collListGuids.py.

◆ des

collListGuids.des = col.description()

Definition at line 45 of file collListGuids.py.

◆ has_row

collListGuids.has_row = True

Definition at line 85 of file collListGuids.py.

◆ line

string collListGuids.line = ''

Definition at line 77 of file collListGuids.py.

◆ query

collListGuids.query = col.newQuery()

Definition at line 56 of file collListGuids.py.

◆ query_string

collListGuids.query_string = ''

Definition at line 28 of file collListGuids.py.

◆ queryopt

list collListGuids.queryopt = ['RunNumber', 'EventNumber']

Definition at line 74 of file collListGuids.py.

◆ read_only_flag

bool collListGuids.read_only_flag = True

Definition at line 42 of file collListGuids.py.

◆ row

collListGuids.row = cursor.currentRow()

Definition at line 65 of file collListGuids.py.

◆ tlist

collListGuids.tlist = row.tokenList()

Definition at line 67 of file collListGuids.py.

collListGuids.toiter1
def toiter1(c)
Definition: collListGuids.py:24
collListGuids.toiter
def toiter(beg, end)
Definition: collListGuids.py:17