Definition at line 5 of file example_evgenanalysis.py.
◆ __init__()
| example_evgenanalysis.MyAna.__init__ |
( |
| self, |
|
|
| name = "MyAna" ) |
Definition at line 7 of file example_evgenanalysis.py.
7 def __init__(self, name="MyAna"):
8 super(MyAna, self).__init__(name=name)
9
◆ execute()
| example_evgenanalysis.MyAna.execute |
( |
| self | ) |
|
Definition at line 10 of file example_evgenanalysis.py.
10 def execute(self):
11 evtcoll = self.evtStore[self.McEventKey]
12 evt = evtcoll[0]
13
14 print evt.particles_size(), ":", [w for w in evt.weights()]
15 return StatusCode.Success
16
17
◆ InputCollections
| example_evgenanalysis.MyAna.InputCollections |
|
static |
The documentation for this class was generated from the following file: