/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CommonTools/RecoAlgos/plugins/RecoCandViewRefSelector.cc
24 строки
797 B
Cms Build
Clang-Format
18 июн 2019, 07:17
18 июн 2019, 07:17
bcd6d63
Код
Авторство
О чём код?
/* \class RefCandViewRefSelector * * RefCandidate Selector based on a configurable cut. * Reads a edm::View<RefCandidate> as input * and saves a vector of references * Usage: * * module selectedCands = RefCandViewRefSelector { * InputTag src = myCollection * string cut = "pt > 15.0 & track().isValid()" * }; * * \author: Luca Lista, INFN * */ #include "FWCore/Framework/interface/MakerMacros.h" #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h" #include "CommonTools/UtilAlgos/interface/StringCutObjectSelector.h" #include "DataFormats/RecoCandidate/interface/RecoCandidate.h" typedef SingleObjectSelector<edm::View<reco::RecoCandidate>, StringCutObjectSelector<reco::RecoCandidate> > RecoCandViewRefSelector; DEFINE_FWK_MODULE(RecoCandViewRefSelector);