Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
GenFilters
plugins
MCZll.h
Go to the documentation of this file.
1
#ifndef MCZll_h
2
#define MCZll_h
3
// -*- C++ -*-
4
//
5
// Package: MCZll
6
// Class: MCZll
7
//
8
/*
9
10
Description: filter events based on the Pythia ProcessID and the Pt_hat
11
12
Implementation: inherits from generic EDFilter
13
14
*/
15
//
16
// Original Author: Paolo Meridiani
17
//
18
//
19
20
// system include files
21
#include <memory>
22
23
// user include files
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
#include "
FWCore/Framework/interface/EDFilter.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/Framework/interface/MakerMacros.h
"
29
30
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
31
32
//
33
// class decleration
34
//
35
namespace
edm
{
36
class
HepMCProduct
;
37
}
38
39
class
MCZll
:
public
edm::EDFilter
{
40
public
:
41
explicit
MCZll
(
const
edm::ParameterSet
&);
42
~
MCZll
()
override
;
43
void
endJob()
override
;
44
45
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
47
private
:
48
// ----------member data ---------------------------
49
edm::EDGetTokenT<edm::HepMCProduct>
token_
;
50
int
leptonFlavour_
;
51
double
leptonPtMin_
;
52
double
leptonPtMax_
;
53
double
leptonEtaMin_
;
54
double
leptonEtaMax_
;
55
std::pair<double, double>
zMassRange_
;
56
unsigned
int
nEvents_
;
57
unsigned
int
nAccepted_
;
58
bool
filter_
;
59
};
60
#endif
MCZll::token_
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition:
MCZll.h:49
MCZll::filter_
bool filter_
Definition:
MCZll.h:58
MCZll::leptonPtMin_
double leptonPtMin_
Definition:
MCZll.h:51
MCZll::leptonEtaMin_
double leptonEtaMin_
Definition:
MCZll.h:53
MCZll
Definition:
MCZll.h:39
MCZll::leptonFlavour_
int leptonFlavour_
Definition:
MCZll.h:50
Event.h
MakerMacros.h
MCZll::leptonEtaMax_
double leptonEtaMax_
Definition:
MCZll.h:54
edm::EDGetTokenT< edm::HepMCProduct >
Frameworkfwd.h
ParameterSet.h
EDFilter.h
HepMCProduct
edm::EventSetup
Definition:
EventSetup.h:57
MCZll::leptonPtMax_
double leptonPtMax_
Definition:
MCZll.h:52
edm::EDFilter
Definition:
EDFilter.h:39
MCZll::zMassRange_
std::pair< double, double > zMassRange_
Definition:
MCZll.h:55
MCZll::nEvents_
unsigned int nEvents_
Definition:
MCZll.h:56
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition:
ALCARECOTkAlBeamHalo_cff.py:27
edm
HLT enums.
Definition:
AlignableModifier.h:19
MCZll::nAccepted_
unsigned int nAccepted_
Definition:
MCZll.h:57
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
Generated for CMSSW Reference Manual by
1.8.11