ATLAS Offline Software
IParticleSelector.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef ANALYSISUTILS_IPARTICLESELECTOR_H
17 #define ANALYSISUTILS_IPARTICLESELECTOR_H
18 
23 #include "GaudiKernel/ToolHandle.h"
24 
25 
70 class IParticleSelector : public SelectorBase<IParticleSelector>
71 {
72 public:
77 
83  IParticleSelector(const std::string& name, ISvcLocator* pSvcLocator);
84 
85 
87  virtual StatusCode initialize();
88 
89 
94  bool accept(const IParticleLink& link);
95 
96 
101  bool accept(const Contained* part);
102 
103 
104 private:
106  ToolHandleArray< ISelector > m_selectorHandles;
107 };
108 
109 
110 #endif // not ANALYSISUTILS_IPARTICLESELECTOR_H
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
IParticleSelector::Container
IParticleContainer Container
Definition: IParticleSelector.h:73
IParticleSelector::Contained
IParticle Contained
Definition: IParticleSelector.h:74
IParticleSelector::accept
bool accept(const IParticleLink &link)
Test to see if a particle passes the selection.
Definition: IParticleSelector.cxx:54
ISelector.h
SelectorBase
Definition: SelectorBase.h:36
IParticleSelector
A Selector class with IParticleContainer.
Definition: IParticleSelector.h:71
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
IParticleSelector::Links
IParticleLinks Links
Definition: IParticleSelector.h:75
IParticleSelector::initialize
virtual StatusCode initialize()
Standard Gaudi initialize() method.
Definition: IParticleSelector.cxx:42
IParticleSelector::IParticleSelector
IParticleSelector(const std::string &name, ISvcLocator *pSvcLocator)
Standard Gaudi algorithm constructor.
Definition: IParticleSelector.cxx:23
IParticleSelector::Link
IParticleLink Link
Definition: IParticleSelector.h:76
IParticleContainer.h
IParticleSelector::m_selectorHandles
ToolHandleArray< ISelector > m_selectorHandles
Property: List of additional selection tools.
Definition: IParticleSelector.h:106
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
SelectorBase.h