Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

TrgEventCounter.py

00001 #!/usr/local/bin/python
00002 #
00003 #                               Copyright 2004
00004 #                                     by
00005 #                        The Board of Trustees of the
00006 #                     Leland Stanford Junior University.
00007 #                            All rights reserved.
00008 #
00009 
00010 __facility__ = "Online"
00011 __abstract__ = "GLAST LAT Coincidence based Trigger System Abstract classes"
00012 __author__   = "Jim Panetta <panetta@slac.stanford.edu> SLAC - GLAST I&T"
00013 __date__     = "2/14/04"
00014 __version__  = "$Revision: 2.1 $"
00015 __release__  = "$Name: R04-12-00 $"
00016 __credits__  = "SLAC"
00017 
00018 import LATTE.copyright_SLAC
00019 
00020 from TrgObject import TrgObject
00021 
00022 """TrgEventCounter: Interface for event counters. """
00023 
00024 class TrgEventCounter(TrgObject):
00025   """\brief TrgEventCounter class
00026   
00027      This class controls the counters associated with the event stream
00028      received and the responses sent by the GEM.
00029      
00030      These functions to be implemented at the hardware abstraction level.
00031   """
00032   def __init__(self):
00033     """\brief TrgEventCounter contructor
00034     """
00035     TrgObject.__init__(self)
00036     pass
00037     
00038   def stats(self):
00039     """\brief stats() method
00040     
00041        Return the number of events seen by the counter
00042        \return an integer
00043     """
00044     raise NotImplementedError
00045     pass 
00046     
00047   def reset(self):
00048     """\brief reset() method
00049     
00050        Reset the event counters
00051     """
00052     raise NotImplementedError
00053     pass 
00054 

Generated on Fri Jul 21 13:26:33 2006 for LATTE R04-12-00 by doxygen 1.4.3