Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/SingleObjectSelector.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
29
typedef
ObjectSelector
<
30
AssociatedVariableCollectionSelector
<
31
reco::CandidateView
,
edm::ValueMap<float>
,
32
AndSelector
<
33
AnySelector
,
34
MaxSelector<float>
35
>
36
>
37
>
AssociatedVariableMaxCutCandSelectorNew
;
38
39
DEFINE_FWK_MODULE
(
AssociatedVariableMaxCutCandSelectorNew
);
ObjectSelector
Definition:
ObjectSelector.h:38
AssociatedVariableMaxCutCandSelectorNew
ObjectSelector< AssociatedVariableCollectionSelector< reco::CandidateView, edm::ValueMap< float >, AndSelector< AnySelector, MaxSelector< float > > > > AssociatedVariableMaxCutCandSelectorNew
Definition:
AssociatedVariableMaxCutCandSelectorNew.cc:37
MaxSelector.h
AssociatedVariableCollectionSelector.h
RefSelector.h
AssociatedVariableCollectionSelector
Definition:
AssociatedVariableCollectionSelector.h:29
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
ValueMap.h
Candidate.h
SingleObjectSelector.h
AnySelector.h
edm::ValueMap< float >
AndSelector.h
AnySelector
Definition:
AnySelector.h:10
AndSelector
Definition:
AndSelector.h:23
reco::CandidateView
edm::View< Candidate > CandidateView
view of a collection containing candidates
Definition:
CandidateFwd.h:23
MaxSelector
Definition:
MaxSelector.h:11
Generated for CMSSW Reference Manual by
1.8.5