Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
MuonAnalysis
MomentumScaleCalibration
plugins
MuScleFitGenFilter.h
Go to the documentation of this file.
1
// System include files
2
// --------------------
3
#include <memory>
4
#include <vector>
5
#include <string>
6
7
// User include files
8
// ------------------
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
FWCore/Framework/interface/EDFilter.h
"
11
#include "
FWCore/Framework/interface/Event.h
"
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
#include "
FWCore/Utilities/interface/InputTag.h
"
15
16
// Class declaration
17
// -----------------
18
19
class
MuScleFitGenFilter
:
public
edm::EDFilter
{
20
public
:
21
explicit
MuScleFitGenFilter
(
const
edm::ParameterSet
&);
22
~MuScleFitGenFilter
();
23
24
private
:
25
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
26
virtual
void
endJob
() {};
27
28
std::string
genParticlesName_
;
29
unsigned
int
totalEvents_
;
30
unsigned
int
eventsPassingTheFilter_
;
31
};
Event.h
MakerMacros.h
MuScleFitGenFilter
Definition:
MuScleFitGenFilter.cc:33
Frameworkfwd.h
ParameterSet.h
MuScleFitGenFilter::endJob
virtual void endJob()
Definition:
MuScleFitGenFilter.h:26
EDFilter.h
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDFilter
Definition:
EDFilter.h:24
MuScleFitGenFilter::~MuScleFitGenFilter
~MuScleFitGenFilter()
Definition:
MuScleFitGenFilter.cc:59
MuScleFitGenFilter::eventsPassingTheFilter_
unsigned int eventsPassingTheFilter_
Definition:
MuScleFitGenFilter.cc:44
MuScleFitGenFilter::genParticlesName_
std::string genParticlesName_
Definition:
MuScleFitGenFilter.cc:40
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
MuScleFitGenFilter::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
MuScleFitGenFilter.cc:67
MuScleFitGenFilter::totalEvents_
unsigned int totalEvents_
Definition:
MuScleFitGenFilter.cc:43
MuScleFitGenFilter::MuScleFitGenFilter
MuScleFitGenFilter(const edm::ParameterSet &)
Definition:
MuScleFitGenFilter.cc:49
Generated for CMSSW Reference Manual by
1.8.5