/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
TestDaqDetails::TestDaqDetails Class Reference
Inheritance diagram for TestDaqDetails::TestDaqDetails:
Inheritance graph
[legend]
Collaboration diagram for TestDaqDetails::TestDaqDetails:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 19 of file TestDaqDetails.py.


Constructor & Destructor Documentation

def TestDaqDetails::TestDaqDetails::__init__ (   self,
  name 
)

Definition at line 21 of file TestDaqDetails.py.

00022                            :
00023         DybPythonAlg.__init__(self,name)
00024         return
    

Member Function Documentation

def TestDaqDetails::TestDaqDetails::initialize (   self)

Definition at line 29 of file TestDaqDetails.py.

00030                         :
00031         self.info(str(self.daqDetailsSvc))    
00032         return SUCCESS
        
def TestDaqDetails::TestDaqDetails::execute (   self)

Definition at line 34 of file TestDaqDetails.py.

00034                      : 
00035         evt = self.evtSvc()     
00036         hdr = evt["/Event/Readout/ReadoutHeader"]
00037         if not hdr:
00038             self.warning('cannot find /Event/Readout/ReadoutHeader')
00039             return FAILURE 
00040 
00041         svcMode = ServiceMode(hdr.context(), 0)
00042         runDetails = self.daqDetailsSvc.runDetails(svcMode)
00043         if runDetails:
00044             runNo = runDetails.runNumber()
00045             self.info('runNo: %d' % (runNo,))
00046         else:
00047             raise ValueError("no runDetails!!") 
00048                              
00049         return SUCCESS
00050         
def TestDaqDetails::TestDaqDetails::finalize (   self)

Definition at line 53 of file TestDaqDetails.py.

00053                       :     
00054         return SUCCESS
00055 
00056 

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 09:59:24 for DataSvc by doxygen 1.7.4