diff --git a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp index 639fcfd..5afab0b 100644 --- a/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp +++ b/k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp @@ -101,7 +101,7 @@ std::tupleconstantAsString(m_encodingStringVariable.value()); - dd4hep::DDSegmentation::BitFieldCoder bitFieldCoder("system:4,layer:4,ring:2,module:8,sensor:2,x:32:-12,y:-12"); + dd4hep::DDSegmentation::BitFieldCoder bitFieldCoder(cellIDEncodingString); int nSimHits = simTrackerHits.size(); debug() << "Processing collection " << m_collName << " with " << simTrackerHits.size() << " hits ... " << endmsg;