PXL Event display

  • It uses StuDraw3DEvent class (V. Fine : http://www.star.bnl.gov/public/comp/vis/StDraw3D/)
  • StuDraw3DEvent has been modified to include StPxlHit
  • real data : st_pxl_14137092_raw_0120001.event.root, event #5, 4 PXL hits used in tracking
  • to investigate : display geometry volume 

XY view



XYZ view




XY view zoomed  :4 PXL hits are seen




note : Color of tracks depends on their Pt :

Color_t trackColor = Stdraw3DStyle::Pt2Color(pt);

II Adding the PXL, IST and SSD geometry
a) needs the .iv files (ascii files) for these detectors
how to : use $STAR/StRoot/macros/graphics/GeomBrowse.C
Then select a subsystem , open the Coin3D viewer and save it as .iv
b) when running the event display :

root4star [0] .x Load.C                                                               

root4star [1] .x StRoot/macros/bfc.C(0,"doevents","../test_dev14_10tracks.event.root")   

root4star [2] chain->MakeEvent()

root4star [3] StEvent *event = (StEvent *)chain->GetDataSet("StEvent")                

root4star [4] gEventDisplay->AddDetectors("TPC")                                      

root4star [5] gEventDisplay->AddDetectors("SSD")

root4star [6] gEventDisplay->AddDetectors("IST")

root4star [7] gEventDisplay->AddDetectors("PXL")

root4star [8] gEventDisplay->SetBkColor(kWhite)                                       

root4star [9] gEventDisplay->Hits(event,kUsedHitsTracks);      


The commands line in red are used to include the .iv files of the TPC, SSD, IST and PXL
For now they have to be in the current directory