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
a933490c
Commit
a933490c
authored
10 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- fix the energy scale of the TrackerHIts to be GeV
parent
b9e0b5db
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/lcio/LCIOConversions.cpp
+1
-1
1 addition, 1 deletion
DDG4/lcio/LCIOConversions.cpp
with
1 addition
and
1 deletion
DDG4/lcio/LCIOConversions.cpp
+
1
−
1
View file @
a933490c
...
@@ -123,7 +123,7 @@ namespace DD4hep {
...
@@ -123,7 +123,7 @@ namespace DD4hep {
lcio
::
SimTrackerHitImpl
*
lc_hit
=
new
lcio
::
SimTrackerHitImpl
;
lcio
::
SimTrackerHitImpl
*
lc_hit
=
new
lcio
::
SimTrackerHitImpl
;
lc_hit
->
setCellID0
((
hit
->
cellID
>>
0
)
&
0xFFFFFFFF
);
lc_hit
->
setCellID0
((
hit
->
cellID
>>
0
)
&
0xFFFFFFFF
);
lc_hit
->
setCellID1
((
hit
->
cellID
>>
sizeof
(
int
))
&
0xFFFFFFFF
);
lc_hit
->
setCellID1
((
hit
->
cellID
>>
sizeof
(
int
))
&
0xFFFFFFFF
);
lc_hit
->
setEDep
(
hit
->
energyDeposit
);
lc_hit
->
setEDep
(
hit
->
energyDeposit
/
GeV
);
lc_hit
->
setPathLength
(
hit
->
length
);
lc_hit
->
setPathLength
(
hit
->
length
);
lc_hit
->
setTime
(
hit
->
truth
.
time
);
lc_hit
->
setTime
(
hit
->
truth
.
time
);
lc_hit
->
setMCParticle
(
lc_mcp
);
lc_hit
->
setMCParticle
(
lc_mcp
);
...
...
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