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
{
class
ParameterSet
;
class
EventSetup
;
class
Event
;
class
ConsumesCollector; }
14
namespace
reco
{
class
Candidate
; }
15
16
class
GenJetParticleSelector
{
17
public
:
18
GenJetParticleSelector
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
& iC);
19
bool
operator()(
const
reco::Candidate
&);
20
void
init
(
const
edm::EventSetup
&);
21
private
:
22
typedef
std::vector<PdtEntry>
vpdt
;
23
bool
stableOnly_
;
24
bool
partons_
;
25
vpdt
pdtList_
;
26
bool
bInclude_
;
27
std::set<int>
pIds_
;
28
};
29
30
#include "
CommonTools/UtilAlgos/interface/EventSetupInitTrait.h
"
31
32
namespace
reco
{
33
namespace
modules
{
34
struct
GenJetParticleSelectorEventSetupInit
{
35
static
void
init
(
GenJetParticleSelector
& selector,
36
const
edm::Event
& evt,
37
const
edm::EventSetup
& es) {
38
selector.
init
(es);
39
}
40
};
41
42
template
<>
43
struct
EventSetupInit
<
GenJetParticleSelectorEventSetupInit
> {
44
typedef
GenJetParticleSelectorEventSetupInit
type
;
45
};
46
}
47
}
48
49
#endif
GenJetParticleSelector::bInclude_
bool bInclude_
Definition:
GenJetParticleSelector.h:26
ParameterSet
Definition:
Functions.h:16
GenJetParticleSelector::vpdt
std::vector< PdtEntry > vpdt
Definition:
GenJetParticleSelector.h:22
init
int init
Definition:
HydjetWrapper.h:67
reco::Candidate
Definition:
Candidate.h:28
reco::modules::EventSetupInit< GenJetParticleSelectorEventSetupInit >::type
GenJetParticleSelectorEventSetupInit type
Definition:
GenJetParticleSelector.h:44
reco::modules::GenJetParticleSelectorEventSetupInit::init
static void init(GenJetParticleSelector &selector, const edm::Event &evt, const edm::EventSetup &es)
Definition:
GenJetParticleSelector.h:35
reco::modules::GenJetParticleSelectorEventSetupInit
Definition:
GenJetParticleSelector.h:34
GenJetParticleSelector::pIds_
std::set< int > pIds_
Definition:
GenJetParticleSelector.h:27
GenJetParticleSelector::pdtList_
vpdt pdtList_
Definition:
GenJetParticleSelector.h:25
EventSetup
GenJetParticleSelector::stableOnly_
bool stableOnly_
Definition:
GenJetParticleSelector.h:23
edm::EventSetup
Definition:
EventSetup.h:44
PdtEntry.h
GenJetParticleSelector::partons_
bool partons_
Definition:
GenJetParticleSelector.h:24
GenJetParticleSelector::init
void init(const edm::EventSetup &)
Definition:
GenJetParticleSelector.cc:57
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:22
reco::modules::EventSetupInit
Definition:
EventSetupInitTrait.h:35
Event
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
GenJetParticleSelector
Definition:
GenJetParticleSelector.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
EventSetupInitTrait.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
modules
Definition:
ZHLTMatchFilter.cc:17
Generated for CMSSW Reference Manual by
1.8.11