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 ticl {
15 
17  public:
18  LayerClusterToSimTracksterAssociator(std::unique_ptr<ticl::LayerClusterToSimTracksterAssociatorBaseImpl>);
24  delete; // stop default
25 
27 
28  // ---------- const member functions ---------------------
34  const ticl::RecoToSimCollection &lCToCPs,
36  const ticl::RecoToSimCollectionWithSimClusters &lCToSCs) const {
37  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
38  };
39 
45  const ticl::SimToRecoCollection &cpToLCs,
47  const ticl::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 ticl
56 
57 #endif
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl
ticl::SimTracksterToRecoCollection associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &sTCH, const edm::Handle< CaloParticleCollection > &cPCH, const ticl::SimToRecoCollection &cpToLCs, const edm::Handle< SimClusterCollection > &sCCH, const ticl::SimToRecoCollectionWithSimClusters &sCToLCs) const
Associate a SimTrackster to LayerClusters.
ticl::RecoToSimTracksterCollection associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &stCH, const edm::Handle< CaloParticleCollection > &cPCH, const ticl::RecoToSimCollection &lCToCPs, const edm::Handle< SimClusterCollection > &sCCH, const ticl::RecoToSimCollectionWithSimClusters &lCToSCs) const
Associate a LayerCluster to SimTracksters.
Definition: Common.h:10
LayerClusterToSimTracksterAssociator & operator=(LayerClusterToSimTracksterAssociator &&)=default