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 Trigger Conditions Interface classes" 00012 __author__ = "Jim Panetta <panetta@slac.stanford.edu> SLAC - GLAST I&T" 00013 __date__ = "2/14/04" 00014 __version__ = "$Revision: 2.2 $" 00015 __release__ = "$Name: R04-12-00 $" 00016 __credits__ = "SLAC" 00017 00018 import LATTE.copyright_SLAC 00019 00020 00021 from TrgObject import TrgObject 00022 00023 """TrgConditions: Interface for Trigger Conditions""" 00024 00025 class TrgConditions(TrgObject): 00026 """\brief Trigger Conditions Value class definition 00027 This class is used to define one combinatoric of the 128 possible conditions. 00028 """ 00029 def __init__(self): 00030 """\brief TrgConditions constructor 00031 """ 00032 pass 00033 00034 def roi(self): 00035 """\brief roi() 'pure virtual' method 00036 00037 Condition corresponding to a ROI trigger 00038 \return A boolean 00039 """ 00040 raise NotImplementedError 00041 pass 00042 00043 def calLow(self): 00044 """\brief calLow() 'pure virtual' method 00045 00046 Condition corresponding to a calorimeter low-energy trigger 00047 \return A boolean 00048 """ 00049 raise NotImplementedError 00050 pass 00051 00052 def calHigh(self): 00053 """\brief calHigh() 'pure virtual' method 00054 00055 Condition corresponding to a calorimeter high-energy trigger 00056 \return A boolean 00057 """ 00058 raise NotImplementedError 00059 pass 00060 00061 def tkr(self): 00062 """\brief tkr() 'pure virtual' method 00063 00064 Condition corresponding to a tracker 'three in a row' trigger 00065 \return A boolean 00066 """ 00067 raise NotImplementedError 00068 pass 00069 00070 def periodic(self): 00071 """\brief periodic() 'pure virtual' method 00072 00073 Condition corresponding to a periodic trigger 00074 \return A boolean 00075 """ 00076 raise NotImplementedError 00077 pass 00078 00079 def solicited(self): 00080 """\brief solicited() 'pure virtual' method 00081 00082 Condition corresponding to a solicited trigger 00083 \return A boolean 00084 """ 00085 raise NotImplementedError 00086 pass 00087 00088 def cno(self): 00089 """\brief cno() 'pure virtual' method 00090 00091 Condition corresponding to a CNO trigger 00092 \return A boolean 00093 """ 00094 raise NotImplementedError 00095 pass 00096 00097 def external(self): 00098 """\brief external() 'pure virtual' method 00099 00100 Condition corresponding to an external trigger source 00101 \return A boolean 00102 """ 00103 raise NotImplementedError 00104 pass 00105