/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 | Static Public Attributes
DybEventMgr::aesmon::AesMon Class Reference
Inheritance diagram for DybEventMgr::aesmon::AesMon:
Inheritance graph
[legend]
Collaboration diagram for DybEventMgr::aesmon::AesMon:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def show_archive_list
def execute

Public Attributes

 execNum

Static Public Attributes

list locations

Detailed Description

Definition at line 9 of file aesmon.py.


Constructor & Destructor Documentation

def DybEventMgr::aesmon::AesMon::__init__ (   self,
  name = "AesMon" 
)

Definition at line 33 of file aesmon.py.

00034                                       :
00035         super(AesMon,self).__init__(name)
00036         self.execNum = 0


Member Function Documentation

def DybEventMgr::aesmon::AesMon::initialize (   self)

Definition at line 37 of file aesmon.py.

00038                         :
00039         sc = super(AesMon,self).initialize()
00040         if sc.isFailure(): return sc
00041         return SUCCESS

def DybEventMgr::aesmon::AesMon::show_archive_list (   self,
  loc 
)

Definition at line 42 of file aesmon.py.

00043                                     :
00044         rs = self.getAES("/Event/RegistrationSequence") # prime
00045         if not rs: return 
00046 
00047         aeslist = self.archiveSvc[loc]
00048         if not aeslist:
00049             return 
00050 
00051         lst = [o for o in irange(aeslist.begin(), aeslist.end())]
00052 
00053         msg = ""
00054         if loc == "/Event/RegistrationSequence":
00055             nreg = [rs.size() for rs in lst]
00056             msg = '%d in %d registered: %s' % (sum(nreg), len(nreg), map(str,nreg))
00057 
00058         first = lst[-1]
00059         last = lst[0]
00060         print 'Cycle:%4d N:%4d @ [%s --> %s] %s %s' % (self.execNum, len(lst), first.earliest().AsString(), last.latest().AsString(), loc, msg)
00061 

def DybEventMgr::aesmon::AesMon::execute (   self)

Definition at line 62 of file aesmon.py.

00063                      :
00064         self.execNum += 1
00065 
00066         for loc in self.locations:
00067             self.show_archive_list(loc)
00068 
00069 
00070         return SUCCESS


Member Data Documentation

Initial value:
[
        "/Event/CalibReadout/CalibReadoutHeader",
        "/DaqBlocks",
        "/Event/Elec/ElecHeader",
        "/Event/Gen/GenHeader",
        "/JobHeader",
        "/Event/Random/RandomHeader",
        "/Event/Raw/RawEventHeader",
        "/Event/Readout/ReadoutHeader",
        "/Event/Rec/RecHeader",
        "/Event/Rec/RecRpcHeader",
        "/Event/RegistrationSequence",
        "/RunHeader",
        "/Event/Sim/SimHeader",
        "/Event/SimReadout/SimReadoutHeader",
        "/Event/SimTrig/SimTrigHeader",
        "/Event/Tags/Default",
        "/Event/UserData/Default",
        ]

Definition at line 12 of file aesmon.py.

Definition at line 33 of file aesmon.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:09:08 for DybEventMgr by doxygen 1.7.4