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