Main Page
Namespaces
Classes
Package Documentation
HLTrigger
HLTfilters
interface
HLTSmartSinglet.h
Go to the documentation of this file.
1
#ifndef HLTSmartSinglet_h
2
#define HLTSmartSinglet_h
3
18
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
19
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
20
#include<vector>
21
22
#include "
CommonTools/Utils/interface/StringCutObjectSelector.h
"
23
#include<string>
24
25
//
26
// class declaration
27
//
28
29
template
<
typename
T>
30
class
HLTSmartSinglet
:
public
HLTFilter
{
31
32
public
:
33
34
explicit
HLTSmartSinglet
(
const
edm::ParameterSet
&);
35
~HLTSmartSinglet
()
override
;
36
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
37
bool
hltFilter
(
edm::Event
&,
const
edm::EventSetup
&,
trigger::TriggerFilterObjectWithRefs
& filterproduct)
const override
;
38
39
private
:
40
edm::InputTag
inputTag_
;
// input tag identifying product
41
edm::EDGetTokenT<std::vector<T>
>
inputToken_
;
// token identifying product
42
int
triggerType_
;
// triggerType
43
std::string
cut_
;
// smart cut
44
int
min_N_
;
// number of objects passing cuts required
45
46
StringCutObjectSelector<T,true>
select_
;
// smart selector
47
};
48
49
#endif //HLTSmartSinglet_h
HLTSmartSinglet::HLTSmartSinglet
HLTSmartSinglet(const edm::ParameterSet &)
Definition:
HLTSmartSinglet.cc:26
HLTSmartSinglet::hltFilter
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTSmartSinglet.cc:63
HLTFilter.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
StringCutObjectSelector< T, true >
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:36
HLTSmartSinglet
Definition:
HLTSmartSinglet.h:30
HLTSmartSinglet::triggerType_
int triggerType_
Definition:
HLTSmartSinglet.h:42
HLTSmartSinglet::inputTag_
edm::InputTag inputTag_
Definition:
HLTSmartSinglet.h:40
edm::EDGetTokenT
Definition:
EDGetToken.h:32
StringCutObjectSelector.h
HLTSmartSinglet::cut_
std::string cut_
Definition:
HLTSmartSinglet.h:43
HLTFilter
Definition:
HLTFilter.h:28
HLTSmartSinglet::~HLTSmartSinglet
~HLTSmartSinglet() override
HLTSmartSinglet::min_N_
int min_N_
Definition:
HLTSmartSinglet.h:44
edm::EventSetup
Definition:
EventSetup.h:44
HLTSmartSinglet::select_
StringCutObjectSelector< T, true > select_
Definition:
HLTSmartSinglet.h:46
HLTSmartSinglet::inputToken_
edm::EDGetTokenT< std::vector< T > > inputToken_
Definition:
HLTSmartSinglet.h:41
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:69
HLTSmartSinglet::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTSmartSinglet.cc:46
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
Generated for CMSSW Reference Manual by
1.8.11