1 /* *************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
20 Old logs: AliGUIMedium.cxx,v $
21 Revision 1.1 2000/07/13 16:19:10 fca
22 Mainly coding conventions + some small bug fixes
24 Revision 1.8 2000/07/12 08:56:32 fca
25 Coding convention correction and warning removal
27 Revision 1.7 2000/06/28 21:27:45 morsch
28 Most coding rule violations corrected.
29 Still to do: Split the file (on file per class) ? Avoid the global variables.
30 Copy constructors and assignment operators (dummy ?)
32 Revision 1.6 2000/04/14 11:07:46 morsch
33 Correct volume to medium assignment in case several media are asigned to the
36 Revision 1.5 2000/03/20 15:11:03 fca
37 Mods to make the code compile on HP
39 Revision 1.4 2000/01/18 16:12:08 morsch
40 Bug in calculation of number of volume divisions and number of positionings corrected
41 Browser for Material and Media properties added
43 Revision 1.3 1999/11/14 14:31:14 fca
44 Correct small error and remove compilation warnings on HP
46 Revision 1.2 1999/11/10 16:53:35 fca
47 The new geometry viewer from A.Morsch
53 * Written by Andreas Morsch
57 * For questions critics and suggestions to this part of the code
58 * contact andreas.morsch@cern.ch
60 **************************************************************************/
62 #include "AliG3Medium.h"
66 AliG3Medium::AliG3Medium()
72 AliG3Medium::AliG3Medium(Int_t imed, Int_t imat, const char* name,
73 Int_t isvol, Int_t ifield,
74 Float_t fieldm, Float_t tmaxfd,
75 Float_t stemax, Float_t deemax,
76 Float_t epsil, Float_t stmin)
77 : TNamed(name, "Medium")
92 void AliG3Medium::Dump()
98 Int_t AliG3Medium::Id()
105 Float_t AliG3Medium::GetPar(Int_t ipar)
107 // Get parameter number ipar
111 } else if(ipar >=23 && ipar <27) {
120 void AliG3Medium::Streamer(TBuffer &)