ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ISelectorCore Class Reference

Dual use tool (athena/ARA) for any cuts. This is the base class. More...

#include <ISelectorCore.h>

Inheritance diagram for ISelectorCore:
Collaboration diagram for ISelectorCore:

Public Types

typedef PropertyHolder< CommonMessaging< implements< IAlgTool, IDataHandleHolder, IProperty, IStateful > > > PropertyMgr
 

Public Member Functions

 ISelectorCore (PropertyMgr *pmgr=0)
 
virtual ~ISelectorCore ()
 
virtual StatusCode initialize ()
 Gaudi Service Interface method implementations. More...
 
virtual StatusCode finalize ()
 Gaudi Service Interface method implementations. More...
 
virtual bool accept (const INavigable4Momentum *) const
 
template<class TYPE >
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
 
PropertyMgrgetPropertyMgr ()
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 AlgTool interface methods. More...
 

Protected Member Functions

bool runningARA () const
 

Private Attributes

PropertyMgrm_propertyMgr
 
bool m_runningARA
 

Detailed Description

Dual use tool (athena/ARA) for any cuts. This is the base class.

Author
Amir Farbin amir..nosp@m.farb.nosp@m.in@ce.nosp@m.rnSP.nosp@m.AMNOT.nosp@m..ch
Karsten Koeneke karst.nosp@m.en.k.nosp@m.oenek.nosp@m.e@ce.nosp@m.rnSPA.nosp@m.MNOT.nosp@m..ch
Date
June 2009

Definition at line 28 of file ISelectorCore.h.

Member Typedef Documentation

◆ PropertyMgr

typedef PropertyHolder<CommonMessaging<implements<IAlgTool, IDataHandleHolder, IProperty, IStateful> > > AraToolBase::PropertyMgr
inherited

Definition at line 19 of file AraToolBase.h.

Constructor & Destructor Documentation

◆ ISelectorCore()

ISelectorCore::ISelectorCore ( PropertyMgr pmgr = 0)

Definition at line 7 of file ISelectorCore.cxx.

7  : AraToolBase(pmgr) {
8 
9 
10  }

◆ ~ISelectorCore()

virtual ISelectorCore::~ISelectorCore ( )
inlinevirtual

Definition at line 33 of file ISelectorCore.h.

33 {}

Member Function Documentation

◆ accept()

virtual bool ISelectorCore::accept ( const INavigable4Momentum ) const
inlinevirtual

Reimplemented in KinematicSelectorCore, and ElectronIDSelectorCore.

Definition at line 51 of file ISelectorCore.h.

51 {return false;} //=0;

◆ declareProperty()

template<class TYPE >
Gaudi::Details::PropertyBase * AraToolBase::declareProperty ( const std::string &  name,
TYPE value,
const std::string &  doc = "none" 
)
inlineinherited

Definition at line 51 of file AraToolBase.h.

55 {
56 
57  if(m_runningARA) {
58  } else {
59  return m_propertyMgr->declareProperty(name, value, doc);
60  }
61 
62  return 0;
63 }

◆ finalize()

virtual StatusCode ISelectorCore::finalize ( )
inlinevirtual

Gaudi Service Interface method implementations.

Reimplemented in ElectronIDSelectorCore, and KinematicSelectorCore.

Definition at line 45 of file ISelectorCore.h.

46  {
47  return StatusCode::SUCCESS;
48  }

◆ getPropertyMgr()

PropertyMgr* AraToolBase::getPropertyMgr ( )
inlineinherited

Definition at line 43 of file AraToolBase.h.

43 {return m_propertyMgr;}

◆ initialize()

virtual StatusCode ISelectorCore::initialize ( )
inlinevirtual

Gaudi Service Interface method implementations.

Reimplemented in ElectronIDSelectorCore, and KinematicSelectorCore.

Definition at line 39 of file ISelectorCore.h.

40  {
41  return StatusCode::SUCCESS;
42  }

◆ interfaceID()

static const InterfaceID& ISelectorCore::interfaceID ( )
inlinestatic

AlgTool interface methods.

Definition at line 36 of file ISelectorCore.h.

36 { return IID_ISelectorCore; };

◆ runningARA()

bool AraToolBase::runningARA ( ) const
inlineprotectedinherited

Definition at line 22 of file AraToolBase.h.

22 { return m_runningARA; }

Member Data Documentation

◆ m_propertyMgr

PropertyMgr* AraToolBase::m_propertyMgr
privateinherited

Definition at line 25 of file AraToolBase.h.

◆ m_runningARA

bool AraToolBase::m_runningARA
privateinherited

Definition at line 26 of file AraToolBase.h.


The documentation for this class was generated from the following files:
AraToolBase::m_runningARA
bool m_runningARA
Definition: AraToolBase.h:26
AraToolBase::AraToolBase
AraToolBase(PropertyMgr *pmgr=0)
Definition: AraToolBase.cxx:7
athena.value
value
Definition: athena.py:122
AraToolBase::m_propertyMgr
PropertyMgr * m_propertyMgr
Definition: AraToolBase.h:25
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195