Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
Egamma
interface
HLTElectronGenericFilter.h
Go to the documentation of this file.
1
#ifndef HLTElectronGenericFilter_h
2
#define HLTElectronGenericFilter_h
3
10
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
11
12
#include "
DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h
"
13
#include "
DataFormats/EgammaCandidates/interface/ElectronIsolationAssociation.h
"
14
15
namespace
edm {
16
class
ConfigurationDescriptions
;
17
}
18
19
//
20
// class declaration
21
//
22
23
class
HLTElectronGenericFilter
:
public
HLTFilter
{
24
25
public
:
26
explicit
HLTElectronGenericFilter
(
const
edm::ParameterSet
&);
27
~HLTElectronGenericFilter
();
28
virtual
bool
hltFilter
(
edm::Event
&,
const
edm::EventSetup
&,
trigger::TriggerFilterObjectWithRefs
& filterproduct)
const override
;
29
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
30
31
private
:
32
edm::InputTag
candTag_
;
// input tag identifying product that contains filtered electrons
33
edm::InputTag
isoTag_
;
// input tag identifying product that contains isolated map
34
edm::InputTag
nonIsoTag_
;
// input tag identifying product that contains non-isolated map
35
edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs>
candToken_
;
36
edm::EDGetTokenT<reco::ElectronIsolationMap>
isoToken_
;
37
edm::EDGetTokenT<reco::ElectronIsolationMap>
nonIsoToken_
;
38
bool
lessThan_
;
// the cut is "<" or ">" ?
39
double
thrRegularEB_
;
// threshold for regular cut (x < thr) - ECAL barrel
40
double
thrRegularEE_
;
// threshold for regular cut (x < thr) - ECAL endcap
41
double
thrOverPtEB_
;
// threshold for x/p_T < thr cut (isolations) - ECAL barrel
42
double
thrOverPtEE_
;
// threshold for x/p_T < thr cut (isolations) - ECAL endcap
43
double
thrTimesPtEB_
;
// threshold for x*p_T < thr cut (isolations) - ECAL barrel
44
double
thrTimesPtEE_
;
// threshold for x*p_T < thr cut (isolations) - ECAL endcap
45
int
ncandcut_
;
// number of electrons required
46
bool
doIsolated_
;
47
48
edm::InputTag
L1IsoCollTag_
;
49
edm::InputTag
L1NonIsoCollTag_
;
50
};
51
52
#endif //HLTElectronGenericFilter_h
53
54
HLTElectronGenericFilter
Definition:
HLTElectronGenericFilter.h:23
HLTElectronGenericFilter::candTag_
edm::InputTag candTag_
Definition:
HLTElectronGenericFilter.h:32
HLTElectronGenericFilter::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTElectronGenericFilter.cc:51
HLTFilter.h
HLTElectronGenericFilter::L1IsoCollTag_
edm::InputTag L1IsoCollTag_
Definition:
HLTElectronGenericFilter.h:48
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:36
HLTElectronGenericFilter::~HLTElectronGenericFilter
~HLTElectronGenericFilter()
Definition:
HLTElectronGenericFilter.cc:48
ElectronIsolationAssociation.h
TriggerFilterObjectWithRefs.h
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs >
HLTElectronGenericFilter::L1NonIsoCollTag_
edm::InputTag L1NonIsoCollTag_
Definition:
HLTElectronGenericFilter.h:49
HLTFilter
Definition:
HLTFilter.h:28
HLTElectronGenericFilter::thrTimesPtEE_
double thrTimesPtEE_
Definition:
HLTElectronGenericFilter.h:44
HLTElectronGenericFilter::thrOverPtEB_
double thrOverPtEB_
Definition:
HLTElectronGenericFilter.h:41
HLTElectronGenericFilter::isoTag_
edm::InputTag isoTag_
Definition:
HLTElectronGenericFilter.h:33
HLTElectronGenericFilter::thrRegularEE_
double thrRegularEE_
Definition:
HLTElectronGenericFilter.h:40
HLTElectronGenericFilter::isoToken_
edm::EDGetTokenT< reco::ElectronIsolationMap > isoToken_
Definition:
HLTElectronGenericFilter.h:36
HLTElectronGenericFilter::nonIsoToken_
edm::EDGetTokenT< reco::ElectronIsolationMap > nonIsoToken_
Definition:
HLTElectronGenericFilter.h:37
edm::EventSetup
Definition:
EventSetup.h:45
HLTElectronGenericFilter::doIsolated_
bool doIsolated_
Definition:
HLTElectronGenericFilter.h:46
ConfigurationDescriptions
HLTElectronGenericFilter::thrRegularEB_
double thrRegularEB_
Definition:
HLTElectronGenericFilter.h:39
HLTElectronGenericFilter::ncandcut_
int ncandcut_
Definition:
HLTElectronGenericFilter.h:45
HLTElectronGenericFilter::lessThan_
bool lessThan_
Definition:
HLTElectronGenericFilter.h:38
HLTElectronGenericFilter::thrOverPtEE_
double thrOverPtEE_
Definition:
HLTElectronGenericFilter.h:42
HLTElectronGenericFilter::candToken_
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > candToken_
Definition:
HLTElectronGenericFilter.h:35
edm::InputTag
Definition:
InputTag.h:18
HLTElectronGenericFilter::thrTimesPtEB_
double thrTimesPtEB_
Definition:
HLTElectronGenericFilter.h:43
HLTElectronGenericFilter::HLTElectronGenericFilter
HLTElectronGenericFilter(const edm::ParameterSet &)
Definition:
HLTElectronGenericFilter.cc:27
edm::ParameterSet
Definition:
ParameterSet.h:36
HLTElectronGenericFilter::hltFilter
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTElectronGenericFilter.cc:73
HLTElectronGenericFilter::nonIsoTag_
edm::InputTag nonIsoTag_
Definition:
HLTElectronGenericFilter.h:34
edm::Event
Definition:
Event.h:64
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
Generated for CMSSW Reference Manual by
1.8.5