Skip to content

Commit

Permalink
Use edm4hep::labels to remove a few warnings (HEP-FCC#69)
Browse files Browse the repository at this point in the history
see key4hep/EDM4hep#315

Co-authored-by: jmcarcell <[email protected]>
  • Loading branch information
jmcarcell and jmcarcell authored Jun 24, 2024
1 parent 89f0ac0 commit 176b728
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Detector/DetComponents/src/RedoSegmentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class RedoSegmentation : public GaudiAlgorithm {
"hits/caloOutHits", Gaudi::DataHandle::Writer, this};
/// Handle for the output hits cell id encoding.
MetaDataHandle<std::string> m_outHitsCellIDEncoding{
m_outHits, edm4hep::CellIDEncoding, Gaudi::DataHandle::Writer};
m_outHits, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Writer};
/// New segmentation
dd4hep::DDSegmentation::Segmentation* m_segmentation;
int m_segmentationType; // use enum instead? defined in some namespace?
Expand Down
2 changes: 1 addition & 1 deletion SimG4Components/src/SimG4SaveCalHits.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class SimG4SaveCalHits : public GaudiTool, virtual public ISimG4SaveOutputTool {
"CaloHits", Gaudi::DataHandle::Writer, this};
/// Output handle for cell ID encoding string
MetaDataHandle<std::string> m_cellIDEncoding{
m_caloHits, edm4hep::CellIDEncoding, Gaudi::DataHandle::Writer};
m_caloHits, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Writer};
/// Name of the readouts (hits collections) to save, deprecated
Gaudi::Property<std::vector<std::string>> m_readoutNames{
this, "readoutNames", {}, "[Deprecated] Names of the readouts (hits collections) to save"};
Expand Down
2 changes: 1 addition & 1 deletion SimG4Components/src/SimG4SaveTrackerHits.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SimG4SaveTrackerHits : public GaudiTool, virtual public ISimG4SaveOutputTo
"TrackerHits", Gaudi::DataHandle::Writer, this};
/// Output handle for cell ID encoding string
MetaDataHandle<std::string> m_cellIDEncoding {
m_trackHits, edm4hep::CellIDEncoding, Gaudi::DataHandle::Writer};
m_trackHits, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Writer};
/// Names of the readouts (hits collections) to save, deprecated
Gaudi::Property<std::vector<std::string>> m_readoutNames {
this, "readoutNames", {}, "[Deprecated] Name of the readouts (hits collections) to save"};
Expand Down

0 comments on commit 176b728

Please sign in to comment.