CMS 3D CMS Logo

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>);
23 
24  // ---------- const member functions ---------------------
30  const hgcal::RecoToSimCollection &lCToCPs,
32  const hgcal::RecoToSimCollectionWithSimClusters &lCToSCs) const {
33  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
34  };
35 
41  const hgcal::SimToRecoCollection &cpToLCs,
43  const hgcal::SimToRecoCollectionWithSimClusters &sCToLCs) const {
44  return m_impl->associateSimToReco(cCCH, sTCH, cPCH, cpToLCs, sCCH, sCToLCs);
45  }
46 
47  private:
49 
51  delete; // stop default
52 
53  // ---------- member data --------------------------------
54  std::unique_ptr<LayerClusterToSimTracksterAssociatorBaseImpl> m_impl;
55  };
56 } // namespace hgcal
57 
58 #endif
hgcal::LayerClusterToSimTracksterAssociator::operator=
LayerClusterToSimTracksterAssociator & operator=(LayerClusterToSimTracksterAssociator &&)=default
edm::Handle< reco::CaloClusterCollection >
hgcal
Definition: EgammaPCAHelper.h:31
hgcal::LayerClusterToSimTracksterAssociator::associateRecoToSim
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.
Definition: LayerClusterToSimTracksterAssociator.h:26
hgcal::LayerClusterToSimTracksterAssociator::associateSimToReco
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.
Definition: LayerClusterToSimTracksterAssociator.h:37
hgcal::LayerClusterToSimTracksterAssociator
Definition: LayerClusterToSimTracksterAssociator.h:16
hgcal::LayerClusterToSimTracksterAssociator::m_impl
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl
Definition: LayerClusterToSimTracksterAssociator.h:54
edm::AssociationMap
Definition: AssociationMap.h:48
hgcal::LayerClusterToSimTracksterAssociator::~LayerClusterToSimTracksterAssociator
~LayerClusterToSimTracksterAssociator()=default
LayerClusterToSimTracksterAssociatorBaseImpl.h
hgcal::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator
LayerClusterToSimTracksterAssociator()=default