CMS 3D CMS Logo

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 
30 
RefSelector.h
reco::CandViewDoubleAssociations
edm::AssociationVector< CandidateBaseRefProd, std::vector< double > > CandViewDoubleAssociations
Definition: CandAssociation.h:36
SingleObjectSelector.h
AnySelector.h
isolation
double isolation
Definition: AssociatedVariableMaxCutCandViewSelector.cc:25
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MaxSelector
Definition: MaxSelector.h:11
CandAssociation.h
AssociatedVariableMaxCutCandViewSelector
SingleObjectSelector< reco::CandViewDoubleAssociations, PairSelector< RefSelector< AnySelector >, MaxSelector< isolation > > > AssociatedVariableMaxCutCandViewSelector
Definition: AssociatedVariableMaxCutCandViewSelector.cc:29
SingleObjectSelectorBase
Definition: SingleObjectSelector.h:26
PairSelector
Definition: PairSelector.h:11
Candidate.h
PairSelector.h
MaxSelector.h