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 
15 
16 //
17 // constructors and destructor
18 //
20  result_(iConfig.getParameter<bool> ("result"))
21 {
22  LogDebug("HLTBool") << " configured result is: " << result_;
23 }
24 
26 {
27 }
28 
29 void
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
43 {
44  return result_;
45 }
#define LogDebug(id)
int iEvent
Definition: GenABIO.cc:230
HLTBool(const edm::ParameterSet &)
Definition: HLTBool.cc:19
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTBool.cc:30
~HLTBool()
Definition: HLTBool.cc:25
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool result_
Boolean result.
Definition: HLTBool.h:39
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition: HLTBool.cc:42