HLTrigger
HLTfilters
plugins
HLTBool.cc
Go to the documentation of this file.
1
10
#include "
HLTBool.h
"
11
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
12
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
14
15
//
16
// constructors and destructor
17
//
18
HLTBool::HLTBool
(
const
edm::ParameterSet
& iConfig) : result_(iConfig.getParameter<
bool
>(
"result"
)) {
19
LogDebug
(
"HLTBool"
) <<
" configured result is: "
<<
result_
;
20
}
21
22
HLTBool::~HLTBool
() =
default
;
23
24
void
HLTBool::fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions) {
25
edm::ParameterSetDescription
desc
;
26
desc
.add<
bool
>(
"result"
,
false
);
27
descriptions.
add
(
"hltBool"
,
desc
);
28
}
29
30
//
31
// member functions
32
//
33
34
// ------------ method called to produce the data ------------
35
bool
HLTBool::filter
(
edm::StreamID
,
edm::Event
&
event
,
edm::EventSetup
const
&
setup
)
const
{
return
result_
; }
MessageLogger.h
edm::StreamID
Definition:
StreamID.h:30
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
HLTBool.h
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
HLTBool::HLTBool
HLTBool(const edm::ParameterSet &)
Definition:
HLTBool.cc:18
HLTBool::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTBool.cc:24
edm::EventSetup
Definition:
EventSetup.h:59
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
electrons_cff.bool
bool
Definition:
electrons_cff.py:381
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:57
HLTBool::result_
bool result_
boolean result
Definition:
HLTBool.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
HLTBool::~HLTBool
~HLTBool() override
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:73
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTBool::filter
bool filter(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
Definition:
HLTBool.cc:35
event
Definition:
event.py:1
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:233
Generated for CMSSW Reference Manual by
1.8.14