Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
9a69cae4
Commit
9a69cae4
authored
3 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
modified: src/CylinderTrackerBarrel_geo.cpp
parent
5a303cd5
Branches
test
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!153
Disabling Vertex Barrel Acts
,
!152
Draft: testing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CylinderTrackerBarrel_geo.cpp
+9
-9
9 additions, 9 deletions
src/CylinderTrackerBarrel_geo.cpp
with
9 additions
and
9 deletions
src/CylinderTrackerBarrel_geo.cpp
+
9
−
9
View file @
9a69cae4
...
...
@@ -25,9 +25,9 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h
string
det_name
=
x_det
.
nameStr
();
DetElement
sdet
(
det_name
,
det_id
);
Acts
::
ActsExtension
*
barrelExtension
=
new
Acts
::
ActsExtension
();
barrelExtension
->
addType
(
"barrel"
,
"detector"
);
sdet
.
addExtension
<
Acts
::
ActsExtension
>
(
barrelExtension
);
//
Acts::ActsExtension* barrelExtension = new Acts::ActsExtension();
//
barrelExtension->addType("barrel", "detector");
//
sdet.addExtension<Acts::ActsExtension>(barrelExtension);
Assembly
assembly
(
det_name
);
map
<
string
,
Volume
>
mod_volumes
;
...
...
@@ -120,10 +120,10 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h
Volume
m_env
=
mod_volumes
[
m_nam
];
DetElement
lay_elt
(
sdet
,
_toString
(
x_layer
.
id
(),
"layer%d"
),
lay_id
);
Acts
::
ActsExtension
*
layerExtension
=
new
Acts
::
ActsExtension
();
layerExtension
->
addType
(
"sensitive cylinder"
,
"layer"
);
//// layerExtension->addValue(10. * Acts::UnitConstants::mm, "r", "envelope");
lay_elt
.
addExtension
<
Acts
::
ActsExtension
>
(
layerExtension
);
///
Acts::ActsExtension* layerExtension = new Acts::ActsExtension();
///
layerExtension->addType("sensitive cylinder", "layer");
////
///
layerExtension->addValue(10. * Acts::UnitConstants::mm, "r", "envelope");
///
lay_elt.addExtension<Acts::ActsExtension>(layerExtension);
Placements
&
sensVols
=
sensitives
[
m_nam
];
...
...
@@ -160,8 +160,8 @@ static Ref_t CylinderTrackerBarrel_create_detector(Detector& description, xml_h
PlacedVolume
sens_pv
=
sensVols
[
ic
];
DetElement
comp_elt
(
mod_elt
,
sens_pv
.
volume
().
name
(),
module
);
comp_elt
.
setPlacement
(
sens_pv
);
Acts
::
ActsExtension
*
moduleExtension
=
new
Acts
::
ActsExtension
();
comp_elt
.
addExtension
<
Acts
::
ActsExtension
>
(
moduleExtension
);
//
Acts::ActsExtension* moduleExtension = new Acts::ActsExtension();
//
comp_elt.addExtension<Acts::ActsExtension>(moduleExtension);
}
/// Increase counters etc.
...
...
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