Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] Visualization

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: Abhisek Sen <sen.abhisek AT gmail.com>
  • To: sphenix-software-l AT lists.bnl.gov
  • Subject: [Sphenix-software-l] Visualization
  • Date: Thu, 8 Oct 2015 13:44:30 -0400

Hello all,
     After the software meeting last Tuesday, I realized it would be better to have a nice and interactive visualization of our Geant4 setup. It will give us a better understanding on whats going on. The visualization we get running the "vis.mac" is very poor. So I converted sPHENIX Geant4 geometry to a TGeo root file via GDML(http://gdml.web.cern.ch/GDML/). This also opens up the possibility of storing the geometry in GDML/TGeo object in a later stage.

To get the interactive visualization you only have to do, (in RCF)
root.exe /direct/phenix+sim01/sPHENIX/sunywrk/abhisek/vis/sphenix_geom.C

It reads the geometry file /direct/phenix+sim01/sPHENIX/sunywrk/abhisek/vis/sphenix_geom.root . This does not depend on your setup, only needs root. You can just copy the macro and root file to your laptop to get better visualization. No need of sPHENIX environment. It looks better in my mac because of better graphics card. You can see some pictures below.

I will show more details in next software meeting.
Cheers,
Abhisek












Archive powered by MHonArc 2.6.24.

Top of Page