Skip to content
Snippets Groups Projects
Commit c8a31d66 authored by Louis Henry's avatar Louis Henry
Browse files

Changed the DD4HEP method to layerIdx

parent c9724a45
No related branches found
No related tags found
1 merge request!3055Fix layerID method in FT DD4HEP by using layerIdx
Pipeline #4311966 passed
......@@ -33,7 +33,7 @@ namespace FTZoneCache {
PrFTZoneHandler( DeFT const& ftDet ) {
#ifdef USE_DD4HEP
auto func = [this]( const DeFTLayer& layer ) {
const auto id = layer.layerID();
const auto id = layer.layerIdx();
// fixme
DetectorSegment seg( 0, layer.globalZ(), layer.dxdy(), layer.dzdy(), 0., 0. );
const auto xmax = 0.5f * layer.sizeX();
......
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