CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTBool.cc
Go to the documentation of this file.
1 
17 
18 //
19 // constructors and destructor
20 //
22  result_(iConfig.getParameter<bool> ("result"))
23 {
24  LogDebug("HLTBool") << " configured result is: " << result_;
25 }
26 
28 {
29 }
30 
31 void
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
45 {
46  return result_;
47 }
#define LogDebug(id)
int iEvent
Definition: GenABIO.cc:243
HLTBool(const edm::ParameterSet &)
Definition: HLTBool.cc:21
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTBool.cc:32
~HLTBool()
Definition: HLTBool.cc:27
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool result_
Boolean result.
Definition: HLTBool.h:41
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition: HLTBool.cc:44