CMS 3D CMS Logo

TracksterToSimTracksterHitLCAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociator_h
2 #define SimDataFormats_Associations_TracksterToSimTracksterHitLCAssociator_h
3 // Original Author: Leonardo Cristella
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
9 
11 
12 namespace hgcal {
13 
15  public:
16  TracksterToSimTracksterHitLCAssociator(std::unique_ptr<hgcal::TracksterToSimTracksterHitLCAssociatorBaseImpl>);
22 
24 
29  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
30  return m_impl->makeConnections(tCH, lCCH, sCCH, cPCH, sTCH);
31  }
38  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
39  return m_impl->associateRecoToSim(tCH, lCCH, sCCH, cPCH, sTCH);
40  };
41 
48  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
49  return m_impl->associateSimToReco(tCH, lCCH, sCCH, cPCH, sTCH);
50  }
51 
52  private:
53  std::unique_ptr<TracksterToSimTracksterHitLCAssociatorBaseImpl> m_impl;
54  };
55 } // namespace hgcal
56 
57 #endif
std::tuple< sharedEnergyAndScore_t, sharedEnergyAndScore_t > association_t
hgcal::SimToRecoCollectionSimTracksters associateSimToReco(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a SimCluster to Tracksters.
hgcal::RecoToSimCollectionSimTracksters associateRecoToSim(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a Trackster to SimClusters.
std::unique_ptr< TracksterToSimTracksterHitLCAssociatorBaseImpl > m_impl
TracksterToSimTracksterHitLCAssociator & operator=(TracksterToSimTracksterHitLCAssociator &&)=default
hgcal::association_t makeConnections(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< SimClusterCollection > &sCCH, const edm::Handle< CaloParticleCollection > &cPCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const