Simple algorithm which implicitely book&Fill Event Tag collection
Definition at line 38 of file EvtColWrite.py.
◆ __init__()
def EvtColWrite.EvtColEx.__init__ |
( |
|
self, |
|
|
|
name = "EvtColEx" |
|
) |
| |
Constructor
Definition at line 41 of file EvtColWrite.py.
41 def __init__(self, name="EvtColEx"):
43 TupleAlgo.__init__(self, name)
◆ execute()
def EvtColWrite.EvtColEx.execute |
( |
|
self | ) |
|
The major method 'execute', it is invoked for each event
Definition at line 47 of file EvtColWrite.py.
48 """The major method 'execute', it is invoked for each event"""
51 if 1 == self.s_nEvt % 50:
62 address = self.get(
"/Event")
63 address = address.registry().address()
66 tup = self.evtCol(
"COL1",
"My trivial N-tuple")
68 tup.column(
"Address", address)
70 tup.column(
"evtNum", self.s_nEvt)
71 tup.column(
"runNum", self.s_nRun)
73 tup.column(
"gauss",
gauss())
74 tup.column(
"flat", flat())
75 tup.column(
"expo", expo())
76 tup.column(
"poisson", int(poisson()))
77 tup.column(
"binom", int(binom()))
78 tup.column(
"flag", 0 >
gauss())
◆ s_nEvt
EvtColWrite.EvtColEx.s_nEvt |
◆ s_nRun
EvtColWrite.EvtColEx.s_nRun |
The documentation for this class was generated from the following file: