Exemplo n.º 1
0
 def beginLoop(self, setup):
     """Overload this method if you need to create objects or initialize variables
     at the beginning of the processing of the event sample.
    
     If you do so, make sure to execute this method::
     
       super(YourAnalyzerClass, self).beginLoop(setup) 
            
     Automatically called by L{Looper<looper.Looper>}, for all analyzers.        
     """
     self.counters = Counters()
     self.averages = Averages()
     self.mainLogger.info('beginLoop ' + self.cfg_ana.name)
     self.beginLoopCalled = True
Exemplo n.º 2
0
 def beginLoop(self, setup):
     """Automatically called by Looper, for all analyzers."""
     self.counters = Counters()
     self.averages = Averages()
     self.mainLogger.info('beginLoop ' + self.cfg_ana.name)
     self.beginLoopCalled = True