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

Public Member Functions

def __init__ (self, threadID, q)
 
def run (self)
 
def process_data (self, entry)
 

Public Attributes

 threadID
 
 q
 

Detailed Description

Definition at line 10 of file MetaDataMT.py.

Constructor & Destructor Documentation

◆ __init__()

def MetaDataMT.StoreMetaData.__init__ (   self,
  threadID,
  q 
)

Definition at line 12 of file MetaDataMT.py.

12  def __init__(self, threadID, q):
13 
14  threading.Thread.__init__(self)
15  self.threadID = threadID
16  self.q = q
17 

Member Function Documentation

◆ process_data()

def MetaDataMT.StoreMetaData.process_data (   self,
  entry 
)

Definition at line 25 of file MetaDataMT.py.

25  def process_data(self, entry):
26 
27  inputList = entry[0]
28  outFile_meta = entry[1]
29  query_fields = entry[2]
30 
31  cmd = "getMetadata.py --allowBadStatus --inDS="+inputList+" --outFile="+outFile_meta+" --delim=\";;;\" --fields="+query_fields
32 
33  os.system(cmd)

◆ run()

def MetaDataMT.StoreMetaData.run (   self)

Definition at line 18 of file MetaDataMT.py.

18  def run(self):
19  while True:
20 
21  entry = self.q.get()
22  self.process_data(entry)
23  self.q.task_done()
24 

Member Data Documentation

◆ q

MetaDataMT.StoreMetaData.q

Definition at line 16 of file MetaDataMT.py.

◆ threadID

MetaDataMT.StoreMetaData.threadID

Definition at line 15 of file MetaDataMT.py.


The documentation for this class was generated from the following file:
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition: hcg.cxx:127