]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant3/AliG3Material.cxx
TFluka, THerwig and HERWIG added.
[u/mrichter/AliRoot.git] / AliGeant3 / AliG3Material.cxx
CommitLineData
a524cc6b 1/* *************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16/*
17$Log$
18Revision 1.1 2001/07/09 11:41:46 morsch
19AliGUIMedium, AliGUIMaterial and AliDrawVolume obselete. Development continues
20on AliG3Material, AliG3Medium and AliG3Volume.
21
22*/
23
24/*
25Old Logs: AliGUIMaterial.cxx,v $
26Revision 1.1 2000/07/13 16:19:10 fca
27Mainly coding conventions + some small bug fixes
28
29Revision 1.8 2000/07/12 08:56:32 fca
30Coding convention correction and warning removal
31
32Revision 1.7 2000/06/28 21:27:45 morsch
33Most coding rule violations corrected.
34Still to do: Split the file (on file per class) ? Avoid the global variables.
35Copy constructors and assignment operators (dummy ?)
36
37Revision 1.6 2000/04/14 11:07:46 morsch
38Correct volume to medium assignment in case several media are asigned to the
39same material.
40
41Revision 1.5 2000/03/20 15:11:03 fca
42Mods to make the code compile on HP
43
44Revision 1.4 2000/01/18 16:12:08 morsch
45Bug in calculation of number of volume divisions and number of positionings corrected
46Browser for Material and Media properties added
47
48Revision 1.3 1999/11/14 14:31:14 fca
49Correct small error and remove compilation warnings on HP
50
51Revision 1.2 1999/11/10 16:53:35 fca
52The new geometry viewer from A.Morsch
53
54*/
55
56/*
57 * Version: 0
58 * Written by Andreas Morsch
59 *
60 *
61 *
62 * For questions critics and suggestions to this part of the code
63 * contact andreas.morsch@cern.ch
64 *
65 **************************************************************************/
66
67#include "AliG3Material.h"
68
69ClassImp(AliG3Material)
70AliG3Material::AliG3Material(char* name, char* title,
71 Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t intl):
72 TMaterial(name, title, a, z, dens, radl, intl)
73{
74 fId=-1;
75}
76
77
78void AliG3Material::Dump()
79{
80// Dump material information
81 printf("\n *****************************************");
82 printf("\n Material Number: %10d", fId);
83 printf("\n %s", GetName());
84 printf("\n Mass Number: %10.2f", fA);
85 printf("\n Charge Number: %10.2f", fZ);
86 printf("\n Density: %10.2f", fDensity);
87 printf("\n Radiation Length: %10.2f", fRadLength);
88 printf("\n Absorption Length: %10.2f", fInterLength);
89}
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104