Skip to content
Snippets Groups Projects
Commit 6942bc8e authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Fix bug where sector and layer ID were swapped for imaging calorimeter hits.

parent 7cf1aca4
Branches
No related tags found
1 merge request!401Fix bug where sector and layer ID were swapped for imaging calorimeter hits.
...@@ -139,7 +139,7 @@ public: ...@@ -139,7 +139,7 @@ public:
0, // timeError TODO 0, // timeError TODO
{gpos.x() / m_lUnit, gpos.y() / m_lUnit, gpos.z() / m_lUnit}, // global pos {gpos.x() / m_lUnit, gpos.y() / m_lUnit, gpos.z() / m_lUnit}, // global pos
{0, 0, 0}, // @TODO: add dimension {0, 0, 0}, // @TODO: add dimension
lid,sid, sid,lid,
{pos.x() / m_lUnit, pos.y() / m_lUnit, pos.z() / m_lUnit}}); // local pos {pos.x() / m_lUnit, pos.y() / m_lUnit, pos.z() / m_lUnit}}); // local pos
} }
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment