File indexing completed on 2024-05-29 23:13:10
0001 #ifndef SimDataFormats_Associations_LayerClusterToSimClusterAssociatorBaseImpl_h
0002 #define SimDataFormats_Associations_LayerClusterToSimClusterAssociatorBaseImpl_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "DataFormats/Common/interface/Handle.h"
0014 #include "DataFormats/Common/interface/AssociationMap.h"
0015 #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h"
0016
0017 #include "SimDataFormats/CaloAnalysis/interface/SimClusterFwd.h"
0018
0019 namespace ticl {
0020
0021 typedef edm::AssociationMap<
0022 edm::OneToManyWithQualityGeneric<SimClusterCollection, reco::CaloClusterCollection, std::pair<float, float>>>
0023 SimToRecoCollectionWithSimClusters;
0024 typedef edm::AssociationMap<edm::OneToManyWithQualityGeneric<reco::CaloClusterCollection, SimClusterCollection, float>>
0025 RecoToSimCollectionWithSimClusters;
0026
0027 class LayerClusterToSimClusterAssociatorBaseImpl {
0028 public:
0029
0030 LayerClusterToSimClusterAssociatorBaseImpl();
0031
0032 virtual ~LayerClusterToSimClusterAssociatorBaseImpl();
0033
0034
0035 virtual ticl::RecoToSimCollectionWithSimClusters associateRecoToSim(
0036 const edm::Handle<reco::CaloClusterCollection> &cCH, const edm::Handle<SimClusterCollection> &sCCH) const;
0037
0038
0039 virtual ticl::SimToRecoCollectionWithSimClusters associateSimToReco(
0040 const edm::Handle<reco::CaloClusterCollection> &cCH, const edm::Handle<SimClusterCollection> &sCCH) const;
0041 };
0042 }
0043
0044 #endif