Main Page
Namespaces
Classes
Package Documentation
CommonTools
CandAlgos
interface
GenJetParticleSelector.h
Go to the documentation of this file.
1
#ifndef GenJetParticleSelector_h
2
#define GenJetParticleSelector_h
3
/* \class GenJetParticleSelector
4
*
5
* \author Luca Lista, INFN
6
*
7
* \version $Id: GenJetParticleSelector.h,v 1.1 2008/02/07 14:37:04 llista Exp $
8
*
9
*/
10
#include "
SimGeneral/HepPDTRecord/interface/PdtEntry.h
"
11
#include <set>
12
13
namespace
edm
{
14
class
ParameterSet
;
15
class
EventSetup
;
16
class
Event
;
17
class
ConsumesCollector;
18
}
// namespace edm
19
namespace
reco
{
20
class
Candidate
;
21
}
22
23
class
GenJetParticleSelector
{
24
public
:
25
GenJetParticleSelector
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
& iC);
26
bool
operator()(
const
reco::Candidate
&);
27
void
init
(
const
edm::EventSetup
&);
28
29
private
:
30
typedef
std::vector<PdtEntry>
vpdt
;
31
bool
stableOnly_
;
32
bool
partons_
;
33
vpdt
pdtList_
;
34
bool
bInclude_
;
35
std::set<int>
pIds_
;
36
};
37
38
#include "
CommonTools/UtilAlgos/interface/EventSetupInitTrait.h
"
39
40
namespace
reco
{
41
namespace
modules
{
42
struct
GenJetParticleSelectorEventSetupInit
{
43
static
void
init
(
GenJetParticleSelector
& selector,
const
edm::Event
& evt,
const
edm::EventSetup
& es) {
44
selector.
init
(es);
45
}
46
};
47
48
template
<>
49
struct
EventSetupInit
<
GenJetParticleSelectorEventSetupInit
> {
50
typedef
GenJetParticleSelectorEventSetupInit
type
;
51
};
52
}
// namespace modules
53
}
// namespace reco
54
55
#endif
GenJetParticleSelector::bInclude_
bool bInclude_
Definition:
GenJetParticleSelector.h:34
ParameterSet
Definition:
Functions.h:16
GenJetParticleSelector::vpdt
std::vector< PdtEntry > vpdt
Definition:
GenJetParticleSelector.h:30
init
int init
Definition:
HydjetWrapper.h:64
reco::Candidate
Definition:
Candidate.h:28
reco::modules::EventSetupInit< GenJetParticleSelectorEventSetupInit >::type
GenJetParticleSelectorEventSetupInit type
Definition:
GenJetParticleSelector.h:50
reco::modules::GenJetParticleSelectorEventSetupInit::init
static void init(GenJetParticleSelector &selector, const edm::Event &evt, const edm::EventSetup &es)
Definition:
GenJetParticleSelector.h:43
reco::modules::GenJetParticleSelectorEventSetupInit
Definition:
GenJetParticleSelector.h:42
GenJetParticleSelector::pIds_
std::set< int > pIds_
Definition:
GenJetParticleSelector.h:35
GenJetParticleSelector::pdtList_
vpdt pdtList_
Definition:
GenJetParticleSelector.h:33
EventSetup
GenJetParticleSelector::stableOnly_
bool stableOnly_
Definition:
GenJetParticleSelector.h:31
edm::EventSetup
Definition:
EventSetup.h:57
PdtEntry.h
GenJetParticleSelector::partons_
bool partons_
Definition:
GenJetParticleSelector.h:32
GenJetParticleSelector::init
void init(const edm::EventSetup &)
Definition:
GenJetParticleSelector.cc:57
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:20
reco::modules::EventSetupInit
Definition:
EventSetupInitTrait.h:33
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:19
GenJetParticleSelector
Definition:
GenJetParticleSelector.h:23
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
EventSetupInitTrait.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
modules
Definition:
ZHLTMatchFilter.cc:17
Generated for CMSSW Reference Manual by
1.8.11