ReadTracer08
Jump to navigation
Jump to search
Read Event Tracer and check data
the process is devided into three parts
- ReadTracer.C
- ReadTracer.h
- check_tracer.C
at the moment, there are all located at /terabig/www/cgi-bin/EventTracer2008/
ReadTracer.C
creates a EventTracer.root file with a TTree structure from the current EventTracer information, the different variables can be called by info_all()
root -l ReadTracer.C root [1] CreateFile()
Infos about the ReadTracer.C script: * TTree: tracer * gi for General Information stuff: info_gi() * cs for CS and TT stuff: info_cs() * sb for Scanback stuff: info_sb() * vtx for Vertex location stuff: info_vtx() * tr for tracks on Vertex stuff: info_tr() * sf for ScanForth stuff: info_sf() * ds for Decay search and more stuff: info_ds() * pub for Publication stuff: info_pub() * fdk for feedback-file stuff: info_fdk() * to see all informations: info_all()
check_tracer.C
use this to define and create your plots... some standard plots can be created with this
root -l check_tracer.C root [0] Processing check_tracer.C... EventTracer.root initialized number of entries: 6 file created on Wed Sep 9 11:05:10 2009 use info() for help plot(): creates plots and table * plot_plate_number() * plot_track_multiplicity() * table(): creates table of Bern events * bricklist_tracer(): creates located bricklist of Bern events from tracer file information * bricklist(): creates located bricklist of Bern events from feedback file information * bricklist_DB(int published = 1, int printonscreen = 0): creates list of bricks that are published (1=local, 2=done) * mycheck(version, gi_shifterID): checks your bricks with the user gi_shifterID * move(): moves all stuff to lheppc46.unibe.ch/Tracer * ...feel free to add any plots
Variables
info_all()
General Information stuff * gi_eventid * gi_brickid * gi_status - 1 TBA - 2 waiting - 3 scanning - 4 scan_done - 5 completed - 6 pending - 7 next_brk - 8 give_up * gi_eventtype - 1 1mu- - 2 0mu - 3 1mu+ - 4 2mu * gi_mic * gi_latest: flag for latest trial (1 = latest) * gi_brickordinal * gi_blackcs * gi_trial * gi_comments * gi_shifter * gi_shifterID - 1 Akitaka - 2 Ciro - 3 Frank - 4 Frederic - 5 Guillaume - 6 Igor - 7 Jonas - 8 Res - 9 Thomas - 10 Tomoko * gi_start_year * gi_start_month * gi_start_day
CS and TT stuff * cs_ntr: number of tracks in CS * cs_nmuon: number of muons in CS * cs_p * cs_tx * cs_ty * cs_comments
Scanback stuff * sb_ntr * sb_nmuon * sb_status - 0 - - 1 done - 2 doing - 3 giveup - 4 penet - 5 edge * sb_plstart * sb_plend * sb_comments
Vertex location stuff * vtx_totalscanstatus - 1 n/a - 2 done - 3 doing * vtx_location - 0 - - 1 yes - 2 out - 3 othr - 4 no * vtx_multi * vtx_micronup * vtx_plate * vtx_pritrnumber * vtx_x * vtx_y * vtx_z * vtx_comments
track on vertex related stuff * tr_flag: if 1 it exist (by default the vector of all tr_ is 50 * tr_x * tr_y * tr_z * tr_tx * tr_ty * tr_ip * tr_p * tr_pmin * tr_pmax * tr_mu : flag, 1 = yes * tr_e : flag, 1 = yes * tr_pair : flag, 1 = yes * tr_gray : flag, 1 = yes * tr_black : flag, 1 = yes * tr_sfresult - 0 - - 1 n/a - 2 passing - 3 edge-out - 4 2ry-int - 5 decay - 6 stop * tr_sfcomment * tr_first * tr_last
ScanForth stuff * sf_status - 0 - - 1 n/a - 2 done - 3 doing * sf_comments
Decay search and more stuff * ds_comments
Publication stuff * pub_status - 0 - - 1 local - 2 done - 3 pend - 4 n/a - 5 fail * pub_comments
Feedback-file stuff * fdk_exist : 0=no, 1=yes * fdk_nvtx : number of vertex (1st=primary, rest for secondary interaction) * fdk_ntr : including tracks from secondary interaction * fdk_vtx_id : id of vertex, 1st is first in feedback file * fdk_vtx_x * fdk_vtx_y * fdk_vtx_z * fdk_vprimary : 0=no, 1=yes is primary vertex * fdk_charm * fdk_tau * fdk_trid : track id * fdk_tridup : id of upstream vertex * fdk_triddown : id of downstream vertex * fdk_trx * fdk_try * fdk_trz * fdk_tx * fdk_ty * fdk_ip : ip in respect to upstream vertex * fdk_ipdown : ip in respect to downstream vertex * fdk_p * fdk_pmin * fdk_pmax * fdk_manual * fdk_muon * fdk_sb * fdk_darkness * fdk_brick