![]() |
Belle II Software development
|
Public Member Functions | |
initialize (self) | |
terminate (self) | |
fill_truehits (self, phi, p, truehits) | |
event (self) | |
Public Attributes | |
rfile = ROOT.TFile("ClusterEfficiency.root", "RECREATE") | |
Output file to store all plots. | |
list | profiles = [] |
flat list of all profiles for easy access | |
dict | eff = {} |
layer/momentum hierarchy of all profiles | |
Plot Efficiency to find a U and V cluster for each given truehit.
Definition at line 36 of file ClusterEfficiency.py.
event | ( | self | ) |
Update the efficiencies by iterating over all primary particles
Definition at line 151 of file ClusterEfficiency.py.
fill_truehits | ( | self, | |
phi, | |||
p, | |||
truehits ) |
Loop over all truehits for a track with the given angle phi and momentum p and update the efficiency profiles.
Definition at line 110 of file ClusterEfficiency.py.
initialize | ( | self | ) |
Create ROOT TProfiles for all layers and momenta.
Definition at line 41 of file ClusterEfficiency.py.
terminate | ( | self | ) |
Format all profiles and write the ROOT file.
Definition at line 89 of file ClusterEfficiency.py.
dict eff = {} |
layer/momentum hierarchy of all profiles
Definition at line 53 of file ClusterEfficiency.py.
list profiles = [] |
flat list of all profiles for easy access
Definition at line 51 of file ClusterEfficiency.py.
rfile = ROOT.TFile("ClusterEfficiency.root", "RECREATE") |
Output file to store all plots.
Definition at line 48 of file ClusterEfficiency.py.