/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/Associations/interface/TracksterToSimClusterAssociatorBaseImpl.h
47 строк
2 KB
Bruno Alves
Add missing includes.
17 сен 2025, 12:45
17 сен 2025, 12:45
a84e3ff
Код
Авторство
О чём код?
#ifndef SimDataFormats_Associations_TracksterToSimClusterAssociatorBaseImpl_h #define SimDataFormats_Associations_TracksterToSimClusterAssociatorBaseImpl_h /** \class TracksterToSimClusterAssociatorBaseImpl * * Base class for TracksterToSimClusterAssociator. Methods take as input * the handles of Tracksters, LayerClusters and SimClusters collections and return an * AssociationMap (oneToManyWithQuality) * * \author Leonardo Cristella */ #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/Common/interface/AssociationMap.h" #include "DataFormats/HGCalReco/interface/Trackster.h" #include "DataFormats/CaloRecHit/interface/CaloClusterCollection.h" #include "SimDataFormats/CaloAnalysis/interface/SimClusterFwd.h" namespace ticl { typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<SimClusterCollection, ticl::TracksterCollection, std::pair<float, float>>> SimToRecoCollectionTracksters; typedef edm::AssociationMap<edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, SimClusterCollection, float>> RecoToSimCollectionTracksters; class TracksterToSimClusterAssociatorBaseImpl { public: /// Constructor TracksterToSimClusterAssociatorBaseImpl(); /// Destructor virtual ~TracksterToSimClusterAssociatorBaseImpl(); /// Associate a Trackster to SimClusters virtual ticl::RecoToSimCollectionTracksters associateRecoToSim(const edm::Handle<ticl::TracksterCollection> &tCH, const edm::Handle<reco::CaloClusterCollection> &lCCH, const edm::Handle<SimClusterCollection> &sCCH) const; /// Associate a SimCluster to Tracksters virtual ticl::SimToRecoCollectionTracksters associateSimToReco(const edm::Handle<ticl::TracksterCollection> &tCH, const edm::Handle<reco::CaloClusterCollection> &lCCH, const edm::Handle<SimClusterCollection> &sCCH) const; }; } // namespace ticl #endif