|
ATLAS Offline Software
|
Go to the documentation of this file.
14 ATH_MSG_ERROR(
"Property invertFlags has different size to selectionFlags. Please check your configuration");
15 return StatusCode::FAILURE;
20 if (thisflag.empty()) {
22 return StatusCode::FAILURE;
32 std::unique_ptr<ISelectionReadAccessor>
accessor;
40 return StatusCode::SUCCESS;
52 bool testval = !m_invertFlags[
index];
55 if (m_accessors[
index]->getBool(*evtInfo) != testval) {
58 return StatusCode::SUCCESS;
65 return StatusCode::SUCCESS;
72 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Gaudi::Property< std::vector< std::string > > m_selFlags
flags that we want to select events with
a guard class for use with ref FilterReporterParams
FilterReporterParams m_filterParams
the filter reporter params
#define ATH_MSG_VERBOSE(x)
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool enabled=true)
do anything we need to do in initialize
Gaudi::Property< std::vector< bool > > m_invertFlags
invert flags
StatusCode makeSelectionReadAccessor(const std::string &expr, std::unique_ptr< ISelectionReadAccessor > &accessor, bool defaultToChar)
make the ISelectionReadAccessor for the given name
const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID id)
Returns an attribute accessor corresponding to an AttributeID.
Class describing the basic event information.
virtual StatusCode finalize() final
virtual StatusCode initialize() final
virtual StatusCode execute() final
std::vector< std::unique_ptr< ISelectionReadAccessor > > m_accessors
a vector of accessors to read the flags