CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayerClusterToSimTracksterAssociator.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_LayerClusterToSimTracksterAssociator_h
2 #define SimDataFormats_Associations_LayerClusterToSimTracksterAssociator_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  LayerClusterToSimTracksterAssociator(std::unique_ptr<hgcal::LayerClusterToSimTracksterAssociatorBaseImpl>);
24  delete; // stop default
25 
27 
28  // ---------- const member functions ---------------------
34  const hgcal::RecoToSimCollection &lCToCPs,
36  const hgcal::RecoToSimCollectionWithSimClusters &lCToSCs) const {
37  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
38  };
39 
45  const hgcal::SimToRecoCollection &cpToLCs,
47  const hgcal::SimToRecoCollectionWithSimClusters &sCToLCs) const {
48  return m_impl->associateSimToReco(cCCH, sTCH, cPCH, cpToLCs, sCCH, sCToLCs);
49  }
50 
51  private:
52  // ---------- member data --------------------------------
53  std::unique_ptr<LayerClusterToSimTracksterAssociatorBaseImpl> m_impl;
54  };
55 } // namespace hgcal
56 
57 #endif
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl
LayerClusterToSimTracksterAssociator & operator=(LayerClusterToSimTracksterAssociator &&)=default
hgcal::RecoToSimTracksterCollection associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &stCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::RecoToSimCollection &lCToCPs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::RecoToSimCollectionWithSimClusters &lCToSCs) const
Associate a LayerCluster to SimTracksters.
hgcal::SimTracksterToRecoCollection associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &sTCH, const edm::Handle< CaloParticleCollection > &cPCH, const hgcal::SimToRecoCollection &cpToLCs, const edm::Handle< SimClusterCollection > &sCCH, const hgcal::SimToRecoCollectionWithSimClusters &sCToLCs) const
Associate a SimTrackster to LayerClusters.