ATLAS Offline Software
InDetHaloSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // InDetHaloSelector.h
7 // Header file for InDetHaloSelector
9 // (c) ATLAS Detector software
11 
12 #ifndef TRKVALTOOLS_HALOSELECTOR_H
13 #define TRKVALTOOLS_HALOSELECTOR_H
14 
16 #include "HepPDT/ParticleDataTable.hh"
18 
19 namespace Trk {
20 
25  class InDetHaloSelector : virtual public IGenParticleSelector, public AthAlgTool {
26  public:
27 
28  InDetHaloSelector(const std::string& type, const std::string& name,
29  const IInterface* parent);
31  virtual StatusCode initialize();
32  virtual StatusCode finalize();
33 
36  virtual std::vector<HepMC::ConstGenParticlePtr>*
37  selectGenSignal (const McEventCollection*) const;
38 
39  private:
40  const HepPDT::ParticleDataTable* m_particleDataTable;
41 
42  };
43 
44 } // end namespace
45 #endif
Trk::InDetHaloSelector::selectGenSignal
virtual std::vector< HepMC::ConstGenParticlePtr > * selectGenSignal(const McEventCollection *) const
main method performing the genparticle selection; it works on the entire collection.
Definition: InDetHaloSelector.cxx:55
IGenParticleSelector.h
Trk::InDetHaloSelector::initialize
virtual StatusCode initialize()
initialize
Definition: InDetHaloSelector.cxx:34
Trk::InDetHaloSelector::finalize
virtual StatusCode finalize()
Definition: InDetHaloSelector.cxx:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
Trk::InDetHaloSelector::~InDetHaloSelector
~InDetHaloSelector()
Definition: InDetHaloSelector.h:30
Trk::InDetHaloSelector::InDetHaloSelector
InDetHaloSelector(const std::string &type, const std::string &name, const IInterface *parent)
Definition: InDetHaloSelector.cxx:21
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
Trk::InDetHaloSelector::m_particleDataTable
const HepPDT::ParticleDataTable * m_particleDataTable
Definition: InDetHaloSelector.h:40
Trk::InDetHaloSelector
Definition: InDetHaloSelector.h:25
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Trk::IGenParticleSelector
provides the interface for tools to select generated particles
Definition: IGenParticleSelector.h:30
AthAlgTool
Definition: AthAlgTool.h:26