Main Page
Namespaces
Classes
Package Documentation
GeneratorInterface
GenFilters
interface
MCLongLivedParticles.h
Go to the documentation of this file.
1
#ifndef MCLongLivedParticles_h
2
#define MCLongLivedParticles_h
3
// -*- C++ -*-
4
//
5
// Package: MCLongLivedParticles
6
// Class: MCLongLivedParticles
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
//
19
//
20
21
22
// system include files
23
#include <memory>
24
25
// user include files
26
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
27
#include "
FWCore/Framework/interface/EDFilter.h
"
28
29
#include "
FWCore/Framework/interface/Event.h
"
30
#include "
FWCore/Framework/interface/MakerMacros.h
"
31
#include "
FWCore/Utilities/interface/InputTag.h
"
32
33
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
34
35
36
//
37
// class decleration
38
//
39
40
class
MCLongLivedParticles
:
public
edm::EDFilter
{
41
public
:
42
explicit
MCLongLivedParticles
(
const
edm::ParameterSet
&);
43
~MCLongLivedParticles
()
override
;
44
45
46
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
47
private
:
48
// ----------member data ---------------------------
49
50
float
theCut
;
51
edm::InputTag
hepMCProductTag_
;
52
};
53
#endif
MCLongLivedParticles::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition:
MCLongLivedParticles.cc:28
Event.h
MakerMacros.h
Frameworkfwd.h
MCLongLivedParticles::hepMCProductTag_
edm::InputTag hepMCProductTag_
Definition:
MCLongLivedParticles.h:51
ParameterSet.h
MCLongLivedParticles::MCLongLivedParticles
MCLongLivedParticles(const edm::ParameterSet &)
Definition:
MCLongLivedParticles.cc:11
MCLongLivedParticles::~MCLongLivedParticles
~MCLongLivedParticles() override
Definition:
MCLongLivedParticles.cc:18
EDFilter.h
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDFilter
Definition:
EDFilter.h:39
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
MCLongLivedParticles::theCut
float theCut
Definition:
MCLongLivedParticles.h:50
edm::Event
Definition:
Event.h:71
MCLongLivedParticles
Definition:
MCLongLivedParticles.h:40
Generated for CMSSW Reference Manual by
1.8.11