PhysicsTools
JetMCAlgos
plugins
TauGenJetDecayModeSelector.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_JetMCAlgos_TauGenJetDecayModeSelector_h
2
#define PhysicsTools_JetMCAlgos_TauGenJetDecayModeSelector_h
3
15
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
16
#include "
CommonTools/UtilAlgos/interface/SingleObjectSelector.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
FWCore/Utilities/interface/InputTag.h
"
19
20
#include "
DataFormats/JetReco/interface/GenJet.h
"
21
#include "
DataFormats/JetReco/interface/GenJetCollection.h
"
22
23
class
TauGenJetDecayModeSelectorImp
{
24
public
:
25
// constructor
26
explicit
TauGenJetDecayModeSelectorImp
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
& iC);
27
28
bool
operator()
(
const
reco::GenJet
&)
const
;
29
30
private
:
31
typedef
std::vector<std::string>
vstring
;
32
vstring
selectedTauDecayModes_
;
33
};
34
35
typedef
SingleObjectSelector<reco::GenJetCollection, TauGenJetDecayModeSelectorImp>
TauGenJetDecayModeSelector
;
36
37
#endif
GenJetCollection.h
reco::GenJet
Jets made from MC generator particles.
Definition:
GenJet.h:23
SingleObjectSelector.h
TauGenJetDecayModeSelectorImp::selectedTauDecayModes_
vstring selectedTauDecayModes_
Definition:
TauGenJetDecayModeSelector.h:32
TauGenJetDecayModeSelectorImp::operator()
bool operator()(const reco::GenJet &) const
Definition:
TauGenJetDecayModeSelector.cc:9
TauGenJetDecayModeSelector
SingleObjectSelector< reco::GenJetCollection, TauGenJetDecayModeSelectorImp > TauGenJetDecayModeSelector
Definition:
TauGenJetDecayModeSelector.h:35
edm::ParameterSet
Definition:
ParameterSet.h:36
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:26
InputTag.h
TauGenJetDecayModeSelectorImp::TauGenJetDecayModeSelectorImp
TauGenJetDecayModeSelectorImp(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Definition:
TauGenJetDecayModeSelector.cc:5
TauGenJetDecayModeSelectorImp::vstring
std::vector< std::string > vstring
Definition:
TauGenJetDecayModeSelector.h:31
GenJet.h
ConsumesCollector.h
ParameterSet.h
TauGenJetDecayModeSelectorImp
Definition:
TauGenJetDecayModeSelector.h:23
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.16