HLTrigger
HLTfilters
plugins
HLTGlobalSums.h
Go to the documentation of this file.
1
#ifndef HLTGlobalSums_h
2
#define HLTGlobalSums_h
3
16
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
17
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
18
#include <string>
19
#include <vector>
20
21
//
22
// class declaration
23
//
24
25
template
<
typename
T>
26
class
HLTGlobalSums
:
public
HLTFilter
{
27
public
:
28
explicit
HLTGlobalSums
(
const
edm::ParameterSet
&);
29
~HLTGlobalSums
()
override
;
30
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
31
bool
hltFilter
(
edm::Event
&,
32
const
edm::EventSetup
&,
33
trigger::TriggerFilterObjectWithRefs
& filterproduct)
const override
;
34
35
private
:
36
// configuration
37
edm::InputTag
inputTag_
;
// input tag identifying MET product
38
edm::EDGetTokenT<std::vector<T>
>
inputToken_
;
// token identifying MET product
39
int
triggerType_
;
// triggerType configured
40
std::string
observable_
;
// which observable to cut on
41
double
min_
,
max_
;
// cut: Min<=observable<=Max
42
int
min_N_
;
// how many needed to pass
43
int
tid_
;
// actual triggerType
44
};
45
46
#endif //HLTGlobalSums_h
HLTFilter.h
HLTGlobalSums::hltFilter
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTGlobalSums.cc:87
HLTGlobalSums::max_
double max_
Definition:
HLTGlobalSums.h:41
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:35
HLTGlobalSums::inputToken_
edm::EDGetTokenT< std::vector< T > > inputToken_
Definition:
HLTGlobalSums.h:38
HLTGlobalSums::triggerType_
int triggerType_
Definition:
HLTGlobalSums.h:39
edm::EDGetTokenT
Definition:
EDGetToken.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HLTFilter
Definition:
HLTFilter.h:28
edm::EventSetup
Definition:
EventSetup.h:59
HLTGlobalSums::~HLTGlobalSums
~HLTGlobalSums() override
HLTGlobalSums::min_
double min_
Definition:
HLTGlobalSums.h:41
HLTGlobalSums::tid_
int tid_
Definition:
HLTGlobalSums.h:43
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:47
ConfigurationDescriptions.h
HLTGlobalSums::inputTag_
edm::InputTag inputTag_
Definition:
HLTGlobalSums.h:37
HLTGlobalSums::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTGlobalSums.cc:69
edm::Event
Definition:
Event.h:73
HLTGlobalSums
Definition:
HLTGlobalSums.h:26
HLTGlobalSums::HLTGlobalSums
HLTGlobalSums(const edm::ParameterSet &)
Definition:
HLTGlobalSums.cc:28
HLTGlobalSums::min_N_
int min_N_
Definition:
HLTGlobalSums.h:42
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTGlobalSums::observable_
std::string observable_
Definition:
HLTGlobalSums.h:40
Generated for CMSSW Reference Manual by
1.8.14