1 / 14

Modeller news

Modeller news. A.Gheata, M.Gheata. Geometry add-ons. New primitive shape implemented: TGeoTorus Algorithms for computing the normal to shape boundaries implemented: ComputeNormal() Global computation of normal to next crossed surface: TGeoManager::FindNormal()

eduardof
Download Presentation

Modeller news

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Modeller news A.Gheata, M.Gheata ALICE off-line week

  2. Geometry add-ons • New primitive shape implemented: TGeoTorus • Algorithms for computing the normal to shape boundaries implemented: ComputeNormal() • Global computation of normal to next crossed surface: TGeoManager::FindNormal() • Ray-tracing utility – useful for both visualization and navigation validation within a given geometry setup: TGeoVolume::Raytrace() • Several minor fixes and improvements in the user interface. • Ongoing work on the users guide A.Gheata, ALICE of-line week

  3. Torus shape • TGeoTorus represent a toroidal tube having phi segmentation • Not really used in geometry descriptions so far (missing in G3?) – still, G4 has one • Defined by 5 parameters: axial radius, inner and outer radii, starting phi and phi range. • All features for this shape are currently fully implemented and tested. A.Gheata, ALICE of-line week

  4. Finding and computing normals • Each primitive shape class implement the algorithm for computing the normal to its closest boundary w.r.t a local point • Assumption – the point is close enough to a surface (next crossed surface is also the closest one) • TGeoManager::FindNormal(point, dir, Bool_t forward) The manager class finds the first crossed boundary -> corresponding node -> corresponding shape. It extrapolates the current track to a “close” point (verifying the assumption), converts the local normal in MARS. • Convention: The dot product of the normal with the current direction is positive defined. • Computed on demand from arbitrary points/directions A.Gheata, ALICE of-line week

  5. Ray tracing • Main motivation: checking and tuning the algorithms for normals computation • Second: validation for all navigation features working together • Third: slower but better visualization • Fourth: possibility to visualize composite shapes • Not last: quite easy to do having everything working • Implementation: shooting rays through each pixel of the pad according the current view parameters, using the simplest illumination model (parallel light coming from back of the observer) A.Gheata, ALICE of-line week

  6. Ray tracing (ctd.) • Ray-traced imaged are produced fast (a couple of seconds for single volume -> ~14 seconds for full ALICE at default canvas size). This scales with the canvas size. • Ray-traced views can be clipped with any shape and support picking, rotating, zooming, output as .gif • Improvements can be made both in performance and capabilities A.Gheata, ALICE of-line week

  7. Validation of navigation features • First thing to do: checking primitive by primitive all shapes -> few fixes • Checking composite shapes A.Gheata, ALICE of-line week

  8. Validation – ctd. • The final step was to check with more complex geometry configurations A.Gheata, ALICE of-line week

  9. TPC A.Gheata, ALICE of-line week

  10. TRD A.Gheata, ALICE of-line week

  11. PHOS A.Gheata, ALICE of-line week

  12. RICH A.Gheata, ALICE of-line week

  13. MUON arm A.Gheata, ALICE of-line week

  14. Conclusions and to-do’s • Normal computation is required by all tracking MC’s -> implementation in VMC classes a matter of days now. This will put the new TGeant3-TGeo version in a validation-ready status. • Ray-tracing becomes a useful tool for both checking and visualization • Next step – resuming the work on FLUKA interface • Users guide required by everybody – work already well on the way A.Gheata, ALICE of-line week

More Related