Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
HLTrigger
HLTfilters
src
HLTBool.cc
Go to the documentation of this file.
1
13
#include "
HLTrigger/HLTfilters/interface/HLTBool.h
"
14
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
15
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
17
18
//
19
// constructors and destructor
20
//
21
HLTBool::HLTBool
(
const
edm::ParameterSet
& iConfig) :
22
result_(iConfig.getParameter<bool> (
"result"
))
23
{
24
LogDebug
(
"HLTBool"
) <<
" configured result is: "
<<
result_
;
25
}
26
27
HLTBool::~HLTBool
()
28
{
29
}
30
31
void
32
HLTBool::fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions) {
33
edm::ParameterSetDescription
desc;
34
desc.
add
<
bool
>(
"result"
,
false
);
35
descriptions.
add
(
"hltBool"
,desc);
36
}
37
38
//
39
// member functions
40
//
41
42
// ------------ method called to produce the data ------------
43
bool
44
HLTBool::filter
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
45
{
46
return
result_
;
47
}
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:516
MessageLogger.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
HLTBool.h
iEvent
int iEvent
Definition:
GenABIO.cc:243
ParameterSetDescription.h
HLTBool::HLTBool
HLTBool(const edm::ParameterSet &)
Definition:
HLTBool.cc:21
HLTBool::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTBool.cc:32
edm::EventSetup
Definition:
EventSetup.h:44
HLTBool::~HLTBool
~HLTBool()
Definition:
HLTBool.cc:27
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:89
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:60
HLTBool::result_
bool result_
Boolean result.
Definition:
HLTBool.h:39
edm::ParameterSet
Definition:
ParameterSet.h:32
ConfigurationDescriptions.h
edm::Event
Definition:
Event.h:49
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
HLTBool::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
HLTBool.cc:44
Generated for CMSSW Reference Manual by
1.8.5