Public Member Functions | |
event (self) | |
terminate (self) | |
Static Public Attributes | |
file = ROOT.TFile(argvs[2], 'recreate') | |
the output file | |
tgrl = ROOT.TTree('tgrl', 'tree with GRL_Logic') | |
the tree in the output file | |
ntrk_2dfinder_t = array('i', [-1]) | |
#2d finder tracks | |
ntrk_2dfitter_t = array('i', [-1]) | |
#2d fitter tracks | |
ntrk_3dfitter_t = array('i', [-1]) | |
#3d fitter tracks | |
ntrk_NN_t = array('i', [-1]) | |
number of NN tracks | |
ntrk_2Dmatch_t = array('i', [-1]) | |
#2d matched tracks | |
ntrk_3Dmatch_t = array('i', [-1]) | |
#3d matched tracks | |
max_deltphi_2dfinder_t = array('f', [0.0]) | |
max phi angle between two 2d finder tracks | |
cpair_t = array('i', 8 * [0]) | |
number of cluster pairs with different energy threshold | |
int | ncomp_clu = 3 |
number of array components | |
etot_t = array('f', [0.0]) | |
the total deposited cluster energy in ecl | |
ncluster_1000b_t = array('i', [-1]) | |
number of ecl cluster with threshold >1.0GeV, exclude TC ID 1,2, 17 | |
ncluster_2000e_t = array('i', [-1]) | |
ncluster_t = array('i', [-1]) | |
ncluster_neutral_t = array('i', [-1]) | |
max_cluster_neutral_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the largest energetic ecl neutral cluster | |
max_cms_cluster_neutral_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the largest energetic ecl neutral cluster in CMS | |
max_cluster_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the largest energetic ecl cluster | |
max_cms_cluster_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the largest energetic ecl cluster in CMS | |
smax_cluster_neutral_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the secondary energetic ecl neutral cluster | |
smax_cms_cluster_neutral_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the secondary energetic ecl neutral cluster in CMS | |
smax_cluster_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the secondary energetic ecl cluster | |
smax_cms_cluster_t = array('f', ncomp_clu * [0.0]) | |
[energy, theta, phi] of the secondary energetic ecl cluster in CMS | |
max_deltphi_cluster_t = array('f', [0.0]) | |
max delt phi angle between two clusters | |
time_cluster_t = array('f', 100 * [-99999.]) | |
the timing of clusters | |
ntrk_klm_t = array('i', [-1]) | |
number of KLM tracks | |
nhit_klm_t = array('i', [-1]) | |
number of KLM hits | |
npair_tc_t = array('i', [-1]) | |
npair_cc_t = array('i', [-1]) | |
int | nbha_var = 5 |
number of array components | |
bhabha_t = array('i', [0]) | |
bhabha veto logic, 1: bhabha, 0: non bhabha | |
sbhabha_t = array('i', [0]) | |
bhabha with single track veto logic, 1: bhabha, 0: non bhabha | |
eclbhabha_t = array('i', [0]) | |
eclbhabha veto logic, 1: bhabha, 0: non bhabha | |
bhabha_var_t = array('f', nbha_var * [0.0]) | |
variables used in bhabha logic, [Delt_theta, Delt_phi, E1, E2, E1+E2] | |
eclbhabha_var_t = array('f', nbha_var * [0.0]) | |
variables used in eclbhabha logic, [Delt_theta, Delt_phi, E1, E2, E1+E2] | |
This module is to calculate some variables which are useful for the trigger development
Definition at line 361 of file ReadTSIMInfo.py.
event | ( | self | ) |
MCPart = Belle2.PyStoreArray('MCParticles') if len(MCPart)>=4: self.eplus_t[0]=Theta_MCTruth(MCPart[2]) self.eminus_t[0]=Theta_MCTruth(MCPart[3]) if self.eplus_t[0] > self.eminus_t[0]: self.efrd_t[0]=self.eminus_t[0] self.ebkd_t[0]=self.eplus_t[0] else: self.efrd_t[0]=self.eplus_t[0] self.ebkd_t[0]=self.eminus_t[0] count_part = Count_part_inDetector(MCPart) self.n_par_t[0]=count_part[0] self.n_par_t[1]=count_part[1] count_mcpart = Count_mcpart(MCPart) self.n_mcpar_t[0]=count_mcpart[0] self.n_mcpar_t[1]=count_mcpart[1]
Definition at line 477 of file ReadTSIMInfo.py.
terminate | ( | self | ) |
Write and close the file
Definition at line 611 of file ReadTSIMInfo.py.
|
static |
bhabha veto logic, 1: bhabha, 0: non bhabha
Definition at line 426 of file ReadTSIMInfo.py.
variables used in bhabha logic, [Delt_theta, Delt_phi, E1, E2, E1+E2]
Definition at line 432 of file ReadTSIMInfo.py.
|
static |
number of cluster pairs with different energy threshold
Definition at line 382 of file ReadTSIMInfo.py.
|
static |
eclbhabha veto logic, 1: bhabha, 0: non bhabha
Definition at line 430 of file ReadTSIMInfo.py.
variables used in eclbhabha logic, [Delt_theta, Delt_phi, E1, E2, E1+E2]
Definition at line 434 of file ReadTSIMInfo.py.
|
static |
the total deposited cluster energy in ecl
Definition at line 386 of file ReadTSIMInfo.py.
|
static |
the output file
Definition at line 364 of file ReadTSIMInfo.py.
[energy, theta, phi] of the largest energetic ecl neutral cluster
Definition at line 396 of file ReadTSIMInfo.py.
[energy, theta, phi] of the largest energetic ecl cluster
Definition at line 400 of file ReadTSIMInfo.py.
[energy, theta, phi] of the largest energetic ecl neutral cluster in CMS
Definition at line 398 of file ReadTSIMInfo.py.
[energy, theta, phi] of the largest energetic ecl cluster in CMS
Definition at line 402 of file ReadTSIMInfo.py.
|
static |
max phi angle between two 2d finder tracks
Definition at line 380 of file ReadTSIMInfo.py.
|
static |
max delt phi angle between two clusters
Definition at line 412 of file ReadTSIMInfo.py.
|
static |
number of array components
Definition at line 424 of file ReadTSIMInfo.py.
|
static |
number of ecl cluster with threshold >1.0GeV, exclude TC ID 1,2, 17
Definition at line 388 of file ReadTSIMInfo.py.
|
static |
Definition at line 390 of file ReadTSIMInfo.py.
|
static |
Definition at line 394 of file ReadTSIMInfo.py.
|
static |
Definition at line 392 of file ReadTSIMInfo.py.
|
static |
number of array components
Definition at line 384 of file ReadTSIMInfo.py.
|
static |
number of KLM hits
Definition at line 418 of file ReadTSIMInfo.py.
|
static |
Definition at line 422 of file ReadTSIMInfo.py.
|
static |
Definition at line 420 of file ReadTSIMInfo.py.
|
static |
#2d finder tracks
Definition at line 368 of file ReadTSIMInfo.py.
|
static |
#2d fitter tracks
Definition at line 370 of file ReadTSIMInfo.py.
|
static |
#2d matched tracks
Definition at line 376 of file ReadTSIMInfo.py.
|
static |
#3d fitter tracks
Definition at line 372 of file ReadTSIMInfo.py.
|
static |
#3d matched tracks
Definition at line 378 of file ReadTSIMInfo.py.
|
static |
number of KLM tracks
Definition at line 416 of file ReadTSIMInfo.py.
|
static |
number of NN tracks
Definition at line 374 of file ReadTSIMInfo.py.
|
static |
bhabha with single track veto logic, 1: bhabha, 0: non bhabha
Definition at line 428 of file ReadTSIMInfo.py.
[energy, theta, phi] of the secondary energetic ecl neutral cluster
Definition at line 404 of file ReadTSIMInfo.py.
[energy, theta, phi] of the secondary energetic ecl cluster
Definition at line 408 of file ReadTSIMInfo.py.
[energy, theta, phi] of the secondary energetic ecl neutral cluster in CMS
Definition at line 406 of file ReadTSIMInfo.py.
[energy, theta, phi] of the secondary energetic ecl cluster in CMS
Definition at line 410 of file ReadTSIMInfo.py.
|
static |
the tree in the output file
Definition at line 366 of file ReadTSIMInfo.py.
|
static |
the timing of clusters
Definition at line 414 of file ReadTSIMInfo.py.