CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/HLTrigger/HLTfilters/src/HLTBool.cc

Go to the documentation of this file.
00001 
00013 #include "HLTrigger/HLTfilters/interface/HLTBool.h"
00014 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00015 
00016 //
00017 // constructors and destructor
00018 //
00019 HLTBool::HLTBool(const edm::ParameterSet& iConfig) :
00020   result_(iConfig.getParameter<bool> ("result"))
00021 {
00022   LogDebug("HLTBool") << " configured result is: " << result_;
00023 }
00024 
00025 HLTBool::~HLTBool()
00026 {
00027 }
00028 
00029 //
00030 // member functions
00031 //
00032 
00033 // ------------ method called to produce the data  ------------
00034 bool
00035 HLTBool::filter(edm::Event& iEvent, const edm::EventSetup& iSetup)
00036 {
00037    return result_;
00038 }