ReadTracer09

From LHEP Wiki
Jump to navigation Jump to search

the process is devided into three parts

  • ReadTracer09.C
  • ReadTracer09.h
  • check_tracer09.C

at the moment, there are all located at /terabig/www/cgi-bin/EventTracer2009/

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()
*  pub for Publication stuff: info_pub()
*  fdk for feedback-file stuff: info_fdk()
* to see all informations: info_all()

check_tracer.C

not yet adapted


variables

info_all()

General Information stuff
* gi_eventid
* gi_brickid
* gi_brickordinal
* gi_eventtype
  - 1 1mu-
  - 2 0mu
  - 3 1mu+
  - 4 2mu
* gi_received_year
* gi_received_month
* gi_received_day
* gi_start_year
* gi_start_month
* gi_start_day
* gi_trial
* gi_mic
* gi_highfogcs
* gi_darkbrick
* gi_nocosmic
* gi_glued
* 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_status
  - 1 TBA
  - 2 waiting
  - 3 scanning
  - 4 scan_done
  - 5 completed
  - 6 pending
  - 7 next_brk
  - 8 give_up
* gi_comments
* gi_latest: flag for latest trial (1 = latest)
CS and TT stuff
* cs_p
* cs_tx
* cs_ty
* cs_ntr: number of tracks in CS
* cs_nmuon: number of muons in CS
* cs_comments
Scanback stuff
* sb_ntr
* sb_nmuon
* sb_status
 - 0 -
 - 1 done
 - 2 doing
 - 3 giveup
 - 4 penet
 - 5 edge
* sb_cali
 - 0 -
 - 1 done
 - 2 doing
 - 3 giveup
* sb_plstart
* sb_plend
* sb_comments
Vertex location stuff
* vtx_totalscanstatus
 - 0 -
 - 1 n/a
 - 2 done
 - 3 doing
* vtx_scanforth
 - 0 -
 - 1 n/a
 - 2 done
 - 3 doing
* vtx_location
 - 0 -
 - 1 yes
 - 2 out
 - 3 othr
 - 4 no
* vtx_year
* vtx_month
* vtx_day
* vtx_plate
* vtx_comments
Publication stuff
* pub_status
 - 0 -
 - 1 local
 - 2 done
 - 3 pend
 - 4 n/a
 - 5 fail
* pub_year
* pub_month
* pub_day
* 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