ATLAS Offline Software
QueryTag.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAPOOLEXAMPLEALGORITHMS_QUERYTAG_H
6 #define ATHENAPOOLEXAMPLEALGORITHMS_QUERYTAG_H
7 
18 
19 #include <string>
20 
21 namespace AthPoolEx {
22 
26 class QueryTag : public AthAlgTool, virtual public IAthenaSelectorTool {
27 public: // Constructor and Destructor
29  QueryTag(const std::string& type, const std::string& name, const IInterface* parent);
31  virtual ~QueryTag();
32 
33 public:
35  virtual StatusCode initialize();
36  virtual StatusCode postInitialize();
37  virtual StatusCode preNext() const;
38  virtual StatusCode postNext() const;
39  virtual StatusCode preFinalize();
40  virtual StatusCode finalize();
41 
42 private:
44 };
45 
46 } // end AthPoolEx namespace
47 
48 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthPoolEx::QueryTag::~QueryTag
virtual ~QueryTag()
Destructor.
Definition: QueryTag.cxx:24
AthPoolEx::QueryTag::preFinalize
virtual StatusCode preFinalize()
Called at the beginning of finalize.
Definition: QueryTag.cxx:78
IAthenaSelectorTool.h
This file contains the class definition for the IAthenaSelectorTool class.
SG::ReadHandleKey< AthenaAttributeList >
AthenaAttributeList.h
AthPoolEx::QueryTag::preNext
virtual StatusCode preNext() const
Called at the beginning of next.
Definition: QueryTag.cxx:49
AthPoolEx::QueryTag::postInitialize
virtual StatusCode postInitialize()
Called at the end of initialize.
Definition: QueryTag.cxx:45
AthPoolEx::QueryTag::initialize
virtual StatusCode initialize()
IAthenaSelectorTool Interface method implementations:
Definition: QueryTag.cxx:27
AthPoolEx::QueryTag::postNext
virtual StatusCode postNext() const
Called at the end of next.
Definition: QueryTag.cxx:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthPoolEx::QueryTag
This class provides an example for reading with a ISelectorTool to veto events on AttributeList.
Definition: QueryTag.h:26
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AthPoolEx::QueryTag::QueryTag
QueryTag(const std::string &type, const std::string &name, const IInterface *parent)
Standard Service Constructor.
Definition: QueryTag.cxx:19
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthPoolEx
Definition: PassNoneFilter.h:16
AthPoolEx::QueryTag::finalize
virtual StatusCode finalize()
Finalize AlgTool.
Definition: QueryTag.cxx:82
AthAlgTool
Definition: AthAlgTool.h:26
AthPoolEx::QueryTag::m_attrListKey
SG::ReadHandleKey< AthenaAttributeList > m_attrListKey
Definition: QueryTag.h:43
IAthenaSelectorTool
This class provides the interface for AthenaSelectorTool classes used by AthenaEventSelector.
Definition: IAthenaSelectorTool.h:20