/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/Associations/interface/TracksterToSimTracksterAssociatorBaseImpl.h
50 строк
2 KB
Bruno Alves
Add missing includes.
17 сен 2025, 12:45
17 сен 2025, 12:45
a84e3ff
Код
Авторство
О чём код?
#ifndef SimDataFormats_Associations_TracksterToSimTracksterAssociatorBaseImpl_h #define SimDataFormats_Associations_TracksterToSimTracksterAssociatorBaseImpl_h /** \class TracksterToSimTracksterAssociatorBaseImpl * * Base class for TracksterToSimTracksterAssociator. Methods take as input * the handles of Tracksters, LayerClusters and SimTracksters 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<ticl::TracksterCollection, ticl::TracksterCollection, std::pair<float, float>>> SimToRecoCollectionSimTracksters; typedef edm::AssociationMap< edm::OneToManyWithQualityGeneric<ticl::TracksterCollection, ticl::TracksterCollection, std::pair<float, float>>> RecoToSimCollectionSimTracksters; class TracksterToSimTracksterAssociatorBaseImpl { public: /// Constructor TracksterToSimTracksterAssociatorBaseImpl(); /// Destructor virtual ~TracksterToSimTracksterAssociatorBaseImpl(); /// Associate a Trackster to SimClusters virtual ticl::RecoToSimCollectionSimTracksters associateRecoToSim( const edm::Handle<ticl::TracksterCollection> &tCH, const edm::Handle<reco::CaloClusterCollection> &lCCH, const edm::Handle<ticl::TracksterCollection> &sTCH) const; /// Associate a SimCluster to Tracksters virtual ticl::SimToRecoCollectionSimTracksters associateSimToReco( const edm::Handle<ticl::TracksterCollection> &tCH, const edm::Handle<reco::CaloClusterCollection> &lCCH, const edm::Handle<ticl::TracksterCollection> &sTCH) const; }; } // namespace ticl #endif