CMS 3D CMS Logo

HLTBool.cc
Go to the documentation of this file.
1 
11 #include "HLTBool.h"
15 
16 //
17 // constructors and destructor
18 //
20  result_(iConfig.getParameter<bool> ("result"))
21 {
22  LogDebug("HLTBool") << " configured result is: " << result_;
23 }
24 
25 HLTBool::~HLTBool() = default;
26 
27 void
30  desc.add<bool>("result", false);
31  descriptions.add("hltBool", desc);
32 }
33 
34 //
35 // member functions
36 //
37 
38 // ------------ method called to produce the data ------------
39 bool
41 {
42  return result_;
43 }
#define LogDebug(id)
bool filter(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
Definition: HLTBool.cc:40
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
HLTBool(const edm::ParameterSet &)
Definition: HLTBool.cc:19
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTBool.cc:28
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool result_
boolean result
Definition: HLTBool.h:37
~HLTBool() override
Definition: event.py:1