HiggsAnalysis
Skimming
interface
HiggsTo2GammaSkim.h
Go to the documentation of this file.
1
#ifndef HiggsAnalysis_HiggsTo2GammaSkim
2
#define HiggsAnalysis_HiggsTo2GammaSkim
3
4
/* \class HiggsTo2GammaSkim
5
*
6
*
7
* Filter to select 2 photon events based on the
8
* 1 or 2 photon HLT trigger,
9
*
10
* \author Kati Lassila-Perini - Helsinki Institute of Physics
11
*
12
*/
13
14
// system include files
15
#include <memory>
16
17
// user include files
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDFilter.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
FWCore/Utilities/interface/InputTag.h
"
25
#include <
DataFormats/EgammaCandidates/interface/PhotonFwd.h
>
26
27
class
HiggsTo2GammaSkim
:
public
edm::EDFilter
{
28
public
:
29
// Constructor
30
explicit
HiggsTo2GammaSkim
(
const
edm::ParameterSet
&);
31
32
// Destructor
33
~HiggsTo2GammaSkim
()
override
;
34
36
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
37
38
private
:
39
int
nEvents
,
nSelectedEvents
;
40
41
bool
debug
;
42
float
photon1MinPt
;
43
float
photon2MinPt
;
44
int
nPhotonMin
;
45
46
// Reco samples
47
edm::EDGetTokenT<reco::PhotonCollection>
thePhotonToken
;
48
};
49
50
#endif
edm::EDGetTokenT< reco::PhotonCollection >
EDFilter.h
HiggsTo2GammaSkim::photon2MinPt
float photon2MinPt
Definition:
HiggsTo2GammaSkim.h:43
PhotonFwd.h
HiggsTo2GammaSkim::thePhotonToken
edm::EDGetTokenT< reco::PhotonCollection > thePhotonToken
Definition:
HiggsTo2GammaSkim.h:47
HiggsTo2GammaSkim::nPhotonMin
int nPhotonMin
Definition:
HiggsTo2GammaSkim.h:44
MakerMacros.h
HiggsTo2GammaSkim::~HiggsTo2GammaSkim
~HiggsTo2GammaSkim() override
Definition:
HiggsTo2GammaSkim.cc:47
HiggsTo2GammaSkim::debug
bool debug
Definition:
HiggsTo2GammaSkim.h:41
HiggsTo2GammaSkim::nEvents
int nEvents
Definition:
HiggsTo2GammaSkim.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HiggsTo2GammaSkim::nSelectedEvents
int nSelectedEvents
Definition:
HiggsTo2GammaSkim.h:39
edm::EDFilter
Definition:
EDFilter.h:39
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
Frameworkfwd.h
HiggsTo2GammaSkim::HiggsTo2GammaSkim
HiggsTo2GammaSkim(const edm::ParameterSet &)
Definition:
HiggsTo2GammaSkim.cc:31
HiggsTo2GammaSkim
Definition:
HiggsTo2GammaSkim.h:27
HiggsTo2GammaSkim::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.
Definition:
HiggsTo2GammaSkim.cc:54
ParameterSet.h
edm::Event
Definition:
Event.h:73
HiggsTo2GammaSkim::photon1MinPt
float photon1MinPt
Definition:
HiggsTo2GammaSkim.h:42
Generated for CMSSW Reference Manual by
1.8.16