test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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::auto_ptr<CaloJetSelector>
CaloJetSelector_
;
61
//std::auto_ptr<CaloJetSelector> PFSelector_;///Selects PFJets
62
63
};
// class
64
65
}
// namespace
66
67
#endif
mps_alisetup.config
tuple config
Definition:
mps_alisetup.py:145
pat::JetSelection
Definition:
JetSelection.h:8
ParticleCode.h
Defines the enumerations of particle type and status.
pat::JetSelector::filter
const ParticleStatus filter(const unsigned int &index, const edm::View< JetType > &Jets, const JetValueMap *JetMap) const
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
cmsHarvester.index
string index
Definition:
cmsHarvester.py:4379
edm::View
Definition:
CaloClusterFwd.h:14
CaloJetSelector.h
METSkim_cff.Jets
tuple Jets
Definition:
METSkim_cff.py:17
Jet.h
pat::JetSelector::CaloJetSelector_
std::auto_ptr< CaloJetSelector > CaloJetSelector_
Definition:
JetSelector.h:60
edm::ValueMap
Definition:
ValueMap.h:104
pat::JetValueMap
edm::ValueMap< double > JetValueMap
Definition:
JetSelector.h:34
JetSelection.h
pat::ParticleStatus
ParticleStatus
Definition of particle status after selection.
Definition:
ParticleCode.h:32
CaloJet.h
pat::JetSelector::config_
JetSelection config_
Definition:
JetSelector.h:58
PFJet.h
Generated for CMSSW Reference Manual by
1.8.5