SimDataFormats
Associations
interface
LayerClusterToSimClusterAssociator.h
Go to the documentation of this file.
1
#ifndef SimDataFormats_Associations_LayerClusterToSimClusterAssociator_h
2
#define SimDataFormats_Associations_LayerClusterToSimClusterAssociator_h
3
// Original Author: Marco Rovere
4
5
// system include files
6
#include <memory>
7
8
// user include files
9
10
#include "
SimDataFormats/Associations/interface/LayerClusterToSimClusterAssociatorBaseImpl.h
"
11
12
// forward declarations
13
14
namespace
hgcal
{
15
16
class
LayerClusterToSimClusterAssociator
{
17
public
:
18
LayerClusterToSimClusterAssociator
(std::unique_ptr<hgcal::LayerClusterToSimClusterAssociatorBaseImpl>);
19
LayerClusterToSimClusterAssociator
() =
default
;
20
LayerClusterToSimClusterAssociator
(
LayerClusterToSimClusterAssociator
&&) =
default
;
21
LayerClusterToSimClusterAssociator
&
operator=
(
LayerClusterToSimClusterAssociator
&&) =
default
;
22
LayerClusterToSimClusterAssociator
(
const
LayerClusterToSimClusterAssociator
&) =
delete
;
// stop default
23
24
~LayerClusterToSimClusterAssociator
() =
default
;
25
const
LayerClusterToSimClusterAssociator
&
operator=
(
const
LayerClusterToSimClusterAssociator
&) =
26
delete
;
// stop default
27
// ---------- const member functions ---------------------
29
hgcal::RecoToSimCollectionWithSimClusters
associateRecoToSim
(
const
edm::Handle<reco::CaloClusterCollection>
&cCCH,
30
const
edm::Handle<SimClusterCollection>
&sCCH)
const
{
31
return
m_impl
->associateRecoToSim(cCCH, sCCH);
32
};
33
35
hgcal::SimToRecoCollectionWithSimClusters
associateSimToReco
(
const
edm::Handle<reco::CaloClusterCollection>
&cCCH,
36
const
edm::Handle<SimClusterCollection>
&sCCH)
const
{
37
return
m_impl
->associateSimToReco(cCCH, sCCH);
38
}
39
40
private
:
41
// ---------- member data --------------------------------
42
std::unique_ptr<LayerClusterToSimClusterAssociatorBaseImpl>
m_impl
;
43
};
44
}
// namespace hgcal
45
46
#endif
LayerClusterToSimClusterAssociatorBaseImpl.h
edm::Handle< reco::CaloClusterCollection >
hgcal
Definition:
EgammaPCAHelper.h:31
hgcal::LayerClusterToSimClusterAssociator::m_impl
std::unique_ptr< LayerClusterToSimClusterAssociatorBaseImpl > m_impl
Definition:
LayerClusterToSimClusterAssociator.h:42
edm::AssociationMap
Definition:
AssociationMap.h:48
hgcal::LayerClusterToSimClusterAssociator::associateSimToReco
hgcal::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.
Definition:
LayerClusterToSimClusterAssociator.h:35
hgcal::LayerClusterToSimClusterAssociator::associateRecoToSim
hgcal::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
Definition:
LayerClusterToSimClusterAssociator.h:29
hgcal::LayerClusterToSimClusterAssociator::LayerClusterToSimClusterAssociator
LayerClusterToSimClusterAssociator()=default
hgcal::LayerClusterToSimClusterAssociator
Definition:
LayerClusterToSimClusterAssociator.h:16
hgcal::LayerClusterToSimClusterAssociator::~LayerClusterToSimClusterAssociator
~LayerClusterToSimClusterAssociator()=default
hgcal::LayerClusterToSimClusterAssociator::operator=
LayerClusterToSimClusterAssociator & operator=(LayerClusterToSimClusterAssociator &&)=default
Generated for CMSSW Reference Manual by
1.8.16