- bouchet's home page
- Posts
- 2016
- 2015
- December (1)
- November (3)
- October (2)
- September (2)
- August (2)
- June (2)
- April (5)
- March (2)
- February (3)
- January (2)
- 2014
- December (2)
- November (2)
- October (3)
- September (2)
- August (3)
- July (1)
- June (3)
- May (6)
- April (6)
- March (1)
- February (2)
- January (1)
- 2013
- December (2)
- November (3)
- October (3)
- September (4)
- August (1)
- July (1)
- May (4)
- April (6)
- March (4)
- February (3)
- 2012
- 2011
- December (2)
- November (2)
- October (4)
- September (1)
- August (2)
- July (6)
- June (2)
- May (3)
- April (3)
- March (2)
- 2010
- 2009
- December (2)
- November (1)
- October (3)
- September (1)
- August (1)
- July (1)
- June (2)
- April (1)
- March (2)
- February (2)
- January (1)
- 2008
- My blog
- Post new blog entry
- All blogs
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
Groups:
- bouchet's blog
- Login or register to post comments