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)
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)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool result_
boolean result
Definition: HLTBool.h:37
virtual bool filter(edm::StreamID, edm::Event &, edm::EventSetup const &) const overridefinal
Definition: HLTBool.cc:42