CMS 3D CMS Logo

TracksterToSimTracksterAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
2 #define SimDataFormats_Associations_TracksterToSimTracksterAssociator_h
3 // Original Author: Leonardo Cristella
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
9 
11 
12 // forward declarations
13 
14 namespace hgcal {
15 
17  public:
18  TracksterToSimTracksterAssociator(std::unique_ptr<hgcal::TracksterToSimTracksterAssociatorBaseImpl>);
23 
24  // ---------- const member functions ---------------------
29  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
30  return m_impl->associateRecoToSim(tCH, lCCH, sTCH);
31  };
32 
37  const edm::Handle<ticl::TracksterCollection> &sTCH) const {
38  return m_impl->associateSimToReco(tCH, lCCH, sTCH);
39  }
40 
41  private:
43 
45  delete; // stop default
46 
47  // ---------- member data --------------------------------
48  std::unique_ptr<TracksterToSimTracksterAssociatorBaseImpl> m_impl;
49  };
50 } // namespace hgcal
51 
52 #endif
hgcal::TracksterToSimTracksterAssociator::~TracksterToSimTracksterAssociator
~TracksterToSimTracksterAssociator()=default
hgcal::TracksterToSimTracksterAssociator::associateRecoToSim
hgcal::RecoToSimCollectionSimTracksters associateRecoToSim(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a Trackster to SimClusters.
Definition: TracksterToSimTracksterAssociator.h:26
hgcal::TracksterToSimTracksterAssociator::operator=
TracksterToSimTracksterAssociator & operator=(TracksterToSimTracksterAssociator &&)=default
edm::Handle
Definition: AssociativeIterator.h:50
hgcal::TracksterToSimTracksterAssociator::m_impl
std::unique_ptr< TracksterToSimTracksterAssociatorBaseImpl > m_impl
Definition: TracksterToSimTracksterAssociator.h:48
hgcal
Definition: EgammaPCAHelper.h:31
edm::AssociationMap
Definition: AssociationMap.h:48
hgcal::TracksterToSimTracksterAssociator
Definition: TracksterToSimTracksterAssociator.h:16
hgcal::TracksterToSimTracksterAssociator::TracksterToSimTracksterAssociator
TracksterToSimTracksterAssociator()=default
hgcal::TracksterToSimTracksterAssociator::associateSimToReco
hgcal::SimToRecoCollectionSimTracksters associateSimToReco(const edm::Handle< ticl::TracksterCollection > &tCH, const edm::Handle< reco::CaloClusterCollection > &lCCH, const edm::Handle< ticl::TracksterCollection > &sTCH) const
Associate a SimCluster to Tracksters.
Definition: TracksterToSimTracksterAssociator.h:34
TracksterToSimTracksterAssociatorBaseImpl.h