Пример #1
0
    def __init__(self, message):
        """ Initialization
            Proceed to unpack the message.
        """
        # invoke constructor of parent class
        HiSparc2Event.__init__(self, message)

        # init the trigger rate attribute
        self.eventrate = 0

                self.uploadCode = 'CIC'
Пример #2
0
 def __init__(self, message):
     """Proceed to unpack the message."""
     # invoke constructor of parent class
     HiSparc2Event.__init__(self, message)