Main Page
Namespaces
Classes
Package Documentation
CommonTools
CandAlgos
plugins
DummyCandSelector.cc
Go to the documentation of this file.
1
/* \class DummyCandSelector
2
*
3
* Dummy Candidate selector module
4
*
5
* module allCands = DummyCandSelector {
6
* InputTag src = myCollection
7
* };
8
*
9
* \author: Luca Lista, INFN
10
*
11
*/
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
14
#include "
CommonTools/UtilAlgos/interface/DummySelector.h
"
15
#include "
CommonTools/UtilAlgos/interface/FreeFunctionSelector.h
"
16
#include "
DataFormats/Candidate/interface/Candidate.h
"
17
18
typedef
SingleObjectSelector
<
19
reco::CandidateView
,
20
DummySelector
21
>
DummyCandSelector
;
22
23
typedef
SingleObjectSelector
<
24
reco::CandidateView
,
25
FreeFunctionSelector<reco::Candidate, dummy::select>
26
>
DummyFunCandSelector
;
27
28
DEFINE_FWK_MODULE
(
DummyCandSelector
);
29
DEFINE_FWK_MODULE
(
DummyFunCandSelector
);
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:17
MakerMacros.h
Candidate.h
DummyFunCandSelector
SingleObjectSelector< reco::CandidateView, FreeFunctionSelector< reco::Candidate, dummy::select > > DummyFunCandSelector
Definition:
DummyCandSelector.cc:26
FreeFunctionSelector.h
SingleObjectSelector.h
DummySelector.h
DummyCandSelector
SingleObjectSelector< reco::CandidateView, DummySelector > DummyCandSelector
Definition:
DummyCandSelector.cc:21
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:28
DummySelector
Definition:
DummySelector.h:21
FreeFunctionSelector
Definition:
FreeFunctionSelector.h:10
reco::CandidateView
edm::View< Candidate > CandidateView
view of a collection containing candidates
Definition:
CandidateFwd.h:23
Generated for CMSSW Reference Manual by
1.8.11