#include <HLTBool.h>
Public Member Functions | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
HLTBool (const edm::ParameterSet &) | |
~HLTBool () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | result_ |
Boolean result. |
This class is an HLTFilter (-> EDFilter) returning always the same configurable Boolean value (good for tests)
See header file for documentation
HLTBool::HLTBool | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 21 of file HLTBool.cc.
References LogDebug, and result_.
: result_(iConfig.getParameter<bool> ("result")) { LogDebug("HLTBool") << " configured result is: " << result_; }
HLTBool::~HLTBool | ( | ) |
Definition at line 27 of file HLTBool.cc.
{ }
void HLTBool::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) | [static] |
Reimplemented from edm::EDFilter.
Definition at line 32 of file HLTBool.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::add().
{ edm::ParameterSetDescription desc; desc.add<bool>("result", false); descriptions.add("hltBool", desc); }
bool HLTBool::filter | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Implements edm::EDFilter.
Definition at line 44 of file HLTBool.cc.
References result_.
{ return result_; }
bool HLTBool::result_ [private] |