test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AssociatedVariableMaxCutCandViewSelector.cc
Go to the documentation of this file.
1 /* \class AssociatedVariableMaxCutCandViewSelector
2  *
3  * Candidate Selector based on a maximun cut on an
4  * associated variable (e.g.: isolation), and saver a
5  * collection of references.
6  *
7  * Usage:
8  *
9  * module selectedCands = AssociatedVariableMaxCutCandViewSelector {
10  * InputTag src = myCollection
11  * double max = 0.2
12  * }
13  *
14  * \author: Luca Lista, INFN
15  *
16  */
25 typedef double isolation;
26 
27 typedef SingleObjectSelector<
32  >
34 
SingleObjectSelector< reco::CandViewDoubleAssociations, PairSelector< RefSelector< AnySelector >, MaxSelector< isolation > > > AssociatedVariableMaxCutCandViewSelector
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
edm::AssociationVector< CandidateBaseRefProd, std::vector< double > > CandViewDoubleAssociations