Belle II Software  release-05-02-19
AccessingDataStoreModule Class Reference
Inheritance diagram for AccessingDataStoreModule:
Collaboration diagram for AccessingDataStoreModule:

Public Member Functions

def initialize (self)
 
def event (self)
 

Public Attributes

 eventinfo
 
 particles
 

Detailed Description

Definition at line 7 of file 085_module.py.

Member Function Documentation

◆ event()

def event (   self)
Print the event number and the PDG code of the MCParticle

Definition at line 15 of file 085_module.py.

15  def event(self):
16  """Print the event number and the PDG code of the MCParticle"""
17  for particle in self.particles:
18  b2.B2INFO(
19  f"We're in event {self.eventinfo.getEvent()} "
20  f"and have a particle with PDG code {particle.getPDG()}"
21  )
22 
23 
24 # create a path

◆ initialize()

def initialize (   self)
Create a member to access event info and the MCParticles
StoreArray

Definition at line 8 of file 085_module.py.


The documentation for this class was generated from the following file:
ClusterEfficiency.ClusterEfficiency.event
def event(self)
Definition: ClusterEfficiency.py:146