/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CommonTools/CandAlgos/plugins/AssociatedVariableMaxCutCandViewSelector.cc
31 строка
1 KB
Cms Build
Clang-Format
05 июн 2019, 13:58
05 июн 2019, 13:58
4bb99cd
Код
Авторство
О чём код?
/* \class AssociatedVariableMaxCutCandViewSelector * * Candidate Selector based on a maximun cut on an * associated variable (e.g.: isolation), and saver a * collection of references. * * Usage: * * module selectedCands = AssociatedVariableMaxCutCandViewSelector { * InputTag src = myCollection * double max = 0.2 * } * * \author: Luca Lista, INFN * */ #include "FWCore/Framework/interface/MakerMacros.h" #include "CommonTools/UtilAlgos/interface/SingleObjectSelector.h" #include "CommonTools/UtilAlgos/interface/PairSelector.h" #include "CommonTools/UtilAlgos/interface/RefSelector.h" #include "CommonTools/UtilAlgos/interface/AnySelector.h" #include "CommonTools/UtilAlgos/interface/MaxSelector.h" #include "DataFormats/Candidate/interface/Candidate.h" #include "DataFormats/Candidate/interface/CandAssociation.h" typedef double isolation; typedef SingleObjectSelector<reco::CandViewDoubleAssociations, PairSelector<RefSelector<AnySelector>, MaxSelector<isolation> > > AssociatedVariableMaxCutCandViewSelector; DEFINE_FWK_MODULE(AssociatedVariableMaxCutCandViewSelector);