Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
34
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
EIC
detectors
athena
Commits
7684b4f1
Commit
7684b4f1
authored
3 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Fix EcalEndcapN so the blocks are sensitive again
parent
67b88f09
No related branches found
No related tags found
1 merge request
!172
Fix EcalEndcapN so the blocks are sensitive again
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/HybridCalorimeter_geo.cpp
+2
-0
2 additions, 0 deletions
src/HybridCalorimeter_geo.cpp
with
2 additions
and
0 deletions
src/HybridCalorimeter_geo.cpp
+
2
−
0
View file @
7684b4f1
...
@@ -80,10 +80,12 @@ static Ref_t create_detector(Detector& desc, xml::Handle_t handle, SensitiveDete
...
@@ -80,10 +80,12 @@ static Ref_t create_detector(Detector& desc, xml::Handle_t handle, SensitiveDete
Box
glass_box
(
"glass_box"
,
Glass_Width
*
0.5
,
Glass_Width
*
0.5
,
Glass_Thickness
*
0.5
);
Box
glass_box
(
"glass_box"
,
Glass_Width
*
0.5
,
Glass_Width
*
0.5
,
Glass_Thickness
*
0.5
);
Volume
glass_module
(
"glass_module"
,
glass_box
,
glass_material
);
Volume
glass_module
(
"glass_module"
,
glass_box
,
glass_material
);
glass_module
.
setVisAttributes
(
desc
.
visAttributes
(
"EcalEndcapNModuleVis"
));
glass_module
.
setVisAttributes
(
desc
.
visAttributes
(
"EcalEndcapNModuleVis"
));
glass_module
.
setSensitiveDetector
(
sens
);
Box
crystal_box
(
"crystal_box"
,
Crystal_Width
*
0.5
,
Crystal_Width
*
0.5
,
Crystal_Thickness
*
0.5
);
Box
crystal_box
(
"crystal_box"
,
Crystal_Width
*
0.5
,
Crystal_Width
*
0.5
,
Crystal_Thickness
*
0.5
);
Volume
crystal_module
(
"crystal_module"
,
crystal_box
,
crystal_material
);
Volume
crystal_module
(
"crystal_module"
,
crystal_box
,
crystal_material
);
crystal_module
.
setVisAttributes
(
desc
.
visAttributes
(
"EcalEndcapNModuleVis"
));
crystal_module
.
setVisAttributes
(
desc
.
visAttributes
(
"EcalEndcapNModuleVis"
));
crystal_module
.
setSensitiveDetector
(
sens
);
// GLASS
// GLASS
double
diameter
=
2
*
Glass_OuterR
;
double
diameter
=
2
*
Glass_OuterR
;
...
...
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