Skip to content

Commit

Permalink
Remove deprecated functions for link creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Aug 23, 2024
1 parent a985ac3 commit 0bd1c0f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ template <typename ObjectMappingT>
std::vector<CollNamePair> createLinks(const ObjectMappingT& typeMapping,
const std::vector<std::pair<std::string, EVENT::LCCollection*>>& LCRelation);

template <typename ObjectMappingT>
[[deprecated("use createLinks instead")]] std::vector<CollNamePair>
createAssociations(const ObjectMappingT& typeMapping,
const std::vector<std::pair<std::string, EVENT::LCCollection*>>& LCRelation) {
return createLinks(typeMapping, LCRelation);
}

/**
* Convert a subset collection, dispatching to the correct function for the
* type of the input collection
Expand Down Expand Up @@ -359,16 +352,6 @@ template <typename CollT, bool Reverse, typename FromMapT, typename ToMapT,
std::unique_ptr<CollT> createLinkCollection(EVENT::LCCollection* relations, const FromMapT& fromMap,
const ToMapT& toMap);

template <typename CollT, bool Reverse, typename FromMapT, typename ToMapT,
typename FromLCIOT = std::remove_pointer_t<k4EDM4hep2LcioConv::detail::key_t<FromMapT>>,
typename ToLCIOT = std::remove_pointer_t<k4EDM4hep2LcioConv::detail::key_t<ToMapT>>,
typename FromEDM4hepT = k4EDM4hep2LcioConv::detail::mapped_t<FromMapT>,
typename ToEDM4hepT = k4EDM4hep2LcioConv::detail::mapped_t<ToMapT>>
[[deprecated("use createLinkCollection instead")]] std::unique_ptr<CollT>
createAssociationCollection(EVENT::LCCollection* relations, const FromMapT& fromMap, const ToMapT& toMap) {
return createLinkCollection<CollT, Reverse>(relations, fromMap, toMap);
}

/**
* Creates the CaloHitContributions for all SimCaloHits.
* has to be done this way, since the converted McParticles are needeed.
Expand Down

0 comments on commit 0bd1c0f

Please sign in to comment.