CMS 3D CMS Logo

Public Member Functions | Private Attributes

HLTBool Class Reference

#include <HLTBool.h>

Inheritance diagram for HLTBool:
HLTFilter edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

virtual bool filter (edm::Event &, const edm::EventSetup &)
 HLTBool (const edm::ParameterSet &)
 ~HLTBool ()

Private Attributes

bool result_
 Boolean result.

Detailed Description

This class is an HLTFilter (-> EDFilter) returning always the same configurable Boolean value (good for tests)

Date:
2007/08/16 14:49:05
Revision:
1.1
Author:
Martin Grunewald

See header file for documentation

Date:
2008/01/09 14:16:15
Revision:
1.3
Author:
Martin Grunewald

Definition at line 23 of file HLTBool.h.


Constructor & Destructor Documentation

HLTBool::HLTBool ( const edm::ParameterSet iConfig) [explicit]

Definition at line 19 of file HLTBool.cc.

References LogDebug, and result_.

                                               :
  result_(iConfig.getParameter<bool> ("result"))
{
  LogDebug("HLTBool") << " configured result is: " << result_;
}
HLTBool::~HLTBool ( )

Definition at line 25 of file HLTBool.cc.

{
}

Member Function Documentation

bool HLTBool::filter ( edm::Event iEvent,
const edm::EventSetup iSetup 
) [virtual]

Implements HLTFilter.

Definition at line 35 of file HLTBool.cc.

References result_.

{
   return result_;
}

Member Data Documentation

bool HLTBool::result_ [private]

Boolean result.

Definition at line 34 of file HLTBool.h.

Referenced by filter(), and HLTBool().