/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CommonTools/RecoAlgos/plugins/SuperClusterRefSelector.cc
34 строки
1 KB
Cms Build
Clang-Format
18 июн 2019, 07:17
18 июн 2019, 07:17
bcd6d63
Код
Авторство
О чём код?
/* \class SuperClusterRefSelector * * Selects super-cluster with a configurable string-based cut. * Saves references to the selected super-clusters * * \author: Luca Lista, INFN * * usage: * * module bestSuperClusters = SuperClusterRefSelector { * src = hybridSuperClusters * string cut = "energy > 20 & abs( eta ) < 2" * } * * for more details about the cut syntax, see the documentation * page below: * * https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePhysicsCutParser * * */ #include "FWCore/Framework/interface/MakerMacros.h" #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h" #include "CommonTools/UtilAlgos/interface/StringCutObjectSelector.h" #include "DataFormats/EgammaReco/interface/SuperCluster.h" #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h" typedef SingleObjectSelector<reco::SuperClusterCollection, StringCutObjectSelector<reco::SuperCluster>, reco::SuperClusterRefVector> SuperClusterRefSelector; DEFINE_FWK_MODULE(SuperClusterRefSelector);