File indexing completed on 2024-05-29 23:13:10
0001 #ifndef SimDataFormats_Associations_TracksterToSimTracksterAssociatorBaseImpl_h
0002 #define SimDataFormats_Associations_TracksterToSimTracksterAssociatorBaseImpl_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/HGCalReco/interface/Trackster.h"
0016 #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h"
0017
0018 #include "SimDataFormats/CaloAnalysis/interface/SimClusterFwd.h"
0019
0020 namespace ticl {
0021
0022 typedef edm::AssociationMap<
0023 edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, ticl::TracksterCollection, std::pair<float, float>>>
0024 SimToRecoCollectionSimTracksters;
0025 typedef edm::AssociationMap<
0026 edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, ticl::TracksterCollection, std::pair<float, float>>>
0027 RecoToSimCollectionSimTracksters;
0028
0029 class TracksterToSimTracksterAssociatorBaseImpl {
0030 public:
0031
0032 TracksterToSimTracksterAssociatorBaseImpl();
0033
0034 virtual ~TracksterToSimTracksterAssociatorBaseImpl();
0035
0036
0037 virtual ticl::RecoToSimCollectionSimTracksters associateRecoToSim(
0038 const edm::Handle<ticl::TracksterCollection> &tCH,
0039 const edm::Handle<reco::CaloClusterCollection> &lCCH,
0040 const edm::Handle<ticl::TracksterCollection> &sTCH) const;
0041
0042
0043 virtual ticl::SimToRecoCollectionSimTracksters associateSimToReco(
0044 const edm::Handle<ticl::TracksterCollection> &tCH,
0045 const edm::Handle<reco::CaloClusterCollection> &lCCH,
0046 const edm::Handle<ticl::TracksterCollection> &sTCH) const;
0047 };
0048 }
0049
0050 #endif