#include "DumpGeo/DumpGeo.h"
#include "AthenaBaseComps/AthMsgStreamMacros.h"
#include "GeoModelInterfaces/IGeoDbTagSvc.h"
#include "GeoModelUtilities/GeoModelExperiment.h"
#include "GeoModelDBManager/GMDBManager.h"
#include "GeoModelKernel/GeoBox.h"
#include "GeoModelKernel/GeoVDetectorManager.h"
#include "GeoModelKernel/GeoVolumeCursor.h"
#include "GeoModelWrite/WriteGeoModel.h"
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <stdexcept>
#include <vector>
#include "GeoModelKernel/Units.h"
Go to the source code of this file.
|
#define | UNITS GeoModelKernelUnits |
|
#define | gr UNITS::gram |
|
#define | mole UNITS::mole |
|
#define | cm3 UNITS::cm3 |
|
◆ cm3
◆ gr
◆ mole
◆ UNITS
#define UNITS GeoModelKernelUnits |
◆ createTheWorld()
GeoPhysVol* createTheWorld |
( |
| ) |
|
Definition at line 45 of file DumpGeo.cxx.
47 #define gr UNITS::gram
48 #define mole UNITS::mole
49 #define cm3 UNITS::cm3
52 GeoElement* Nitrogen =
53 new GeoElement(
"Nitrogen",
"N", 7.0, 14.0067 *
gr /
mole);
54 GeoElement* Oxygen =
new GeoElement(
"Oxygen",
"O", 8.0, 15.9995 *
gr /
mole);
55 GeoElement* Argon =
new GeoElement(
"Argon",
"Ar", 18.0, 39.948 *
gr /
mole);
56 GeoElement* Hydrogen =
57 new GeoElement(
"Hydrogen",
"H", 1.0, 1.00797 *
gr /
mole);
60 double densityOfAir = 0.001214 *
gr /
cm3;
61 GeoMaterial* air =
new GeoMaterial(
"Air", densityOfAir);
62 air->add(Nitrogen, 0.7494);
63 air->add(Oxygen, 0.2369);
64 air->add(Argon, 0.0129);
65 air->add(Hydrogen, 0.0008);
71 const GeoBox* worldBox =
73 const GeoLogVol* worldLog =
new GeoLogVol(
"WorldLog", worldBox, air);
74 GeoPhysVol* world =
new GeoPhysVol(worldLog);