Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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<vector>
22
23
#include "
CommonTools/Utils/interface/StringCutObjectSelector.h
"
24
#include<string>
25
26
//
27
// class declaration
28
//
29
30
template
<
typename
T,
int
T
id
>
31
class
HLTSmartSinglet
:
public
HLTFilter
{
32
33
public
:
34
35
explicit
HLTSmartSinglet
(
const
edm::ParameterSet
&);
36
~HLTSmartSinglet
();
37
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
38
39
private
:
40
edm::InputTag
inputTag_
;
// input tag identifying product
41
bool
saveTag_
;
// whether to save this tag
42
std::string
cut_
;
// smart cut
43
int
min_N_
;
// number of objects passing cuts required
44
45
StringCutObjectSelector<T,true>
select_
;
// smart selector
46
};
47
48
#endif //HLTSmartSinglet_h
HLTSmartSinglet::~HLTSmartSinglet
~HLTSmartSinglet()
Definition:
HLTSmartSinglet.cc:40
HLTSmartSinglet::HLTSmartSinglet
HLTSmartSinglet(const edm::ParameterSet &)
Definition:
HLTSmartSinglet.cc:26
HLTFilter.h
HLTSmartSinglet::select_
StringCutObjectSelector< T, true > select_
Definition:
HLTSmartSinglet.h:45
StringCutObjectSelector< T, true >
HLTSmartSinglet
Definition:
HLTSmartSinglet.h:31
HLTSmartSinglet::saveTag_
bool saveTag_
Definition:
HLTSmartSinglet.h:41
StringCutObjectSelector.h
HLTFilter
Definition:
HLTFilter.h:27
HLTSmartSinglet::inputTag_
edm::InputTag inputTag_
Definition:
HLTSmartSinglet.h:40
edm::EventSetup
Definition:
EventSetup.h:44
HLTSmartSinglet::min_N_
int min_N_
Definition:
HLTSmartSinglet.h:43
edm::InputTag
Definition:
InputTag.h:12
edm::ParameterSet
Definition:
ParameterSet.h:32
HLTSmartSinglet::cut_
std::string cut_
Definition:
HLTSmartSinglet.h:42
HLTSmartSinglet::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
HLTSmartSinglet.cc:51
edm::Event
Definition:
Event.h:49
Generated for CMSSW Reference Manual by
1.8.5