Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatUtils
interface
JetSelector.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_PatUtils_JetSelector_h
2
#define PhysicsTools_PatUtils_JetSelector_h
3
21
#include <string>
22
#include "
DataFormats/JetReco/interface/Jet.h
"
23
#include "
DataFormats/JetReco/interface/CaloJet.h
"
24
#include "
DataFormats/JetReco/interface/PFJet.h
"
25
#include "
PhysicsTools/PatUtils/interface/JetSelection.h
"
26
#include "
PhysicsTools/PatUtils/interface/CaloJetSelector.h
"
27
#include "
DataFormats/Common/interface/ValueMap.h
"
28
29
#include "
PhysicsTools/PatUtils/interface/ParticleCode.h
"
30
31
32
namespace
pat
{
33
34
typedef
edm::ValueMap<double>
JetValueMap
;
35
36
template
<
typename
JetType>
37
class
JetSelector
{
38
39
40
public
:
41
JetSelector
(
const
JetSelection
&
config
);
42
~JetSelector
() {}
43
49
const
ParticleStatus
50
filter
(
const
unsigned
int
&
index
,
51
const
edm::View<JetType>
&
Jets
,
52
const
JetValueMap* JetMap
53
)
const
;
54
55
56
private
:
57
58
JetSelection
config_
;
59
60
std::unique_ptr<CaloJetSelector>
CaloJetSelector_
;
61
//std::unique_ptr<CaloJetSelector> PFSelector_;///Selects PFJets
62
63
};
// class
64
65
}
// namespace
66
67
#endif
pat::JetSelection
Definition:
JetSelection.h:10
ParticleCode.h
Defines the enumerations of particle type and status.
METSkim_cff.Jets
Jets
Definition:
METSkim_cff.py:17
pat::JetSelector::CaloJetSelector_
std::unique_ptr< CaloJetSelector > CaloJetSelector_
Definition:
JetSelector.h:60
pat::JetSelector::filter
const ParticleStatus filter(const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const
config
Definition:
config.py:1
pat::JetSelector
Selects good Jets.
Definition:
JetSelector.h:37
ValueMap.h
pat::JetSelector::JetSelector
JetSelector(const JetSelection &config)
pat::JetSelector::~JetSelector
~JetSelector()
Definition:
JetSelector.h:42
pat
Definition:
HeavyIon.h:7
edm::View
Definition:
CaloClusterFwd.h:14
CaloJetSelector.h
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:36
Jet.h
edm::ValueMap
Definition:
ValueMap.h:107
pat::JetValueMap
edm::ValueMap< double > JetValueMap
Definition:
JetSelector.h:34
JetSelection.h
pat::ParticleStatus
ParticleStatus
Definition of particle status after selection.
Definition:
ParticleCode.h:30
CaloJet.h
pat::JetSelector::config_
JetSelection config_
Definition:
JetSelector.h:58
PFJet.h
Generated for CMSSW Reference Manual by
1.8.11