[root] / trunk / geom / geom / inc / TGeoCache.h Repository:
ViewVC logotype

Log of /trunk/geom/geom/inc/TGeoCache.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 43560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 15:58:51 2012 UTC (2 years, 9 months ago) by agheata
File length: 7449 byte(s)
Diff to previous 43155
Final fix for the array of state info objects

Revision 43155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 28 14:27:43 2012 UTC (2 years, 10 months ago) by agheata
File length: 7406 byte(s)
Diff to previous 42982
Added thread id retrieval via TLS. Faster version of TGeoBranchArray. Added getters for specific activity (in Bq/gram) for radioactive elements and materials/mixtures via GetSpecificActivity().

Revision 42982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 13 10:21:23 2012 UTC (2 years, 11 months ago) by agheata
File length: 7358 byte(s)
Diff to previous 22923
Added support structure TGeoStateInfo to communicate stateful navigation data internally. Fully removed locking from TGeoManager and TGeoVoxelFinder.

Revision 22923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 1 12:34:14 2008 UTC (6 years, 9 months ago) by rdm
File length: 7003 byte(s)
Diff to previous 21425
move geom, geombuilder, geompainter and gdml to geom meta directory.

Revision 21425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 17 15:59:27 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 7003 byte(s)
Diff to previous 21301
From Andrei:
Improve the documentation layout such that THtml makes a better rendering.

Revision 21301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 16:21:50 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 6664 byte(s)
Diff to previous 20882
From Andrei:
there was an implicit dependency of TGeoMatrix by TGeoManager.h via TGeoNavigator.h->TGeoCache.h + few other bad dependencies like: TGeoMatrix included by TGeoNode.h via TGeoPatternFinder.h  Hmm... I had to cleanup few inlines, introduce a transient matrix in TGeoNavigator (to recover the lost inlining speed) + add several #include "TGeoMatrix.h" allover where this was included and used via TGeoManager.h

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 6956 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 6956 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 7006 byte(s)
Diff to previous 18946
remove :$ from tag line

Revision 18946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 06:34:47 2007 UTC (7 years, 7 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 7016 byte(s)
Diff to previous 18885
From Andrei & Mihaela:
- TGeoCache.cxx - All obsolete caching options/classes removed. The only remaining 2 classes are TGeoNodeCache and TGeoCacheState. No loss of functionality.

Revision 18885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 25 12:28:38 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 44891 byte(s)
Diff to previous 18457
From Andrei:
GeoManager, TGeoCache = backup current geometry state in case of MANY navigation - fixes some problems in ALICE ITS navigation with GEANT4

Revision 18457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 2 10:32:34 2007 UTC (7 years, 9 months ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 44798 byte(s)
Diff to previous 15134
From Bertrand:
As on Windows, GetFreeSpace is defined as the following macro:
#define GetFreeSpace(w) (0x100000L)
It has to be undefined in TGeoCache.h
(compilation of ROOT Event Viewer (REVE) dictionary fails on Windows)

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 44704 byte(s)
Diff to previous 13282
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 13282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 18 16:07:59 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43542 byte(s)
Diff to previous 12592
From Andrei:
a patch fixing RS2 and RS4 coding conventions violations..

Revision 12592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 2 13:54:38 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 44051 byte(s)
Diff to previous 12560
From Andrei:
a rather big patch containing a fix for the sphere mesh from Mihaela
as well as several other small fixes related to navigation + new methods. Before
doing it I included your code checker-related changes.

Mihaela:
- all sphere types (according rmin,rmax,theta1,theta2,phi1,phi2) have now the
minimum needed set of points/segments/polygons. For instance, the spheres with
rmin=0 does not have anymore the mesh for the inner sphere. Also, if there is no
phi segmentation, you do not have anymore the polygons related to the phi
slices.
- ongoing work for the same for cones (not in this patch)

Andrei:
- memory leak in TGeoPhysicalNode::Align() (hopefully) fixed. Original (ideal)
matrix now kept.
- several fixes in TGeoManager::Safety, TGeoManager::SearchNode for properly
checking all extrusions types MANY->ONLY or ONLY->MANY for all current branch.
- fix for overlapping flag bookkeeping when moving up from a divided node. The
number of MANY's in the current branch is now kept as data member of
TGeoManager. Changes in TGeoCache according to this
- Prototype for TGeoManager::FindNextDaughterBoundary() changed to return
crossed daughter index
- new method TGeoManager::FindNextBoundaryAndStep() that in addition to
computing the distance to next boundary propagates current point and finds the
new location. Changes in the raytracing algorithm to use this - seem to work
properly, but I still have to double-check some geometries.

Revision 12560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 09:58:41 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43684 byte(s)
Diff to previous 11882
Changes to make the rulechecker happy in directory geom and geompainter.

Revision 11882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 12:54:56 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43664 byte(s)
Diff to previous 9028
From Andrei Gheata:
There was a missing protection for the maximum allowed geometry depth which
was fixed to 30 (in your case was 70). Now this depth is automatically
computed (and not limited).

Revision 9028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 26 15:11:13 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43585 byte(s)
Diff to previous 7952
From Andrei Gheata:
  - Bug in TGeoCache.cxx affecting the current global matrix branch when
doing Push/Pop (extremely severe - VMC list should be notified to update
TGeo !)

- Minor bug fix affecting TGeoManager::FindNormalFast()

New development - not yet fully completed - TGeoHelix class. Quoting
from TGeoHelix.cxx:

// A helix provides:
//   - propagation to a given Z position (in global frame)
//   Double_t *point = TGeoHelix::PropagateToZ(Double_t z);
//   - propagation to an arbitrary plane, returning also the new point
//   - propagation in a geometry until the next crossed surface
//   - computation of the total track length along a helix

Revision 7952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 20 15:44:33 2004 UTC (11 years ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43517 byte(s)
Diff to previous 7569
Several improvements from Andrei GHeata.

additional option "i" (reset by default) to CloseGeometry() to have the
node id array built or not.

Revision 7569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 11 15:44:28 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43277 byte(s)
Diff to previous 7390
From Andrei Gheata
- TGeoPgon::DistToIn() - new algorithm 50-200% faster than the old one
(depending on the number of edges) fixing the existing pgon problems
- TGeoPgon::ComputeNormal() - corrected a wrong sign
- TGeoManager::Safety() corrected in case of MANY geometries
- Bug fix raytracing + a minor fix in the calling sequence (now there is
a similar behavior of TGeoVolume:Raytrace/Draw)

Revision 7390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 1 17:53:12 2003 UTC (11 years, 3 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 43259 byte(s)
Diff to previous 6725
From Andrei Gheata:

several bug fixes.

Revision 6725 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 17 09:13:56 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 42933 byte(s)
Diff to previous 6304
New version of the geometry package from Andrei/Mihaela

TGeoArb8 - pictures added
TGeoBBox - doc, pictures
TGeoCache - id array for physical nodes
TGeoCompositeShape - doc added
TGeoCone - pictures, bug fiz in Z divisions, correction in 'safety'
TGeoEltu - pict. added
TGeoManager - registration of matrices, unique volume id's
TGeoMatrix - copy ctors., = and * operators, improvements, extensive doc.
TGeoNode - doc added
TGeoPara - pictures
TGeoPatternFinder - registration of pattern matrices
TGeoPcon - fix in Z divisions, fix in 'safety', pictures
TGeoPgon - same as Pcon
TGeoShape - doc added
TGeoSphere, Trd1,2, Tube - pictures added
TGeoVolume - doc updated

TGeoChecker - doc., improvement of extrusions checker by Mihaela
TGeoPainter - does not create polygons array in X3dBuffers when drawing
in pad
TGeoTrack - compilation warnings fixed

Revision 6304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 14 11:49:03 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 42473 byte(s)
Diff to previous 6087
From Andrei:
Add support for positioning
parametrized boxes into : TRAP, GTRA, PARA, TRD1 and TRD2. Now in D0
there are only 793 extrusions/overlaps within 0.1 cm.

Revision 6087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 11 12:17:20 2003 UTC (11 years, 11 months ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41754 byte(s)
Diff to previous 5994
remove unused variable and argument warnings spotted by MacOS X.

Revision 5994 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 27 18:04:47 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41734 byte(s)
Diff to previous 5993
add a second argument to TGeoManager::GetBranchNumbers to also return the
volume serial numbers in addition to the volume copy numbers.
Add a new data member fNumber in TGeoVolume. fNumber is the volume
serial number in the list of volumes as returned by AddVolume.

Revision 5993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 27 13:16:26 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41682 byte(s)
Diff to previous 5903
Update to the geometry package to support copy numbers in TGeoNode.

Revision 5903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 13 20:52:45 2003 UTC (12 years ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41303 byte(s)
Diff to previous 5851
From Andrei:
Implement an option "dummy cache"

Revision 5851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 11:24:55 2003 UTC (12 years ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41189 byte(s)
Diff to previous 5798
Replace members fBits by fBitsArray

Revision 5798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 11 17:10:20 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41179 byte(s)
Diff to previous 5729
From Andrei:
attached the last version, with bug fixes in tracking. Now you can do
lego plots for everything in alice. It does not do extra steps (except
very seldom in ITS in som very thin tubes - 1 extra step to cross). Much
more stable. I temporarly disabled TGeoVolume::CheckGeometry from the
context menu of volumes since it seems to have a bug that I need to fix.
 Much better version in computing distances.

Revision 5729 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 3 17:42:59 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41094 byte(s)
Diff to previous 5723
still some unused argument warnings on MacOS X.

Revision 5723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 3 16:01:41 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41403 byte(s)
Diff to previous 5354
New version of the geometry package from Andrei:
Fixes to compile with no warnings with the option -ansi -pedantic
It also includes bug fixes for Trd1,2,  cone and pcon DistToIn/Out
algorithms.

Revision 5354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 16:16:06 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41191 byte(s)
Diff to previous 4918
New version of the geometry package by Andrea & Mihaela Gheata
New features:
 -I/O for all geometry classes. For example, to save/restore a geometry structure,
   TFile f("mygeom.root","recreate");
   gGeoManager->Write("mygeom");
  and to read it back;
   TFile f("mygeom.root");
   f.Get("myGeom");
   gGeoManager->CloseGeometry();

 -Composite shapes fully implemented (no visualisation yet).
  A composite shape is built out of basic shapes and transformations via
  a simple formula mechanism, eg assuming a TGeoTube "tub1" and a TGeoMatrix "r1",
  we can build a composite shape with:
    TGeoCompositeShape *comp = new TGeoCompositeShape("comp",formula); where
    char* formula="tub1+tub1:r1"
  This will create the union of a tube with itself rotated.
  The operators recognized by the geometry formula parser are "+","-","*"
  for union, subtraction and intersection respectively. The colon ":" can be
  used to specify a transformation for a given component.

 -The voxelisation in cylindrical coordinates added as an optional optimisation
  algorithm.

 -Some bug fixes and several improvements in the tracking-related algorithms.

Revision 4918 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 15 15:32:25 2002 UTC (12 years, 6 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41063 byte(s)
Diff to previous 4874
New version of the geometry package by Andrei.
All graphics moved to geompainter (hopefully)

Revision 4874 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 10 19:24:17 2002 UTC (12 years, 6 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41656 byte(s)
Diff to previous 4847
A new iteration to port the geometry package on different systems.
Progress towards ROOT naming and style conventions
Add constness in most classes (work not yet completed).

Revision 4847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 9 14:27:57 2002 UTC (12 years, 6 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41983 byte(s)
Diff to previous 4844
Fix portability problems (alpha/cxx)

Revision 4844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 9 13:50:26 2002 UTC (12 years, 6 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41982 byte(s)
Diff to previous 4841
Fix portability problems.

Revision 4841 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jul 9 13:08:12 2002 UTC (12 years, 6 months ago) by brun
Original Path: trunk/geom/inc/TGeoCache.h
File length: 41982 byte(s)
Add new geometry package

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9