ATLAS Offline Software
IAthenaEvtLoopPreSelectTool.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 ATHENAKERNEL_IATHENAEVTLOOPPRESELECTTOOL_H
6 #define ATHENAKERNEL_IATHENAEVTLOOPPRESELECTTOOL_H
7 
13 // Gaudi
14 #include "GaudiKernel/IAlgTool.h"
15 
20 class EventIDBase;
21 
22 class IAthenaEvtLoopPreSelectTool : virtual public IAlgTool {
23 
24 public:
25 
26  static const InterfaceID& interfaceID() {
27  static const InterfaceID IID_IAthenaEvtLoopPreSelectTool ("IAthenaEvtLoopPreSelectTool", 1, 0 );
28  return IID_IAthenaEvtLoopPreSelectTool;
29  }
30 
31 
33  virtual StatusCode initialize() = 0;
35  virtual bool passEvent(const EventIDBase& pEvent) = 0;
37  virtual StatusCode finalize() = 0;
38 };
39 
40 #endif
IAthenaEvtLoopPreSelectTool
This class provides the interface for AthenaEvtLoopPreSelectTool classes used by AthenaEventLoopMgr.
Definition: IAthenaEvtLoopPreSelectTool.h:22
IAthenaEvtLoopPreSelectTool::finalize
virtual StatusCode finalize()=0
Finalize AlgTool.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAthenaEvtLoopPreSelectTool::passEvent
virtual bool passEvent(const EventIDBase &pEvent)=0
called for each event to decide if the event should be passed to the EventSelector
IAthenaEvtLoopPreSelectTool::initialize
virtual StatusCode initialize()=0
Initialize AlgTool.
IAthenaEvtLoopPreSelectTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IAthenaEvtLoopPreSelectTool.h:26