Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
GenFilters
interface
MCProcessFilter.h
Go to the documentation of this file.
1
#ifndef MCPROCESSFILTER_h
2
#define MCPROCESSFILTER_h
3
// -*- C++ -*-
4
//
5
// Package: MCProcessFilter
6
// Class: MCProcessFilter
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: Filip Moortgat
17
// Created: Mon Sept 11 10:57:54 CET 2006
18
// $Id: MCProcessFilter.h,v 1.2 2010/07/21 04:23:23 wmtan Exp $
19
//
20
//
21
22
23
// system include files
24
#include <memory>
25
26
// user include files
27
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
28
#include "
FWCore/Framework/interface/EDFilter.h
"
29
30
#include "
FWCore/Framework/interface/Event.h
"
31
#include "
FWCore/Framework/interface/MakerMacros.h
"
32
33
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
34
35
36
//
37
// class decleration
38
//
39
40
class
MCProcessFilter
:
public
edm::EDFilter
{
41
public
:
42
explicit
MCProcessFilter
(
const
edm::ParameterSet
&);
43
~MCProcessFilter
();
44
45
46
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
47
private
:
48
// ----------member data ---------------------------
49
50
std::string
label_
;
51
std::vector<int>
processID
;
52
std::vector<double>
pthatMin
;
53
std::vector<double>
pthatMax
;
54
};
55
#endif
Event.h
MakerMacros.h
MCProcessFilter::pthatMin
std::vector< double > pthatMin
Definition:
MCProcessFilter.h:52
MCProcessFilter
Definition:
MCProcessFilter.h:40
Frameworkfwd.h
ParameterSet.h
MCProcessFilter::processID
std::vector< int > processID
Definition:
MCProcessFilter.h:51
MCProcessFilter::MCProcessFilter
MCProcessFilter(const edm::ParameterSet &)
Definition:
MCProcessFilter.cc:11
EDFilter.h
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDFilter
Definition:
EDFilter.h:24
MCProcessFilter::label_
std::string label_
Definition:
MCProcessFilter.h:50
MCProcessFilter::pthatMax
std::vector< double > pthatMax
Definition:
MCProcessFilter.h:53
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
MCProcessFilter::~MCProcessFilter
~MCProcessFilter()
Definition:
MCProcessFilter.cc:49
MCProcessFilter::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
MCProcessFilter.cc:59
Generated for CMSSW Reference Manual by
1.8.5