CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLTBool.cc
Go to the documentation of this file.
1 
10 #include "HLTBool.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 
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 ------------
HLTBool(const edm::ParameterSet &)
Definition: HLTBool.cc:18
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTBool.cc:24
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool result_
boolean result
Definition: HLTBool.h:36
~HLTBool() override
bool filter(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
Definition: HLTBool.cc:35
#define LogDebug(id)