Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CommonTools
CandAlgos
plugins
AssociatedVariableMaxCutCandSelectorNew.cc
Go to the documentation of this file.
1
/* \class AssociatedVariableMaxCutCandSelectorNew
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 = AssociatedVariableMaxCutCandSelectorNew {
10
* InputTag src = myCollection
11
* InputTag var = myVariable
12
* double max = 0.2
13
* }
14
*
15
* \author: Luca Lista, INFN
16
*
17
*/
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
CommonTools/UtilAlgos/interface/ObjectSelector.h
"
20
#include "
CommonTools/UtilAlgos/interface/AssociatedVariableCollectionSelector.h
"
21
#include "
CommonTools/UtilAlgos/interface/AndSelector.h
"
22
#include "
CommonTools/UtilAlgos/interface/RefSelector.h
"
23
#include "
CommonTools/UtilAlgos/interface/AnySelector.h
"
24
#include "
CommonTools/UtilAlgos/interface/MaxSelector.h
"
25
#include "
DataFormats/Candidate/interface/Candidate.h
"
26
#include "
DataFormats/Common/interface/ValueMap.h
"
27
28
typedef
ObjectSelector
<
AssociatedVariableCollectionSelector
<
reco::CandidateView
,
29
edm::ValueMap<float>
,
30
AndSelector<AnySelector, MaxSelector<float>
> > >
31
AssociatedVariableMaxCutCandSelectorNew
;
32
33
DEFINE_FWK_MODULE
(
AssociatedVariableMaxCutCandSelectorNew
);
ObjectSelector
AssociatedVariableMaxCutCandSelectorNew
ObjectSelector< AssociatedVariableCollectionSelector< reco::CandidateView, edm::ValueMap< float >, AndSelector< AnySelector, MaxSelector< float > > > > AssociatedVariableMaxCutCandSelectorNew
Definition:
AssociatedVariableMaxCutCandSelectorNew.cc:31
MaxSelector.h
AssociatedVariableCollectionSelector.h
RefSelector.h
AssociatedVariableCollectionSelector
Definition:
AssociatedVariableCollectionSelector.h:34
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
MakerMacros.h
ObjectSelector.h
ValueMap.h
Candidate.h
AnySelector.h
edm::ValueMap< float >
AndSelector.h
AndSelector
Definition:
AndSelector.h:26
reco::CandidateView
edm::View< Candidate > CandidateView
view of a collection containing candidates
Definition:
CandidateFwd.h:23
Generated for CMSSW Reference Manual by
1.8.5