Simple algorithm which implicitely book&Fill Event Tag collection
Definition at line 42 of file EvtColWrite.py.
◆ __init__()
def EvtColWrite.EvtColEx.__init__ |
( |
|
self, |
|
|
|
name = "EvtColEx" |
|
) |
| |
Constructor
Definition at line 45 of file EvtColWrite.py.
45 def __init__(self, name="EvtColEx"):
47 TupleAlgo.__init__(self, name)
◆ execute()
def EvtColWrite.EvtColEx.execute |
( |
|
self | ) |
|
The major method 'execute', it is invoked for each event
Definition at line 51 of file EvtColWrite.py.
52 """The major method 'execute', it is invoked for each event"""
55 if 1 == self.s_nEvt % 50:
67 address = self.get(
"/Event")
68 address = address.registry().address()
71 tup = self.evtCol(
"COL1",
"My trivial N-tuple")
73 tup.column(
"Address", address)
75 tup.column(
"evtNum", self.s_nEvt)
76 tup.column(
"runNum", self.s_nRun)
78 tup.column(
"gauss",
gauss())
79 tup.column(
"flat", flat())
80 tup.column(
"expo", expo())
81 tup.column(
"poisson", int(poisson()))
82 tup.column(
"binom", int(binom()))
83 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: