Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jihee Kim
NPDet
Commits
fc30821c
Commit
fc30821c
authored
Apr 29, 2020
by
Jihee Kim
Browse files
Fixed readout and edited macro files for Geant4 simulation
parent
91909a28
Pipeline
#2785
passed with stage
in 43 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/GenericDetectors/calorimeters/compact/ScintillatingTileEndcapHCAL_example.xml
View file @
fc30821c
...
...
@@ -79,10 +79,9 @@
<!-- Definition of the readout segmentation/definition -->
<readouts>
<readout
name=
"HcalEndcapHits"
>
<id>
system:5,module:14,sensor:2,side:32:-2,strip:24
</id>
<!--<segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />-->
<!--<id>system:8,module:14,layer:10,slice:2,x:48:-8,y:-8</id>-->
<readout
name=
"HcalEndcapHits"
>
<segmentation
type=
"CartesianGridXY"
grid_size_x=
"3.5*cm"
grid_size_y=
"3.5*cm"
/>
<id>
system:8,module:14,layer:10,slice:2,x:48:-8,y:-8
</id>
</readout>
</readouts>
...
...
src/GenericDetectors/calorimeters/compact/macro/gps3.mac
View file @
fc30821c
...
...
@@ -15,12 +15,12 @@
/gps/pos/centre 0.0 0.0 0.0 cm
/gps/pos/radius 0.01 cm
/gps/pos/halfz 0.01 cm
/gps/position 0 0
0
.0
2
cm
/gps/position 0 0
-2
.0 cm
/gps/direction 0 0.
0
7 1.0
/gps/direction 0
.7
0.7 1.0
#/gps/ang/type iso
/control/execute macro/vis3.mac
/run/beamOn
1
/run/beamOn
3
src/GenericDetectors/calorimeters/compact/macro/vis3.mac
View file @
fc30821c
/vis/open OGL 800x800-0+0
/vis/drawVolume
/vis/viewer/set/viewpointThetaPhi
9
0. 0.
/vis/viewer/set/viewpointThetaPhi
18
0. 0.
#/vis/viewer/zoom 30.
#/vis/viewer/set/style wireframe
#/vis/scene/add/axes 0 0 0 1 m
...
...
@@ -10,7 +10,7 @@
/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
/vis/scene/add/hits
/vis/scene/endOfEventAction accumulate
20
0
/vis/scene/endOfEventAction accumulate
1
0
/vis/viewer/flush
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment