Skip to content
Snippets Groups Projects

Fix layerID method in FT DD4HEP by using layerIdx

Merged Louis Henry requested to merge lohenry-fixLayerIdx into master
3 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -57,7 +57,7 @@ namespace LHCb::Detector {
struct DeFTLayerElement : DeIOVElement<ObjectType> {
using DeIOVElement<ObjectType>::DeIOVElement;
unsigned int layerID() const { return this->access()->m_layerID; }
unsigned int layerIdx() const { return this->access()->m_layerID - 4; }//FIXME: hardcoded
unsigned int layerIdx() const { return this->access()->m_layerID - 4; } // FIXME: hardcoded
/** Find the FT Quarter corresponding to the point
* @return Pointer to the relevant quarter
Loading