ATLAS Offline Software
Loading...
Searching...
No Matches
example_evgenanalysis.MyAna Class Reference
Inheritance diagram for example_evgenanalysis.MyAna:
Collaboration diagram for example_evgenanalysis.MyAna:

Public Member Functions

 __init__ (self, name="MyAna")
 execute (self)

Static Public Attributes

 InputCollections

Detailed Description

Definition at line 5 of file example_evgenanalysis.py.

Constructor & Destructor Documentation

◆ __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

Member Function Documentation

◆ 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 #evt.weights().push_back(3.142)
14 print evt.particles_size(), ":", [w for w in evt.weights()]
15 return StatusCode.Success
16
17

Member Data Documentation

◆ InputCollections

example_evgenanalysis.MyAna.InputCollections
static

Definition at line 18 of file example_evgenanalysis.py.


The documentation for this class was generated from the following file: