![]() |
Belle II Software development
|
Public Member Functions | |
initialize (self) | |
sortPeaks (self, unsortedPeaks) | |
pdfHistogram (self, pdf) | |
event (self) | |
terminate (self) | |
Public Attributes | |
trk_selector = Belle2.TOP.TrackSelector("dimuon") | |
track selector - selection of muons from ee->mumu events | |
file = ROOT.TFile(outName, 'recreate') | |
file object | |
bunchOffset = TH1F("bunchOffset", "bunch offset", 100, -1.0, 1.0) | |
histogram of bunch offset | |
h_cth_vs_p | |
histogram cos(theta) vs, momentum | |
h_momentum = TH1F("momentum", "momentum", 100, 0.0, 10.0) | |
histogram of momentum | |
h_cth = TH1F("cos_theta", "local cos #theta", 100, -1.0, 1.0) | |
histogram of cos(theta) | |
h_phi = TH1F("local_phi", "local phi", 100, -math.pi, math.pi) | |
histogram of local phi | |
h_z = TH1F("local_z", "local z", 100, -140.0, 140.0) | |
histogram of local z | |
h_x = TH1F("local_x", "local x", 100, -23.0, 23.0) | |
histogram of local x | |
h_charge = TH1F("charge", "charge", 3, -1.5, 1.5) | |
histogram of charge | |
h_poca_xy | |
histogram of POCA x-y | |
h_poca_z = TH1F("poca_z", "POCA distribution in z", 100, -2.0, 2.0) | |
histogram of POCA z | |
h_hitsCDC = TH1F("cdc_hits", "CDC hits", 100, 0.0, 100.0) | |
histogram of number of hits in CDC | |
h_Ecms = TH1F("Ecms", "c.m.s. energy of muon", 300, 4.5, 6.0) | |
histogram of Ecms | |
tree = ROOT.TTree('tree', 'time resolution') | |
tree object | |
data = TreeStruct() | |
data structure | |
Static Public Attributes | |
int | nhisto = 0 |
histogram counter | |
Makes a flat ntuple
Definition at line 99 of file cdst_timeResoNtuple.py.
event | ( | self | ) |
event processing
Definition at line 203 of file cdst_timeResoNtuple.py.
initialize | ( | self | ) |
initialize: open root file, construct ntuple
Definition at line 105 of file cdst_timeResoNtuple.py.
pdfHistogram | ( | self, | |
pdf ) |
make histogram of PDF peak positions for the first 20 tracks
Definition at line 187 of file cdst_timeResoNtuple.py.
sortPeaks | ( | self, | |
unsortedPeaks ) |
sort PDF peaks according to their positions
Definition at line 181 of file cdst_timeResoNtuple.py.
terminate | ( | self | ) |
terminate: close root file
Definition at line 351 of file cdst_timeResoNtuple.py.
bunchOffset = TH1F("bunchOffset", "bunch offset", 100, -1.0, 1.0) |
histogram of bunch offset
Definition at line 124 of file cdst_timeResoNtuple.py.
data = TreeStruct() |
data structure
Definition at line 167 of file cdst_timeResoNtuple.py.
file = ROOT.TFile(outName, 'recreate') |
file object
Definition at line 121 of file cdst_timeResoNtuple.py.
h_charge = TH1F("charge", "charge", 3, -1.5, 1.5) |
histogram of charge
Definition at line 147 of file cdst_timeResoNtuple.py.
h_cth = TH1F("cos_theta", "local cos #theta", 100, -1.0, 1.0) |
histogram of cos(theta)
Definition at line 135 of file cdst_timeResoNtuple.py.
h_cth_vs_p |
histogram cos(theta) vs, momentum
Definition at line 127 of file cdst_timeResoNtuple.py.
h_Ecms = TH1F("Ecms", "c.m.s. energy of muon", 300, 4.5, 6.0) |
histogram of Ecms
Definition at line 161 of file cdst_timeResoNtuple.py.
h_hitsCDC = TH1F("cdc_hits", "CDC hits", 100, 0.0, 100.0) |
histogram of number of hits in CDC
Definition at line 158 of file cdst_timeResoNtuple.py.
h_momentum = TH1F("momentum", "momentum", 100, 0.0, 10.0) |
histogram of momentum
Definition at line 132 of file cdst_timeResoNtuple.py.
h_phi = TH1F("local_phi", "local phi", 100, -math.pi, math.pi) |
histogram of local phi
Definition at line 138 of file cdst_timeResoNtuple.py.
h_poca_xy |
histogram of POCA x-y
Definition at line 150 of file cdst_timeResoNtuple.py.
h_poca_z = TH1F("poca_z", "POCA distribution in z", 100, -2.0, 2.0) |
histogram of POCA z
Definition at line 155 of file cdst_timeResoNtuple.py.
h_x = TH1F("local_x", "local x", 100, -23.0, 23.0) |
histogram of local x
Definition at line 144 of file cdst_timeResoNtuple.py.
h_z = TH1F("local_z", "local z", 100, -140.0, 140.0) |
histogram of local z
Definition at line 141 of file cdst_timeResoNtuple.py.
|
static |
histogram counter
Definition at line 103 of file cdst_timeResoNtuple.py.
tree = ROOT.TTree('tree', 'time resolution') |
tree object
Definition at line 165 of file cdst_timeResoNtuple.py.
trk_selector = Belle2.TOP.TrackSelector("dimuon") |
track selector - selection of muons from ee->mumu events
Definition at line 115 of file cdst_timeResoNtuple.py.