/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoParticleFlow/PFClusterTools/interface/ClusterClusterMapping.h
41 строка
2 KB
Cms Build
Clang-Format
03 июн 2019, 06:43
03 июн 2019, 06:43
2b2acc7
Код
Авторство
О чём код?
#ifndef CLUSTERCLUSTERMAPPING_H #define CLUSTERCLUSTERMAPPING_H #include "DataFormats/CaloRecHit/interface/CaloCluster.h" #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h" #include "DataFormats/EgammaReco/interface/SuperCluster.h" #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h" #include "DataFormats/ParticleFlowReco/interface/PFCluster.h" #include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h" #include "DataFormats/Common/interface/ValueMap.h" class ClusterClusterMapping { public: ClusterClusterMapping() { ; } ~ClusterClusterMapping() { ; } // check the overlap of two CaloClusters (by detid) static bool overlap(const reco::CaloCluster &sc1, const reco::CaloCluster &sc, float minfrac = 0.01, bool debug = false); static bool overlap(const reco::PFClusterRef &pfclustest, const reco::SuperCluster &sc, const edm::ValueMap<reco::CaloClusterPtr> &pfclusassoc); static int checkOverlap(const reco::PFCluster &pfc, const std::vector<const reco::SuperCluster *> &sc, float minfrac = 0.01, bool debug = false); static int checkOverlap(const reco::PFCluster &pfc, const std::vector<reco::SuperClusterRef> &sc, float minfrac = 0.01, bool debug = false); static int checkOverlap(const reco::PFClusterRef &pfc, const std::vector<reco::SuperClusterRef> &sc, const edm::ValueMap<reco::CaloClusterPtr> &pfclusassoc); }; #endif