Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
GenFilters
interface
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
21
// system include files
22
#include <memory>
23
24
// user include files
25
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
26
#include "
FWCore/Framework/interface/EDFilter.h
"
27
28
#include "
FWCore/Framework/interface/Event.h
"
29
#include "
FWCore/Framework/interface/MakerMacros.h
"
30
31
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
32
33
34
//
35
// class decleration
36
//
37
namespace
edm
{
38
class
HepMCProduct
;
39
}
40
41
class
MCZll
:
public
edm::EDFilter
{
42
public
:
43
explicit
MCZll
(
const
edm::ParameterSet
&);
44
~
MCZll
()
override
;
45
void
endJob()
override
;
46
47
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
48
private
:
49
// ----------member data ---------------------------
50
edm::EDGetTokenT<edm::HepMCProduct>
token_
;
51
int
leptonFlavour_
;
52
double
leptonPtMin_
;
53
double
leptonPtMax_
;
54
double
leptonEtaMin_
;
55
double
leptonEtaMax_
;
56
std::pair<double,double>
zMassRange_
;
57
unsigned
int
nEvents_
;
58
unsigned
int
nAccepted_
;
59
bool
filter_
;
60
};
61
#endif
MCZll::token_
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition:
MCZll.h:50
MCZll::filter_
bool filter_
Definition:
MCZll.h:59
MCZll::leptonPtMin_
double leptonPtMin_
Definition:
MCZll.h:52
MCZll::leptonEtaMin_
double leptonEtaMin_
Definition:
MCZll.h:54
MCZll
Definition:
MCZll.h:41
MCZll::leptonFlavour_
int leptonFlavour_
Definition:
MCZll.h:51
Event.h
MakerMacros.h
MCZll::leptonEtaMax_
double leptonEtaMax_
Definition:
MCZll.h:55
edm::EDGetTokenT< edm::HepMCProduct >
Frameworkfwd.h
ParameterSet.h
EDFilter.h
HepMCProduct
edm::EventSetup
Definition:
EventSetup.h:57
MCZll::leptonPtMax_
double leptonPtMax_
Definition:
MCZll.h:53
edm::EDFilter
Definition:
EDFilter.h:39
MCZll::nEvents_
unsigned int nEvents_
Definition:
MCZll.h:57
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition:
ALCARECOTkAlBeamHalo_cff.py:27
edm
HLT enums.
Definition:
AlignableModifier.h:17
MCZll::nAccepted_
unsigned int nAccepted_
Definition:
MCZll.h:58
edm::ParameterSet
Definition:
ParameterSet.h:36
MCZll::zMassRange_
std::pair< double, double > zMassRange_
Definition:
MCZll.h:56
edm::Event
Definition:
Event.h:71
Generated for CMSSW Reference Manual by
1.8.11