File indexing completed on 2024-05-29 23:13:10
0001 #ifndef SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
0002 #define SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
0003
0004
0005
0006 #include <memory>
0007
0008
0009
0010 #include "SimDataFormats/Associations/interface/TracksterToSimTracksterAssociatorBaseImpl.h"
0011
0012
0013
0014 namespace ticl {
0015
0016 class TracksterToSimTracksterAssociator {
0017 public:
0018 TracksterToSimTracksterAssociator(std::unique_ptr<ticl::TracksterToSimTracksterAssociatorBaseImpl>);
0019 TracksterToSimTracksterAssociator() = default;
0020 TracksterToSimTracksterAssociator(TracksterToSimTracksterAssociator &&) = default;
0021 TracksterToSimTracksterAssociator &operator=(TracksterToSimTracksterAssociator &&) = default;
0022 TracksterToSimTracksterAssociator(const TracksterToSimTracksterAssociator &) = delete;
0023 const TracksterToSimTracksterAssociator &operator=(const TracksterToSimTracksterAssociator &) =
0024 delete;
0025
0026 ~TracksterToSimTracksterAssociator() = default;
0027
0028
0029
0030 ticl::RecoToSimCollectionSimTracksters associateRecoToSim(const edm::Handle<ticl::TracksterCollection> &tCH,
0031 const edm::Handle<reco::CaloClusterCollection> &lCCH,
0032 const edm::Handle<ticl::TracksterCollection> &sTCH) const {
0033 return m_impl->associateRecoToSim(tCH, lCCH, sTCH);
0034 };
0035
0036
0037 ticl::SimToRecoCollectionSimTracksters associateSimToReco(const edm::Handle<ticl::TracksterCollection> &tCH,
0038 const edm::Handle<reco::CaloClusterCollection> &lCCH,
0039 const edm::Handle<ticl::TracksterCollection> &sTCH) const {
0040 return m_impl->associateSimToReco(tCH, lCCH, sTCH);
0041 }
0042
0043 private:
0044
0045 std::unique_ptr<TracksterToSimTracksterAssociatorBaseImpl> m_impl;
0046 };
0047 }
0048
0049 #endif