![]() |
The Gaudi Framework
v39r3 (979e3109)
|
Class of a selection statement. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/SelectStatement.h>


Public Member Functions | |
| SelectStatement (const std::string &s, long typ) | |
| Standard Constructor initializing select string. More... | |
| SelectStatement (const std::string &s) | |
| Standard Constructor initializing select string. More... | |
| SelectStatement () | |
| Standard Constructor initializing function call. More... | |
| virtual | ~SelectStatement () |
| Standard Destructor. More... | |
| long | type () const override |
| Access the type of the object. More... | |
| const std::string & | criteria () const override |
| Access the selection string. More... | |
| void | setCriteria (const std::string &crit) override |
| Set the type. More... | |
| void | setActive (bool flag=true) override |
| Change activity flag. More... | |
| bool | isActive () const override |
| Check if selection is active. More... | |
| virtual bool | operator() (void *) override |
| Stupid default implementation. More... | |
Public Member Functions inherited from implements< ISelectStatement > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| implements ()=default | |
| Default constructor. More... | |
| implements (const implements &) | |
| Copy constructor (zero the reference count) More... | |
| implements & | operator= (const implements &) |
| Assignment operator (do not touch the reference count). More... | |
| unsigned long | addRef () override |
| Reference Interface instance More... | |
| unsigned long | release () override |
| Release Interface instance More... | |
| unsigned long | refCount () const override |
| Current reference count More... | |
Protected Attributes | |
| std::string | m_select |
| Select string. More... | |
| bool | m_isActive |
| Activation flag. More... | |
| long | m_type |
| Type identifier. More... | |
Protected Attributes inherited from implements< ISelectStatement > | |
| std::atomic_ulong | m_refCount |
| Reference counter More... | |
Additional Inherited Members | |
Public Types inherited from implements< ISelectStatement > | |
| using | base_class = implements< Interfaces... > |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces... > |
| Typedef to the base of this class. More... | |
| using | iids = typename extend_interfaces_base::ext_iids |
Public Types inherited from extend_interfaces< Interfaces... > | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
| take union of the ext_iids of all Interfaces... More... | |
Class of a selection statement.
A select statement can either contain
bool MySelect::operator()(IValueLocator* l) { float px, py, pz; if ( l->get("PX",px) && l->get("PY",py) && l->get("PZ",pz) ) { float mom = sqrt(px*px+py*py+pz*pz); return mom > 100.0 * GeV; } return false; }
if "true" is returned, the object will be loaded completely.
History: +------—+-------------------------------------------—+-----—+ | Date | Comment | Who | +------—+-------------------------------------------—+-----—+ | 21/10/99| Initial version. | MF | +------—+-------------------------------------------—+-----—+ Author: M.Frank Version: 1.0
Definition at line 54 of file SelectStatement.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlinevirtual |
|
inlineoverride |
|
inlineoverride |
|
inlineoverridevirtual |
Stupid default implementation.
Reimplemented in NTuple::Selector.
Definition at line 78 of file SelectStatement.h.
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
protected |
Activation flag.
Definition at line 84 of file SelectStatement.h.
|
protected |
Select string.
Definition at line 82 of file SelectStatement.h.
|
protected |
Type identifier.
Definition at line 86 of file SelectStatement.h.