Main Page
Namespaces
Classes
Package Documentation
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
29
public
:
30
// Constructor
31
explicit
HiggsTo2GammaSkim
(
const
edm::ParameterSet
&);
32
33
// Destructor
34
~HiggsTo2GammaSkim
()
override
;
35
37
bool
filter
(
edm::Event
&,
const
edm::EventSetup
& )
override
;
38
39
40
private
:
41
int
nEvents
,
nSelectedEvents
;
42
43
44
bool
debug
;
45
float
photon1MinPt
;
46
float
photon2MinPt
;
47
int
nPhotonMin
;
48
49
// Reco samples
50
edm::EDGetTokenT<reco::PhotonCollection>
thePhotonToken
;
51
};
52
53
#endif
HiggsTo2GammaSkim
Definition:
HiggsTo2GammaSkim.h:27
Event.h
MakerMacros.h
HiggsTo2GammaSkim::nPhotonMin
int nPhotonMin
Definition:
HiggsTo2GammaSkim.h:47
HiggsTo2GammaSkim::photon2MinPt
float photon2MinPt
Definition:
HiggsTo2GammaSkim.h:46
edm::EDGetTokenT< reco::PhotonCollection >
Frameworkfwd.h
HiggsTo2GammaSkim::thePhotonToken
edm::EDGetTokenT< reco::PhotonCollection > thePhotonToken
Definition:
HiggsTo2GammaSkim.h:50
ParameterSet.h
HiggsTo2GammaSkim::nEvents
int nEvents
Definition:
HiggsTo2GammaSkim.h:41
HiggsTo2GammaSkim::~HiggsTo2GammaSkim
~HiggsTo2GammaSkim() override
Definition:
HiggsTo2GammaSkim.cc:53
EDFilter.h
HiggsTo2GammaSkim::debug
bool debug
Definition:
HiggsTo2GammaSkim.h:44
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDFilter
Definition:
EDFilter.h:38
HiggsTo2GammaSkim::nSelectedEvents
int nSelectedEvents
Definition:
HiggsTo2GammaSkim.h:41
HiggsTo2GammaSkim::HiggsTo2GammaSkim
HiggsTo2GammaSkim(const edm::ParameterSet &)
Definition:
HiggsTo2GammaSkim.cc:33
HiggsTo2GammaSkim::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.
Definition:
HiggsTo2GammaSkim.cc:64
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HiggsTo2GammaSkim::photon1MinPt
float photon1MinPt
Definition:
HiggsTo2GammaSkim.h:45
edm::Event
Definition:
Event.h:69
PhotonFwd.h
Generated for CMSSW Reference Manual by
1.8.11