[root] / trunk / geom / geom / src / TGeoMedium.cxx Repository:
ViewVC logotype

Log of /trunk/geom/geom/src/TGeoMedium.cxx

Parent Directory Parent Directory


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

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 5448 byte(s)
Diff to previous 38196
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 38196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 16:03:43 2011 UTC (3 years, 11 months ago) by agheata
File length: 5388 byte(s)
Diff to previous 36535
Class documentation added

Revision 36535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 8 14:41:54 2010 UTC (4 years, 2 months ago) by agheata
File length: 4759 byte(s)
Diff to previous 35702
Changed Form() to TString::Format() everywhere

Revision 35702 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 09:10:38 2010 UTC (4 years, 4 months ago) by agheata
File length: 4748 byte(s)
Diff to previous 34893
Another set of Dangerous_coding Coverity fixes

Revision 34893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 15:15:54 2010 UTC (4 years, 5 months ago) by agheata
File length: 4736 byte(s)
Diff to previous 22923
Fixed uninitialized array, coverity #21471

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: 4639 byte(s)
Diff to previous 20882
move geom, geombuilder, geompainter and gdml to geom meta directory.

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/src/TGeoMedium.cxx
File length: 4639 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/src/TGeoMedium.cxx
File length: 4639 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/src/TGeoMedium.cxx
File length: 4692 byte(s)
Diff to previous 17621
remove :$ from tag line

Revision 17621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 16:19:01 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4702 byte(s)
Diff to previous 15742
Add missing include TList.h

Revision 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4683 byte(s)
Diff to previous 15672
From Eddy:
Fix many typos in comments

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4677 byte(s)
Diff to previous 15172
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 17:11:54 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4669 byte(s)
Diff to previous 15134
Fix coding conventions violations

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/src/TGeoMedium.cxx
File length: 4612 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/src/TGeoMedium.cxx
File length: 4063 byte(s)
Diff to previous 12883
From Andrei:
a patch fixing RS2 and RS4 coding conventions violations..

Revision 12883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 06:54:51 2005 UTC (9 years, 3 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4062 byte(s)
Diff to previous 12354
From Andrei:
new class TGeoScaledShape + the modifications
needed to compile it. There are also some minor fixes.

A scaled shape can be any basic or composite shape for which you
apply a scaling transformation. If a volume has a scaled shape it
does not imply that its nodes are scaled (the scale applies ONLY
to the shape itself). To define a scaled shape:

  TGeoShape *non_scaled = ...; // define a shape
  TGeoScale *scale = new TGeoScale(sx,sy,sz);
    // sx,sy,sz are scaling factors on each axis (non-zero)
  TGeoShape *scaled_shape = new TGeoScaledShape(non_scaled, scale);
   // the scaled shape is ready to use

Revision 12354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 20 13:18:35 2005 UTC (9 years, 6 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4064 byte(s)
Diff to previous 12048
Protection added in TGeoMedium constructor in case the referenced material
does not exist.

Revision 12048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 14 15:47:02 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4050 byte(s)
Diff to previous 11076
From Andrei Gheata:
Named constructors for volumes, materials and media strip trailing blanks. Some getters at
the level of TGeoManager using FindObject also strip trailing blanks. This cannot be fully
generalized since the user can always iterate himself and get into problems if the query
string contains blanks.

Revision 11076 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 9 13:30:27 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 3998 byte(s)
Diff to previous 11028
From Mihaela Gheata;

- divisions supporting SavePrimitive
- main SavePrimitive loop implemented at level of TGeoVolume
   - user interface: TGeoVolume::SaveAs(const char *filename); having *MENU*
   - can be called from the browser for any volume:
     the resulting file will have a geometry starting with the selected
     volume as TOP.
   - should work with TPad::SavePrimitive(ofstream out, Option_t *option)
   - not tested however

From Andrei:
I did some changes in TGeoCombiTrans to support a shared rotation matrix.
I also fixed a bug in TGeoTube::GetMakeRuntimeShape (and tube segment)
that produced wrong shapes in case one of the initial parameters was negative.

Revision 11028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 3 11:40:39 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 4151 byte(s)
Diff to previous 5849
From Andrei Gheata:
The diffs for the changes from Mihaela. They implement the SavePrimitive method for:
- all shapes
- materials, mixtures and media
- matrices
- TGeoVolume - just a first version

What is missing:
Divisions + manager metod to save:
- all geometry
- just the branch corresponding to one volume

The differences compared to g2root are that:
- when saving just a a branch just materials/media/matrices for that branch are created (module encapsulation)
- instead of creating objects with numerical arguments, the coresponding variables are defined and used.
 e.g. instead of :
   new TGeoBBox("name", 10.,20.,30); the generated code is:

   dx = 10.;
   dy = 20.;
   dz = 30.;
   pShape = new TGeoBBox("name", dx,dy,dz);


The diffs contain also 2 shapes with boundary-safe algorithms: TGeoPara and TGeoTrap

Revision 5849 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jan 6 17:06:25 2003 UTC (12 years ago) by brun
Original Path: trunk/geom/src/TGeoMedium.cxx
File length: 2581 byte(s)
Add new class to the 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