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

List of all members.

Public Member Functions

def __init__
def initialize
def execute
def finalize

Detailed Description

Definition at line 4 of file DaqXmlDump.py.


Constructor & Destructor Documentation

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

Definition at line 6 of file DaqXmlDump.py.

00007                            :
00008         DybPythonAlg.__init__(self,name)
00009         return


Member Function Documentation

def DaqXmlDump::DaqXmlDump::initialize (   self)

Definition at line 10 of file DaqXmlDump.py.

00011                         :
00012         status = DybPythonAlg.initialize(self)
00013         if status.isFailure():
00014             return status
00015         self.info("initializing")
00016         return SUCCESS

def DaqXmlDump::DaqXmlDump::execute (   self)

Definition at line 17 of file DaqXmlDump.py.

00018                      :
00019         evt = self.evtSvc()
00020         readoutHdr = evt["/Event/Readout/ReadoutHeader"]
00021         if readoutHdr == None:
00022             self.error("Failed to get current readout header")
00023             return FAILURE
00024 
00025         readout = readoutHdr.readout()
00026         if readout == None:
00027             daqReadout = readoutHdr.daqReadout()
00028             if daqReadout == None:
00029                 self.error("Failed to get readout from header")
00030                 return FAILURE
00031             daqXmlStream = gbl.DybDaq.DaqXmlStream(gbl.cout,
00032                                                    "  ",
00033                                                    True)
00034             daqXmlStream.dumpElement(daqReadout.eventReadout())
00035             return SUCCESS
00036         pass
00037         return SUCCESS

def DaqXmlDump::DaqXmlDump::finalize (   self)

Definition at line 38 of file DaqXmlDump.py.

00039                       :
00040         self.info("finalizing")
00041         status = DybPythonAlg.finalize(self)
00042         return status


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:15:32 for DaqFormatModules by doxygen 1.7.4