![]() |
Belle II Software development
|
Public Member Functions | |
initialize (self) | |
event (self) | |
Public Attributes | |
eventinfo = Belle2.PyStoreObj("EventMetaData") | |
an example object from the datastore (the metadata collection for the event) | |
particles = Belle2.PyStoreArray("MCParticles") | |
an example array from the datastore (the list of MC particles) | |
An example of a basf2 module in python which accesses things in the datastore.
Definition at line 7 of file 085_module.py.
event | ( | self | ) |
Print the event number and the PDG code of the MCParticle
Definition at line 19 of file 085_module.py.
initialize | ( | self | ) |
Create a member to access event info and the MCParticles StoreArray
Definition at line 10 of file 085_module.py.
eventinfo = Belle2.PyStoreObj("EventMetaData") |
an example object from the datastore (the metadata collection for the event)
Definition at line 15 of file 085_module.py.
particles = Belle2.PyStoreArray("MCParticles") |
an example array from the datastore (the list of MC particles)
Definition at line 17 of file 085_module.py.