diff --git a/include/CLUENtuplizer.h b/include/CLUENtuplizer.h index 278b5c3..1cd7aaa 100644 --- a/include/CLUENtuplizer.h +++ b/include/CLUENtuplizer.h @@ -97,7 +97,7 @@ class CLUENtuplizer : public Gaudi::Algorithm { mutable DataHandle EE_calo_handle {"EndcapInputHits", Gaudi::DataHandle::Reader, this}; mutable DataHandle ev_handle {"EventHeader", Gaudi::DataHandle::Reader, this}; mutable DataHandle mcp_handle {"MCParticles", Gaudi::DataHandle::Reader, this}; - MetaDataHandle cellIDHandle {EB_calo_handle, edm4hep::CellIDEncoding, Gaudi::DataHandle::Reader}; + MetaDataHandle cellIDHandle {EB_calo_handle, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Reader}; bool singleMCParticle = false; diff --git a/src/ClueGaudiAlgorithmWrapper.h b/src/ClueGaudiAlgorithmWrapper.h index 7c5e03c..9edbf1d 100644 --- a/src/ClueGaudiAlgorithmWrapper.h +++ b/src/ClueGaudiAlgorithmWrapper.h @@ -75,7 +75,7 @@ class ClueGaudiAlgorithmWrapper : public Gaudi::Algorithm { // Handle to read the calo cells and their cellID mutable DataHandle EB_calo_handle {"BarrelInputHits", Gaudi::DataHandle::Reader, this}; mutable DataHandle EE_calo_handle {"EndcapInputHits", Gaudi::DataHandle::Reader, this}; - MetaDataHandle cellIDHandle {EB_calo_handle, edm4hep::CellIDEncoding, Gaudi::DataHandle::Reader}; + MetaDataHandle cellIDHandle {EB_calo_handle, edm4hep::labels::CellIDEncoding, Gaudi::DataHandle::Reader}; // CLUE Algo mutable CLICdetBarrelCLUEAlgo clueAlgoBarrel_;