src
CommonTools
CandAlgos
plugins
CandPtrSelector.cc
Go to the documentation of this file.
1
/* \class CandPtrSelector
2
*
3
* Candidate Selector based on a configurable cut.
4
* Reads a edm::View<Candidate> as input
5
* and saves a vector of references (edm::PtrVector)
6
*
7
* \author: Luca Lista, INFN
8
*
9
*/
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
12
#include "
CommonTools/UtilAlgos/interface/StringCutObjectSelector.h
"
13
#include "
DataFormats/Candidate/interface/Candidate.h
"
14
15
typedef
SingleObjectSelector<edm::View<reco::Candidate>
,
16
StringCutObjectSelector<reco::Candidate, true>
,
17
edm::PtrVector<reco::Candidate>
>
18
CandPtrSelector
;
19
20
DEFINE_FWK_MODULE
(
CandPtrSelector
);
StringCutObjectSelector.h
StringCutObjectSelector< reco::Candidate, true >
Candidate.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
SingleObjectSelector.h
CandPtrSelector
SingleObjectSelector< edm::View< reco::Candidate >, StringCutObjectSelector< reco::Candidate, true >, edm::PtrVector< reco::Candidate > > CandPtrSelector
Definition:
CandPtrSelector.cc:18
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:31
edm::PtrVector
Definition:
PtrVector.h:36
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14