Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
GenFilters
interface
PythiaFilterTTBar.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: PythiaFilterTTBar
4
// Class: PythiaFilterTTBar
5
//
20
//
21
// Original Author: Michael Maes
22
// Created: Wed Dec 3 12:07:13 CET 2009
23
//
24
//
25
26
27
// system include files
28
#include <memory>
29
30
// user include files
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/Framework/interface/EDFilter.h
"
33
34
#include "
FWCore/Framework/interface/Event.h
"
35
#include "
FWCore/Framework/interface/MakerMacros.h
"
36
37
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
38
#include "
FWCore/ServiceRegistry/interface/Service.h
"
39
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
40
#include "
FWCore/Utilities/interface/InputTag.h
"
41
42
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
43
#include "
DataFormats/Common/interface/View.h
"
44
45
46
#include <map>
47
#include <vector>
48
49
#include <string>
50
51
//
52
// class declaration
53
//
54
55
class
PythiaFilterTTBar
:
public
edm::EDFilter
{
56
public
:
57
explicit
PythiaFilterTTBar
(
const
edm::ParameterSet
&);
58
~PythiaFilterTTBar
()
override
;
59
60
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
61
62
private
:
63
64
edm::EDGetTokenT<edm::HepMCProduct>
token_
;
65
66
unsigned
int
decayType_
;
67
68
unsigned
int
leptonFlavour_
;
69
70
71
72
// ----------member data ---------------------------
73
74
};
75
Event.h
PythiaFilterTTBar::token_
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition:
PythiaFilterTTBar.h:64
MakerMacros.h
PythiaFilterTTBar::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition:
PythiaFilterTTBar.cc:39
edm::EDGetTokenT< edm::HepMCProduct >
Frameworkfwd.h
TFileService.h
ParameterSet.h
PythiaFilterTTBar::~PythiaFilterTTBar
~PythiaFilterTTBar() override
Definition:
PythiaFilterTTBar.cc:24
PythiaFilterTTBar::leptonFlavour_
unsigned int leptonFlavour_
Definition:
PythiaFilterTTBar.h:68
EDFilter.h
PythiaFilterTTBar::decayType_
unsigned int decayType_
Definition:
PythiaFilterTTBar.h:66
PythiaFilterTTBar::PythiaFilterTTBar
PythiaFilterTTBar(const edm::ParameterSet &)
Definition:
PythiaFilterTTBar.cc:16
View.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
HepMCProduct.h
edm::EDFilter
Definition:
EDFilter.h:39
PythiaFilterTTBar
Definition:
PythiaFilterTTBar.h:55
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
Generated for CMSSW Reference Manual by
1.8.11