|
ATLAS Offline Software
|
Go to the documentation of this file.
21 declareInterface<IAthenaSelectorTool>(
this);
29 const IService* parentSvc =
dynamic_cast<const IService*
>(this->
parent());
31 const IProperty* propertyServer =
dynamic_cast<const IProperty*
>(parentSvc);
32 if (propertyServer != 0) {
33 StringProperty attrKeyProperty(
"AttributeListKey",
"");
42 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
50 return StatusCode::SUCCESS;
57 return StatusCode::FAILURE;
61 unsigned int eventNumber = (*attrList)[
"EventNumber"].data<
unsigned int>();
62 unsigned int runNumber = (*attrList)[
"RunNumber"].data<
unsigned int>();
63 unsigned int magicNumber = (*attrList)[
"MagicNumber"].data<
unsigned int>();
68 if (eventNumber < 10 && magicNumber > 17) {
69 return StatusCode::RECOVERABLE;
73 return StatusCode::SUCCESS;
75 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
84 return StatusCode::SUCCESS;
virtual ~QueryTag()
Destructor.
virtual StatusCode preFinalize()
Called at the beginning of finalize.
virtual StatusCode preNext() const
Called at the beginning of next.
virtual StatusCode postInitialize()
Called at the end of initialize.
virtual StatusCode initialize()
IAthenaSelectorTool Interface method implementations:
virtual StatusCode postNext() const
Called at the end of next.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
This file contains the class definition for the QueryTag class.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
QueryTag(const std::string &type, const std::string &name, const IInterface *parent)
Standard Service Constructor.
virtual StatusCode finalize()
Finalize AlgTool.
Handle class for reading from StoreGate.
SG::ReadHandleKey< AthenaAttributeList > m_attrListKey