Skip to content
Snippets Groups Projects
Commit a933490c authored by Frank Gaede's avatar Frank Gaede
Browse files

- 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
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment