![]() |
|
|||
File indexing completed on 2024-04-06 12:23:29
0001 from __future__ import print_function 0002 from PhysicsTools.HeppyCore.framework.analyzer import Analyzer 0003 0004 class Printer(Analyzer): 0005 0006 def beginLoop(self, setup): 0007 super(Printer, self).beginLoop(setup) 0008 self.firstEvent = True 0009 0010 def process(self, event): 0011 if self.firstEvent: 0012 event.input.Print() 0013 self.firstEvent = False 0014 print("printing event", event.iEv, 'var1', event.input.var1) 0015
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |