FreeHEP API
Version current

hep.graphics.j3d
Class Helix

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Shape3D
                  extended byhep.graphics.j3d.Helix

public class Helix
extends javax.media.j3d.Shape3D

Helix segment in solenoidal magnetic field along z-axis. Parameters are defined in "vertex representation".

Version:
3.0.0
Author:
J.Hrivnac
Source Code:
Helix.java

Field Summary
 
Fields inherited from class javax.media.j3d.Shape3D
ALLOW_APPEARANCE_OVERRIDE_READ, ALLOW_APPEARANCE_OVERRIDE_WRITE, ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
Helix(int charge, double eta, double phi, double pt, double v_phi, double v_rho, double v_z, double mField, int granularity, javax.media.j3d.Appearance appearance)
          Create helix.
 
Method Summary
static void cutAt(double length, double radius)
          Set maximal end point of the helix.
 javax.vecmath.Vector3d end()
          End point of the helix.
 
Methods inherited from class javax.media.j3d.Shape3D
addGeometry, cloneNode, duplicateNode, getAllGeometries, getAppearance, getAppearanceOverrideEnable, getBounds, getCollisionBounds, getGeometry, getGeometry, indexOfGeometry, insertGeometry, intersect, intersect, intersect, numGeometries, removeAllGeometries, removeGeometry, removeGeometry, setAppearance, setAppearanceOverrideEnable, setCollisionBounds, setGeometry, setGeometry
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helix

public Helix(int charge,
             double eta,
             double phi,
             double pt,
             double v_phi,
             double v_rho,
             double v_z,
             double mField,
             int granularity,
             javax.media.j3d.Appearance appearance)
Create helix.

Parameters:
charge - particles' charge
eta - track' polar angle [deg]
phi - track' azimutal angle [deg]
pt - track' pt [GeV]
v_phi - vertex' polar angle [deg]
v_rho - vertex' radial coordinate
v_z - vertex' z coordinate
mField - magnetic field [T]
granularity - number of segments of curves approximations
appearance - object' Appearance
Preconditions:
charge >= -1 && charge <= 1, phi > 0 && phi < 360, pt > 0, v_phi > 0 && v_phi < 360, mField > 0, granularity > 1
Method Detail

end

public javax.vecmath.Vector3d end()
End point of the helix.


cutAt

public static void cutAt(double length,
                         double radius)
Set maximal end point of the helix. The default is 30,12.


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.