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
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
();
36
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
37
virtual
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
HLTFilter.h
StringCutObjectSelector< T, true >
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:36
HLTSmartSinglet
Definition:
HLTSmartSinglet.h:30
HLTSmartSinglet::hltFilter
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTSmartSinglet.cc:65
HLTSmartSinglet::triggerType_
int triggerType_
Definition:
HLTSmartSinglet.h:42
HLTSmartSinglet::inputTag_
edm::InputTag inputTag_
Definition:
HLTSmartSinglet.h:40
edm::EDGetTokenT
Definition:
EDGetToken.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HLTSmartSinglet::~HLTSmartSinglet
~HLTSmartSinglet()
Definition:
HLTSmartSinglet.cc:42
StringCutObjectSelector.h
HLTSmartSinglet::cut_
std::string cut_
Definition:
HLTSmartSinglet.h:43
HLTFilter
Definition:
HLTFilter.h:28
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:17
edm::ParameterSet
Definition:
ParameterSet.h:35
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:59
HLTSmartSinglet::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTSmartSinglet.cc:48
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
Generated for CMSSW Reference Manual by
1.8.5