Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
HLTfilters
interface
HLTSinglet.h
Go to the documentation of this file.
1
#ifndef HLTSinglet_h
2
#define HLTSinglet_h
3
16
#include<vector>
17
#include "
DataFormats/HLTReco/interface/TriggerTypeDefs.h
"
18
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
19
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
20
21
//
22
// class declaration
23
//
24
25
template
<
typename
T>
26
class
HLTSinglet
:
public
HLTFilter
{
27
28
public
:
29
explicit
HLTSinglet
(
const
edm::ParameterSet
&);
30
~HLTSinglet
();
31
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
32
virtual
bool
hltFilter
(
edm::Event
&,
const
edm::EventSetup
&,
trigger::TriggerFilterObjectWithRefs
& filterproduct)
const override
;
33
34
private
:
35
const
edm::InputTag
inputTag_
;
// input tag identifying product
36
const
edm::EDGetTokenT<std::vector<T>
>
inputToken_
;
// token identifying product
37
const
int
triggerType_
;
// triggerType configured
38
const
int
min_N_
;
// number of objects passing cuts required
39
const
double
min_E_
;
// energy threshold in GeV
40
const
double
min_Pt_
;
// pt threshold in GeV
41
const
double
min_Mass_
;
// mass threshold in GeV
42
const
double
max_Eta_
;
// eta range (symmetric)
43
};
44
45
#endif // HLTSinglet_h
HLTFilter.h
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:36
HLTSinglet::min_E_
const double min_E_
Definition:
HLTSinglet.h:39
edm::EDGetTokenT
Definition:
EDGetToken.h:32
HLTSinglet::max_Eta_
const double max_Eta_
Definition:
HLTSinglet.h:42
HLTFilter
Definition:
HLTFilter.h:28
edm::EventSetup
Definition:
EventSetup.h:44
HLTSinglet::min_Mass_
const double min_Mass_
Definition:
HLTSinglet.h:41
HLTSinglet::min_Pt_
const double min_Pt_
Definition:
HLTSinglet.h:40
HLTSinglet::~HLTSinglet
~HLTSinglet()
Definition:
HLTSinglet.cc:93
HLTSinglet::min_N_
const int min_N_
Definition:
HLTSinglet.h:38
HLTSinglet::triggerType_
const int triggerType_
Definition:
HLTSinglet.h:37
HLTSinglet::hltFilter
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTSinglet.cc:119
edm::InputTag
Definition:
InputTag.h:17
HLTSinglet
Definition:
HLTSinglet.h:26
edm::ParameterSet
Definition:
ParameterSet.h:35
ConfigurationDescriptions.h
HLTSinglet::inputToken_
const edm::EDGetTokenT< std::vector< T > > inputToken_
Definition:
HLTSinglet.h:36
HLTSinglet::inputTag_
const edm::InputTag inputTag_
Definition:
HLTSinglet.h:35
TriggerTypeDefs.h
edm::Event
Definition:
Event.h:62
HLTSinglet::HLTSinglet
HLTSinglet(const edm::ParameterSet &)
Definition:
HLTSinglet.cc:76
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
HLTSinglet::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTSinglet.cc:99
Generated for CMSSW Reference Manual by
1.8.5