HiggsAnalysis
Skimming
interface
HiggsToZZ4LeptonsSkim.h
Go to the documentation of this file.
1
#ifndef HiggsAnalysis_HiggsToZZ4LeptonsSkim
2
#define HiggsAnalysis_HiggsToZZ4LeptonsSkim
3
4
/* \class HiggsTo4LeptonsSkim
5
*
6
*
7
* Filter to select 4 lepton events based on the
8
* 1 or 2 electron or 1 or 2 muon HLT trigger,
9
* and four leptons (no flavour requirement).
10
* No charge requirements are applied on event.
11
*
12
* \author Dominique Fortin - UC Riverside
13
*
14
*/
15
16
// system include files
17
#include <memory>
18
19
// user include files
20
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
21
#include "
FWCore/Framework/interface/EDFilter.h
"
22
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/Framework/interface/MakerMacros.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Utilities/interface/InputTag.h
"
27
28
#include <
DataFormats/TrackReco/interface/TrackFwd.h
>
29
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
30
31
class
HiggsToZZ4LeptonsSkim
:
public
edm::EDFilter
{
32
public
:
33
// Constructor
34
explicit
HiggsToZZ4LeptonsSkim
(
const
edm::ParameterSet
&);
35
36
// Destructor
37
~HiggsToZZ4LeptonsSkim
()
override
;
38
40
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
41
42
private
:
43
int
nEvents
,
nSelectedEvents
;
44
45
bool
debug
;
46
float
stiffMinPt
;
47
float
softMinPt
;
48
int
nStiffLeptonMin
;
49
int
nLeptonMin
;
50
51
// Reco samples
52
edm::EDGetTokenT<reco::TrackCollection>
theGLBMuonToken
;
53
edm::EDGetTokenT<reco::GsfElectronCollection>
theGsfEToken
;
54
};
55
56
#endif
HiggsToZZ4LeptonsSkim::HiggsToZZ4LeptonsSkim
HiggsToZZ4LeptonsSkim(const edm::ParameterSet &)
Definition:
HiggsToZZ4LeptonsSkim.cc:31
HiggsToZZ4LeptonsSkim::nLeptonMin
int nLeptonMin
Definition:
HiggsToZZ4LeptonsSkim.h:49
edm::EDGetTokenT< reco::TrackCollection >
EDFilter.h
HiggsToZZ4LeptonsSkim::debug
bool debug
Definition:
HiggsToZZ4LeptonsSkim.h:45
HiggsToZZ4LeptonsSkim::nStiffLeptonMin
int nStiffLeptonMin
Definition:
HiggsToZZ4LeptonsSkim.h:48
MakerMacros.h
HiggsToZZ4LeptonsSkim::theGLBMuonToken
edm::EDGetTokenT< reco::TrackCollection > theGLBMuonToken
Definition:
HiggsToZZ4LeptonsSkim.h:52
TrackFwd.h
HiggsToZZ4LeptonsSkim::nEvents
int nEvents
Definition:
HiggsToZZ4LeptonsSkim.h:43
GsfElectronFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HiggsToZZ4LeptonsSkim::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.
Definition:
HiggsToZZ4LeptonsSkim.cc:57
Event.h
edm::EDFilter
Definition:
EDFilter.h:39
edm::EventSetup
Definition:
EventSetup.h:57
HiggsToZZ4LeptonsSkim::stiffMinPt
float stiffMinPt
Definition:
HiggsToZZ4LeptonsSkim.h:46
InputTag.h
HiggsToZZ4LeptonsSkim::softMinPt
float softMinPt
Definition:
HiggsToZZ4LeptonsSkim.h:47
Frameworkfwd.h
HiggsToZZ4LeptonsSkim::theGsfEToken
edm::EDGetTokenT< reco::GsfElectronCollection > theGsfEToken
Definition:
HiggsToZZ4LeptonsSkim.h:53
ParameterSet.h
HiggsToZZ4LeptonsSkim::nSelectedEvents
int nSelectedEvents
Definition:
HiggsToZZ4LeptonsSkim.h:43
edm::Event
Definition:
Event.h:73
HiggsToZZ4LeptonsSkim::~HiggsToZZ4LeptonsSkim
~HiggsToZZ4LeptonsSkim() override
Definition:
HiggsToZZ4LeptonsSkim.cc:50
HiggsToZZ4LeptonsSkim
Definition:
HiggsToZZ4LeptonsSkim.h:31
Generated for CMSSW Reference Manual by
1.8.16