ATLAS Offline Software
Public Member Functions | List of all members
example_evgenanalysis.MyAna Class Reference
Inheritance diagram for example_evgenanalysis.MyAna:
Collaboration diagram for example_evgenanalysis.MyAna:

Public Member Functions

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

Detailed Description

Definition at line 5 of file example_evgenanalysis.py.

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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 
18 svcMgr.EventSelector.InputCollections = ["mc.evnt.pool.root"]

The documentation for this class was generated from the following file:
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18