ATLAS Offline Software
ISelectorCore.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 // Dear emacs, this is -*-c++-*-
6 #ifndef ANALYSISUTILS_ISELECTORCORE_H
7 #define ANALYSISUTILS_ISELECTORCORE_H
8 
23 #include "AraTool/AraToolBase.h"
25 
26 static const InterfaceID IID_ISelectorCore("ISelectorCore", 1, 0);
27 
28 class ISelectorCore : virtual public AraToolBase
29 {
30  public:
31  ISelectorCore(PropertyMgr *pmgr=0);
32 
33  virtual ~ISelectorCore() {}
34 
36  static const InterfaceID& interfaceID() { return IID_ISelectorCore; };
37 
40  {
41  return StatusCode::SUCCESS;
42  }
43 
45  virtual StatusCode finalize()
46  {
47  return StatusCode::SUCCESS;
48  }
49 
50  // This should be pure virtual, but I'm afraid the ARA wrapper will try to instiate it.
51  virtual bool accept(const INavigable4Momentum *) const {return false;} //=0;
52 
53 };
54 
55 
56 #endif // ANALYSISUTILS_ISELECTORCORE_H
ISelectorCore
Dual use tool (athena/ARA) for any cuts. This is the base class.
Definition: ISelectorCore.h:29
INavigable4Momentum.h
ISelectorCore::~ISelectorCore
virtual ~ISelectorCore()
Definition: ISelectorCore.h:33
ISelectorCore::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations.
Definition: ISelectorCore.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISelectorCore::accept
virtual bool accept(const INavigable4Momentum *) const
Definition: ISelectorCore.h:51
AraToolBase::PropertyMgr
PropertyHolder< CommonMessaging< implements< IAlgTool, IDataHandleHolder, IProperty, IStateful > > > PropertyMgr
Definition: AraToolBase.h:19
AraToolBase.h
INavigable4Momentum
Definition: INavigable4Momentum.h:21
ISelectorCore::ISelectorCore
ISelectorCore(PropertyMgr *pmgr=0)
Definition: ISelectorCore.cxx:7
AraToolBase
Definition: AraToolBase.h:17
ISelectorCore::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: ISelectorCore.h:36
ISelectorCore::finalize
virtual StatusCode finalize()
Gaudi Service Interface method implementations.
Definition: ISelectorCore.h:45