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