Skip to content

Commit

Permalink
Fix warnings related to deprecated labels (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Sep 27, 2024
1 parent 4753400 commit 1d0e486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/CLUENtuplizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class CLUENtuplizer : public Gaudi::Algorithm {
mutable DataHandle<edm4hep::CalorimeterHitCollection> EE_calo_handle {"EndcapInputHits", Gaudi::DataHandle::Reader, this};
mutable DataHandle<edm4hep::EventHeaderCollection> ev_handle {"EventHeader", Gaudi::DataHandle::Reader, this};
mutable DataHandle<edm4hep::MCParticleCollection> mcp_handle {"MCParticles", Gaudi::DataHandle::Reader, this};
MetaDataHandle<std::string> cellIDHandle {EB_calo_handle, edm4hep::CellIDEncoding, Gaudi::DataHandle::Reader};
MetaDataHandle<std::string> cellIDHandle {EB_calo_handle, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Reader};

bool singleMCParticle = false;

Expand Down
2 changes: 1 addition & 1 deletion src/ClueGaudiAlgorithmWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ClueGaudiAlgorithmWrapper : public Gaudi::Algorithm {
// Handle to read the calo cells and their cellID
mutable DataHandle<edm4hep::CalorimeterHitCollection> EB_calo_handle {"BarrelInputHits", Gaudi::DataHandle::Reader, this};
mutable DataHandle<edm4hep::CalorimeterHitCollection> EE_calo_handle {"EndcapInputHits", Gaudi::DataHandle::Reader, this};
MetaDataHandle<std::string> cellIDHandle {EB_calo_handle, edm4hep::CellIDEncoding, Gaudi::DataHandle::Reader};
MetaDataHandle<std::string> cellIDHandle {EB_calo_handle, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Reader};

// CLUE Algo
mutable CLICdetBarrelCLUEAlgo clueAlgoBarrel_;
Expand Down

0 comments on commit 1d0e486

Please sign in to comment.