/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
RootIOTest::TestUserDataVector::UD Class Reference
Inheritance diagram for RootIOTest::TestUserDataVector::UD:
Inheritance graph
[legend]
Collaboration diagram for RootIOTest::TestUserDataVector::UD:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize
def __init__
def initialize
def execute
def finalize
def verbose
def debug
def info
def warning
def error
def fatal
def getAES
def initializeHeader
def finalizeHeader

Public Attributes

 execNumber
 msgSvc
 archiveSvc
 stats
 defaultInputLocation
 currentJobId

Detailed Description

Definition at line 9 of file TestUserDataVector.py.


Constructor & Destructor Documentation

def RootIOTest::TestUserDataVector::UD::__init__ (   self,
  name 
)

Definition at line 11 of file TestUserDataVector.py.

00012                            :
00013         DybPythonAlg.__init__(self,name)
00014         return
    

Member Function Documentation

def RootIOTest::TestUserDataVector::UD::initialize (   self)

Definition at line 16 of file TestUserDataVector.py.

00017                         :
00018         status = DybPythonAlg.initialize(self)
00019         if status.isFailure(): return status
00020         
00021         self.info('initializing ...')        
00022         self.execNumber = 0
00023         
00024         return SUCCESS
        
def RootIOTest::TestUserDataVector::UD::execute (   self)

Definition at line 26 of file TestUserDataVector.py.

00027                      :
00028         evt = self.evtSvc()
00029         self.execNumber += 1   
00030         self.info(str(self.execNumber))    
00031         udh = UserDataHeader() 
00032 
00033         # self.initializeHeader( userData )
00034         ROOT.SetOwnership(udh,False)
00035         udh.setExecNumber(self.execNumber)
00036         udh.setEarliest(gbl.TimeStamp(self.execNumber*3600,self.execNumber))
00037         udh.setTimeStamp(gbl.TimeStamp(self.execNumber*3600,self.execNumber+1))
00038         udh.setLatest(gbl.TimeStamp(self.execNumber*3600,self.execNumber+2))
00039         
00040         x = gbl.std.vector('int')()
00041         x.push_back(1)
00042         x.push_back(self.execNumber + 1)
00043         
00044         udh.setInt("count",self.execNumber)
00045         udh.setIntArray('x', x)
00046         # userData.setInt('y', 3)
00047         
00048         # self.finalizeHeader( udh, evt["/Event/Readout/ReadoutHeader"] )        
00049         evt['/Event/UserData/Vectors'] = udh
00050         del udh
00051         
00052         return SUCCESS
        
def RootIOTest::TestUserDataVector::UD::finalize (   self)

Definition at line 54 of file TestUserDataVector.py.

00054                       :     
00055         status = DybPythonAlg.finalize(self)
00056         return status
00057 
00058 

Member Data Documentation

Reimplemented from DybPython::DybPythonAlg::DybPythonAlg.

Definition at line 16 of file TestUserDataVector.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:20:12 for RootIOTest by doxygen 1.7.4