Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
a7b82882
Commit
a7b82882
authored
10 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- fix energy scale (use Gev) for (Sim)CalorimeterHits
parent
d69f2091
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/lcio/LCIOConversions.cpp
+2
-2
2 additions, 2 deletions
DDG4/lcio/LCIOConversions.cpp
with
2 additions
and
2 deletions
DDG4/lcio/LCIOConversions.cpp
+
2
−
2
View file @
a7b82882
...
...
@@ -185,9 +185,9 @@ namespace DD4hep {
float
pos
[]
=
{
c
.
x
,
c
.
y
,
c
.
z
};
EVENT
::
MCParticle
*
lc_mcp
=
(
EVENT
::
MCParticle
*
)
lc_parts
->
getElementAt
(
trackID
);
if
(
hit_creation_mode
==
Geant4Sensitive
::
DETAILED_MODE
)
lc_hit
->
addMCParticleContribution
(
lc_mcp
,
c
.
deposit
,
c
.
time
,
lc_mcp
->
getPDG
(),
pos
);
lc_hit
->
addMCParticleContribution
(
lc_mcp
,
c
.
deposit
/
GeV
,
c
.
time
,
lc_mcp
->
getPDG
(),
pos
);
else
lc_hit
->
addMCParticleContribution
(
lc_mcp
,
c
.
deposit
,
c
.
time
);
lc_hit
->
addMCParticleContribution
(
lc_mcp
,
c
.
deposit
/
GeV
,
c
.
time
);
}
}
return
lc_coll
;
...
...
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