Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Juggler
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
Container registry
Model registry
Operate
Environments
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
Project Juggler
Merge requests
!17
Fixed bad merge.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed bad merge.
fix
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Whitney Armstrong
requested to merge
fix
into
master
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
I have also turned on the FF only merges
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
df02b453
1 commit,
4 years ago
1 file
+
0
−
9
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
JugReco/src/components/ClusterRecoCoG.cpp
+
0
−
9
Options
@@ -58,15 +58,10 @@ public:
@@ -58,15 +58,10 @@ public:
<<
"Make sure you have GeoSvc and SimSvc in the right order in the configuration."
<<
endmsg
;
<<
"Make sure you have GeoSvc and SimSvc in the right order in the configuration."
<<
endmsg
;
return
StatusCode
::
FAILURE
;
return
StatusCode
::
FAILURE
;
}
}
<<<<<<<
HEAD
// depth: z length of the crystal block
m_depthCorr
=
m_geoSvc
->
detector
()
->
constantAsDouble
(
m_moduleDimZName
);
=======
// update depth correction if a name is provided
// update depth correction if a name is provided
if
(
!
m_moduleDimZName
.
value
().
empty
())
{
if
(
!
m_moduleDimZName
.
value
().
empty
())
{
m_depthCorrection
=
m_geoSvc
->
detector
()
->
constantAsDouble
(
m_moduleDimZName
);
m_depthCorrection
=
m_geoSvc
->
detector
()
->
constantAsDouble
(
m_moduleDimZName
);
}
}
>>>>>>>
21068
a610f35f083a214e3a81badd0ced4aad3da
//info() << "z_length " << depth << endmsg;
//info() << "z_length " << depth << endmsg;
return
StatusCode
::
SUCCESS
;
return
StatusCode
::
SUCCESS
;
}
}
@@ -120,11 +115,7 @@ private:
@@ -120,11 +115,7 @@ private:
// convert local position to global position, use the cell with max edep as a reference
// convert local position to global position, use the cell with max edep as a reference
auto
volman
=
m_geoSvc
->
detector
()
->
volumeManager
();
auto
volman
=
m_geoSvc
->
detector
()
->
volumeManager
();
auto
alignment
=
volman
.
lookupDetector
(
centerID
).
nominal
();
auto
alignment
=
volman
.
lookupDetector
(
centerID
).
nominal
();
<<<<<<<
HEAD
auto
gpos
=
alignment
.
localToWorld
(
dd4hep
::
Position
(
x
/
tw
,
y
/
tw
,
z
/
tw
+
m_depthCorr
));
=======
auto
gpos
=
alignment
.
localToWorld
(
dd4hep
::
Position
(
x
/
tw
,
y
/
tw
,
z
/
tw
+
m_depthCorrection
));
auto
gpos
=
alignment
.
localToWorld
(
dd4hep
::
Position
(
x
/
tw
,
y
/
tw
,
z
/
tw
+
m_depthCorrection
));
>>>>>>>
21068
a610f35f083a214e3a81badd0ced4aad3da
cl
.
position
({
gpos
.
x
(),
gpos
.
y
(),
gpos
.
z
()});
cl
.
position
({
gpos
.
x
(),
gpos
.
y
(),
gpos
.
z
()});
}
}
Loading