Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GeoModelDev
GeoModel
Commits
69a7a7ad
Commit
69a7a7ad
authored
1 year ago
by
Joshua Falco Beirer
Committed by
Marilena Bandieramonte
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed approximate definition of air used for world volume material
parent
21a803f4
No related branches found
No related tags found
1 merge request
!212
Fixed approximate definition of air used for world volume material
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FullSimLight/src/FSLDetectorConstruction.cc
+11
-11
11 additions, 11 deletions
FullSimLight/src/FSLDetectorConstruction.cc
with
11 additions
and
11 deletions
FullSimLight/src/FSLDetectorConstruction.cc
+
11
−
11
View file @
69a7a7ad
...
...
@@ -119,17 +119,17 @@ GeoVPhysVol* FSLDetectorConstruction::CreateTheWorld(GeoVPhysVol* world)
// Setup the 'World' volume from which everything else will be suspended
// Get the materials that we shall use.
// -------------------------------------//
GeoMaterial
*
Air
=
new
GeoMaterial
(
"Air"
,
1.290
*
SYSTEM_OF_UNITS
::
mg
/
SYSTEM_OF_UNITS
::
cm3
);
GeoElement
*
Ox
i
gen
=
new
GeoElement
(
"Oxygen"
,
"O"
,
8.0
,
1
6.0
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
GeoElement
*
Nitrogen
=
new
GeoElement
(
"Nitrogen"
,
"N"
,
7.
,
14.00
67
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
//
Geo
Material* Ether=new GeoMaterial("Ether", 1e-25
*SYSTEM_OF_UNITS::g/SYSTEM_OF_UNITS::
cm3
);
// GeoElement* vacuum = new GeoElement("vacuum", "Mt", 1, 1);
//
Ethe
r->add(
vacuum, 1.0
);
//
Ether->lock(
);
Air
->
add
(
Nit
rogen
,
.
8
);
Air
->
add
(
Oxigen
,
.2
);
GeoMaterial
*
Air
=
new
GeoMaterial
(
"Air"
,
1.290
*
SYSTEM_OF_UNITS
::
mg
/
SYSTEM_OF_UNITS
::
cm3
);
GeoElement
*
Ox
y
gen
=
new
GeoElement
(
"Oxygen"
,
"O"
,
8.0
,
1
5.9949
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
GeoElement
*
Nitrogen
=
new
GeoElement
(
"Nitrogen"
,
"N"
,
7.
,
14.00
31
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
GeoElement
*
Argon
=
new
GeoElement
(
"Argon"
,
"Ar"
,
18.
,
39.9624
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
Geo
Element
*
Hydrogen
=
new
GeoElement
(
"Hydrogen"
,
"H"
,
1.
,
1.00782503081372
*
SYSTEM_OF_UNITS
::
g
/
SYSTEM_OF_UNITS
::
mole
);
Ai
r
->
add
(
Nitrogen
,
0.7494
);
Air
->
add
(
Oxygen
,
0.2369
);
Air
->
add
(
Argon
,
0.0129
);
Air
->
add
(
Hyd
rogen
,
0.000
8
);
Air
->
lock
();
const
GeoBox
*
worldBox
=
new
GeoBox
(
2000
*
SYSTEM_OF_UNITS
::
cm
,
2000
*
SYSTEM_OF_UNITS
::
cm
,
4000
*
SYSTEM_OF_UNITS
::
cm
);
const
GeoLogVol
*
worldLog
=
new
GeoLogVol
(
"WorldLog"
,
worldBox
,
Air
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment