Skip to content

Commit

Permalink
Don't hardcode the cellIDEncodingString
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Dec 6, 2024
1 parent 656c582 commit 61d909d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4Reco/DDPlanarDigi/components/DDPlanarDigi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ std::tuple<edm4hep::TrackerHitPlaneCollection, edm4hep::TrackerHitSimTrackerHitL
auto thsthcol = edm4hep::TrackerHitSimTrackerHitLinkCollection();

std::string cellIDEncodingString = m_geoSvc->constantAsString(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;
Expand Down

0 comments on commit 61d909d

Please sign in to comment.