CMS 3D CMS Logo

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 ------------
ConfigurationDescriptions.h
HLTBool::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTBool.cc:24
edm::StreamID
Definition: StreamID.h:30
electrons_cff.bool
bool
Definition: electrons_cff.py:366
MessageLogger.h
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLTBool::HLTBool
HLTBool(const edm::ParameterSet &)
Definition: HLTBool.cc:18
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
HLTBool::~HLTBool
~HLTBool() override
edm::EventSetup
Definition: EventSetup.h:58
HLTBool.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
HLTBool::filter
bool filter(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
Definition: HLTBool.cc:35
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
HLTBool::result_
bool result_
boolean result
Definition: HLTBool.h:36