Message: Rectangular artifact when visualizing in 3D Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Rectangular artifact when visualizing in 3D 

Forum: Analysis
Date: 18 Mar, 2014
From: Neil Fazel <Neil Fazel>

I see what seems like a rectangular artifact when visualizing positions of particles emerging from a 
target in 3D using ntuple->Draw("x:y:z"). This feature doesn't exist in the geometry of the simulation 
(20 MeV electrons scattering in thin layers of Mylar, phosphor, and ferrite) and doesn't show up in the 
2D visualization of the data using using ntuple->Draw("x:y"). 

I have attached a 4-panel image to show this. (I have used the same mm scale for all axes). The top 
rows show 2D data (original and magnified), where the position data have circular symmetry as 
expected and there is no rectangular feature. The bottom row show same data in 3D from 2 different 
angles. There is a feature which is 80 mm in extent in the X direction which doesn't appear in the 2D 
data.

Where is this coming from? 

Thank you for helping out.

Neil


Root commands used to create the attached images:

root [0] TFile f("geant4_output_4_9_6_electron.root")
root [1] c1=new TCanvas("c1", "geant4.9.6")
root [11] c1->Divide(2,2)
root [12] c1->cd(1)
root [13] ntuple->Draw("x:y")
root [14] c1->cd(2) 
root [15] ntuple->Draw("x:y","x>-5 && x<5 && y>-5 && y<5")
root [16] c1->cd(3) 
root [17] ntuple->Draw("x:y:z") 
root [18] c1->cd(4) 
root [19] ntuple->Draw("x:y:z")
root [23] c1->SaveAs("geant4.9.6_2D_vs_3D_4panels.png")

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/03/18/22.59-33935-.9.6_2D_vs_3D_4panels.png

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Rectangular artifact when visualizing in 3D   (C Mos - 19 Mar, 2014)
(_ Feedback: Re: Rectangular artifact when visualizing in 3D   (Neil Fazel - 19 Mar, 2014)
(_ Feedback: Re: Rectangular artifact when visualizing in 3D   (Neil Fazel - 20 Mar, 2014)
 Add Message Add Message
to: "Rectangular artifact when visualizing in 3D"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]