SimDataFormats
Associations
interface
LayerClusterToSimClusterAssociatorBaseImpl.h
Go to the documentation of this file.
1
#ifndef SimDataFormats_Associations_LayerClusterToSimClusterAssociatorBaseImpl_h
2
#define SimDataFormats_Associations_LayerClusterToSimClusterAssociatorBaseImpl_h
3
13
#include "
DataFormats/Common/interface/Handle.h
"
14
#include "
DataFormats/Common/interface/AssociationMap.h
"
15
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
16
17
#include "
SimDataFormats/CaloAnalysis/interface/SimClusterFwd.h
"
18
19
namespace
hgcal
{
20
21
typedef
edm::AssociationMap
<
22
edm::OneToManyWithQualityGeneric<SimClusterCollection, reco::CaloClusterCollection, std::pair<float, float>
>>
23
SimToRecoCollectionWithSimClusters
;
24
typedef
edm::AssociationMap<edm::OneToManyWithQualityGeneric<reco::CaloClusterCollection, SimClusterCollection, float>
>
25
RecoToSimCollectionWithSimClusters
;
26
27
class
LayerClusterToSimClusterAssociatorBaseImpl
{
28
public
:
30
LayerClusterToSimClusterAssociatorBaseImpl
();
32
virtual
~LayerClusterToSimClusterAssociatorBaseImpl
();
33
35
virtual
hgcal::RecoToSimCollectionWithSimClusters
associateRecoToSim
(
36
const
edm::Handle<reco::CaloClusterCollection>
&cCH,
const
edm::Handle<SimClusterCollection>
&sCCH)
const
;
37
39
virtual
hgcal::SimToRecoCollectionWithSimClusters
associateSimToReco
(
40
const
edm::Handle<reco::CaloClusterCollection>
&cCH,
const
edm::Handle<SimClusterCollection>
&sCCH)
const
;
41
};
42
}
// namespace hgcal
43
44
#endif
Handle.h
hgcal::LayerClusterToSimClusterAssociatorBaseImpl::LayerClusterToSimClusterAssociatorBaseImpl
LayerClusterToSimClusterAssociatorBaseImpl()
Constructor.
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.cc:6
hgcal::LayerClusterToSimClusterAssociatorBaseImpl::associateRecoToSim
virtual hgcal::RecoToSimCollectionWithSimClusters associateRecoToSim(const edm::Handle< reco::CaloClusterCollection > &cCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a LayerCluster to SimClusters.
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.cc:9
AssociationMap.h
hgcal::LayerClusterToSimClusterAssociatorBaseImpl::~LayerClusterToSimClusterAssociatorBaseImpl
virtual ~LayerClusterToSimClusterAssociatorBaseImpl()
Destructor.
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.cc:7
edm::Handle< reco::CaloClusterCollection >
hgcal
Definition:
EgammaPCAHelper.h:31
hgcal::LayerClusterToSimClusterAssociatorBaseImpl
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.h:27
CaloClusterFwd.h
edm::AssociationMap
Definition:
AssociationMap.h:48
hgcal::SimToRecoCollectionWithSimClusters
edm::AssociationMap< edm::OneToManyWithQualityGeneric< SimClusterCollection, reco::CaloClusterCollection, std::pair< float, float > > > SimToRecoCollectionWithSimClusters
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.h:23
SimClusterFwd.h
edm::OneToManyWithQualityGeneric
Definition:
OneToManyWithQualityGeneric.h:21
hgcal::RecoToSimCollectionWithSimClusters
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::CaloClusterCollection, SimClusterCollection, float > > RecoToSimCollectionWithSimClusters
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.h:25
hgcal::LayerClusterToSimClusterAssociatorBaseImpl::associateSimToReco
virtual hgcal::SimToRecoCollectionWithSimClusters associateSimToReco(const edm::Handle< reco::CaloClusterCollection > &cCH, const edm::Handle< SimClusterCollection > &sCCH) const
Associate a SimCluster to LayerClusters.
Definition:
LayerClusterToSimClusterAssociatorBaseImpl.cc:14
Generated for CMSSW Reference Manual by
1.8.16