Belle II Software development
CheckMCParticle Class Reference
Inheritance diagram for CheckMCParticle:

Public Member Functions

 initialize (self)
 
 event (self)
 

Public Attributes

 mcps = ROOT.Belle2.PyStoreArray('MCParticles')
 MCParticles.
 

Detailed Description

Module to check the mass of the dark photon.

Definition at line 18 of file MadGraph_darkphoton_isr.py.

Member Function Documentation

◆ event()

event ( self)
Event.

Definition at line 27 of file MadGraph_darkphoton_isr.py.

27 def event(self):
28 '''Event.'''
29 for mcp in self.mcps:
30 if mcp.getPDG() == 4900023:
31 assert (0.995 < mcp.getMass() < 1.005)
32
33
34# Check the basf2 location

◆ initialize()

initialize ( self)
Initialize.

Definition at line 20 of file MadGraph_darkphoton_isr.py.

20 def initialize(self):
21 '''Initialize.'''
22 import ROOT
23
24 self.mcps = ROOT.Belle2.PyStoreArray('MCParticles')
25 self.mcps.isRequired()
26

Member Data Documentation

◆ mcps

mcps = ROOT.Belle2.PyStoreArray('MCParticles')

MCParticles.

Definition at line 24 of file MadGraph_darkphoton_isr.py.


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